 /*
    Theme Name: Inside Salk
    Template: blocksy 
    Description: A custom child theme for Salk Institute.
    Author: Salk Institute
    Version: 1.0.0
 */
 /* ========================= DEFAULTS ========================= */
body,p,label,figcaption,.wp-block-quote,.wp-block-pullquote,.ct-label,.site-title,.entry-meta,.ct-menu-badge,.entry-excerpt,.ct-post-title,.ct-breadcrumbs,.ct-header-text,.ct-product-sku,.ct-product-title,.ct-woo-card-stock,.author-box-bio,.author-box-name,.ct-contact-info,.site-description,.page-description,.mobile-menu a,.menu .ct-menu-link,.comment-reply-title,.ct-footer-copyright,.ct-language-switcher,:where(pre,code,samp,kbd),.onsale,.out-of-stock-badge,[class*=ct-woo-badge-],:is(.entry-summary,[data-products],.ct-trending-block,.ct-added-to-cart-product) .price,.ct-waitlist-message,.woocommerce-tabs .tabs,.woocommerce-tabs .ct-accordion-heading,.woocommerce-result-count,.ct-header-account-dropdown,.ct-module-title:is(p,span),.related-entry-title:is(p,span),.woocommerce-loop-product__title:is(p,span),.woocommerce-loop-category__title:is(p,span),.ct-shortcuts-bar,.ct-widget>*,.ct-dynamic-data-layer,.ct-dynamic-filter,.ct-search-results,.tutor-ratings,.tutor-meta>*,.tutor-course-details-title,.tutor-course-details-actions>a,.ct-language-switcher ul[data-placement] { 
    font-family: "proxima-nova", sans-serif !important;
}
.clear { clear: both; }
.wp-block-quote { 
    border-inline-start: 3px solid #dddddd;
    margin-bottom: 20px;
}

/* ========================= HEADER ========================= */
.site-title {
    margin-bottom: 0;
    float: left;
}
.site-description {
    margin: 15px 0 0 15px !important;
    float: left;
}
.header-archives {
    text-decoration: none;
    margin-right: 10px;
}
.header-archives img {
    margin-right: 5px;;
}
/* ========================= FOOTER ========================= */
a.footer-sub-btn {
    border: 1px solid #333333;
    color: #333333;
    padding: 8px 15px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    margin-top: 10px;
    display: inline-block;
}
a.footer-sub-btn:hover {
    color: #2f9ead;
}
.footer-archives {
    text-decoration: none;
    margin: 0 10px 10px 0;
    display: inline-block;
}
.footer-archives img {
    margin-right: 5px;;
}
/* ========================= HOMEPAGE ======================== */

.in-this-issue-wrapper, .discoveries-wrapper, .spotlight-wrapper, .home-footer-posts-wrapper {
    padding: 3em 0;
}

/* ---------- In This Issue ---------- */
.home-issue-title {
    background-color: #e2dfde;
    padding: 10px 0;
    margin-top: -10px;
}
.home-issue-title h2 {
    color: #90877e;
    text-transform: uppercase;
    font-style: italic;
    font-size: 18px;
}
.in-this-issue h3 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #333333;
    line-height: 36px;
}
.in-this-issue h3 a {
    color: #333333;  
}
.in-this-issue h3 a:hover {
    color: #2f9ead;  
}
.in-this-issue .primary-category {
    color: #808080;
    text-transform: uppercase;
    font-weight: 700;
}
.in-this-issue .category-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.four-col .in-this-issue .category-post {
    display: grid;
    grid-template-columns: repeat(auto-fit, 260px);
    padding: 10px;
    background: #fff;
    align-items: stretch;
}
.in-this-issue .category-post {
    /* flex: 1 1 calc(33.333% - 24px); 3 per row
    display: flex;
    flex-direction: column; */
    display: grid;
    grid-template-columns: repeat(auto-fit, 360px);
    padding: 10px;
    background: #fff;
}
.in-this-issue .post-category a {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: #808080;
    display: block;
    margin-bottom: 20px;
}
.in-this-issue .category-post-card {
    display: flex;
    flex-direction: column;
}
/* spacing between stacked items */
.in-this-issue .category-post-card > * {
  margin-bottom: 12px;
}
/* remove last margin */
.in-this-issue .category-post-card > *:last-child {
  margin-bottom: 0;
}
.in-this-issue .post-summary span {
    color: #2f9ead;
}

/* ---------- President's Letter ---------- */
.presidents-letter-wrapper {
    background-color: #fdf4e5;
    color: #90877e;
}
.presidents-letter-wrapper h4 {
    text-transform: uppercase;
    color: #f15a29;
    margin-top: 1em !important;
}
.pres-title {
    font-size: 11px;;
}
.presidents-letter-wrapper figure img {
    margin-top: -40px;
}
/* ---------- Discoveries ---------- */
.discoveries-wrapper {
    background-image: url('/wp-content/uploads/sites/4/2026/01/home-section-discoveries-bg.jpg');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.discoveries-wrapper h2 {
    color: #fcb94d;
    text-transform: uppercase;
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    font-size: 25px;
}

.discoveries-featured-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 25px;
    background-color: #ffffff;
}

.discoveries-featured-item {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 20px;
    align-items: start;
}

.discoveries-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.discoveries-featured-title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.2;
}

.discoveries-featured-title a {
    text-decoration: none;
    color: #90877e;
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
}

.discoveries-featured-excerpt {
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .discoveries-featured-item {
        grid-template-columns: 1fr;
    }
}

.category-discoveries-home .category-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, 380px);
    gap: 30px;
    justify-content: center; /* centers leftover space */
}
.category-discoveries-home .category-post {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #ddd;
    background: #fff;
}
.category-discoveries-home h3 {
    font-size: 18px;
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    padding-top: 10px;
    border-top: 3px solid #fcb94d;
    margin: 10px 0;
    line-height: 24px;
}
.category-discoveries-home h3, .category-discoveries-home h3 a {
    color: #90877e;
}
.category-discoveries-home h3 a:hover {
    color: #fcb94d;
}
.category-discoveries-home .post-category {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}
.primary-category-image img {
    width: 80px;
    height: 80px;
    margin-right: 10px;
}
.category-discoveries-home .primary-category-description {
    display: inline;
    float: right;
}
.category-discoveries-home .post-category a {
    display: inline;
    float: left;
}
.category-discoveries-home .primary-category-description img {
    width: 80px !important;
    display: inline;
    margin-right: 10px;
}
.category-discoveries-home .post-featured-image img, .category-spotlight .post-featured-image img {
    width: 100%;
}
.category-post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-read-more {
    margin-top: auto;
    padding-top: 10px;
}
/* ---------- Spotlight ---------- */
.spotlight-wrapper h2 {
    color: #5ea39a;
    text-transform: uppercase;
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    font-size: 25px;
}
.category-spotlight .category-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, 280px);
    gap: 24px;
    justify-content: center; /* centers leftover space */
}
.category-spotlight .category-post {
    display: flex;
    flex-direction: column;
    background: #fff;
}
.category-spotlight h3 {
    font-size: 18px;
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    padding-top: 10px;
    margin: 10px 0;
    line-height: 24px;
}
.category-spotlight h3, .category-spotlight h3 a {
    color: #5ea39a;
}
.category-spotlight h3 a:hover {
    color: #90877e;
}
/* ---------- Home Footer ---------- */
.two-col .category-home-footer-posts .category-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, 580px);
    gap: 30px;
    justify-content: center; /* centers leftover space */
}
.category-home-footer-posts .category-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, 380px);
    gap: 24px;
    justify-content: center; /* centers leftover space */
}
.category-home-footer-posts .category-post {
    display: flex;
    flex-direction: column;
    background: #fff;
}
.category-home-footer-posts .post-category a {
    color: #333333;
    text-transform: uppercase;
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    font-size: 25px;
    margin-bottom: 10px;
    display: block;
}
.category-home-footer-posts .post-category a:hover {
    color: #2f9ead;
}
.category-home-footer-posts h3 {
    font-size: 18px;
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    padding-top: 10px;
    margin: 10px 0;
    line-height: 24px;
}
.category-home-footer-posts h3 a {
    color: #333333;
}
.category-home-footer-posts h3 a:hover {
    color: #90877e;
}
.category-home-footer-posts .post-featured-image img {
    width: 100%;
}
/* ============================== ARTICLE PAGE ============================== */
.article-title {
   margin-top: 20px;
}
.artcile-content h2 {
    font-weight: 500;
    font-family: "proxima-nova", sans-serif;
}
.artcile-content h3 {
    font-weight: 600;
    font-family: "proxima-nova", sans-serif;
}
.article-sub-header {
    background-color: #e3dfde;
    padding: 1em 0;
}
.article-category {
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    float: left;
}
.article-social-menu {
    float: right;
}
.artcile-byline {
    margin: 1em 0;
}
.artcile-byline img {
    width: 30px;
    height: 30px;
    border-radius: 50px;
    margin: 0 5px;
}
.artcile-content summary {
    display: none;
}

/* ======================= DISCOVERIES CATEGORY PAGES ======================= */
.discoveries-hero-wrap {
    background-image: url('/wp-content/uploads/2026/03/discoveries-hero-bg-v2.jpg');
    padding: 4em 0;
}
.discoveries-hero-wrap .page-title {
    color: #ffffff;
}
.discoveries-cat-menu {
    background-color: #e3dfde;
    padding: 1em 0;
}
.discoveries-cat-menu ul {
    margin: 0;
    padding: 0;
}
.discoveries-cat-menu a {
    color: #333333;
}
.discoveries-cat-menu a:hover {
    color: #2f9ead;
    text-decoration: underline;
}
.discoveries-cat-menu .active a {
    color: #2f9ead;
    text-decoration: underline;
    font-weight: 700;
}
.discoveries-cat-menu li {
    list-style: none;
    float: left;
    margin-right: 40px;
}
.cat-menu-toggle {
    display: none;
    width: 100%;
    padding: 12px 16px;
    background: #000;
    color: #fff;
    border: none;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
}
.category-sub-menu .parent {
    font-weight: 700;
    text-transform: uppercase;
}
.category-sub-menu .active {
    font-weight: 600;
}
.ct-container.category-info {
    padding: 1em 0;
}
.discoveries-category-image {
    width: 9%;
    float: left;
    margin-right: 20px;
}
.discoveries-category-description {
    width: 85%;
    float: left;
    padding-top: 20px;;
}
p.discoveries-category-title {
    margin: 0;
    font-weight: 700;
}
.discoveries-cat .entry-card {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #cccccc;
}
.discoveries-cat h2.entry-title {
    font-size: 24px;
    font-weight: 600;
}
.discoveries-cat h2.entry-title a {
    color: #333333;
}
.entry-posts details > summary:first-of-type {
    list-style: none;
}

/* ========================== SPOTLIGHT PAGE ========================== */
.spotlight-hero-wrap {
    background-image: url('/wp-content/uploads/2026/03/spotlight-top-banner.jpg');
    padding: 4em 0;
}
.spotlight-hero-wrap .page-title {
    color: #ffffff;
}
.spotlight-articles-list h2 {
    border-top: 3px solid #2f9ead;
    padding-top: 20px;
    font-size: 28px;
}
.spotlight-articles-list summary {
    display: none;
}
.spotlight-articles-list .article-excerpt {
    margin: 1em 0 3em 0;
}
/* ============ SLICK SLIDER ============ */
.slick-post-slider {
    visibility: hidden;
}
.slick-initialized.slick-post-slider {
    visibility: visible;
}
.slick-slide {
    position: relative;
    outline: none;
}
.slick-slide img {
    width: 100%;
    height: auto;
    display: block;
}
.slide-overlay {
    position: absolute;
    bottom: 20%;
    left: 14%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px;
    font-size: 1.2em;
    width: 40%;
}
.slide-overlay h1 {
    color: #ffffff;
    text-align: left;
}
.slick-prev:before, .slick-next:before {
    color: #ffffff;
    font-size: 40px;
}
.slick-prev {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 10;
}
.slick-next {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    z-index: 10;
}

/* Styling for all dots */
.slick-dots {
    position: absolute;
    bottom: 25px;
    width: 100%;
    text-align: center;
    z-index: 10;
}
.slick-dots li button {
    font-size: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 5px;
    cursor: pointer;
}
.slick-dots li button:before {
  font-size: 10px; /* Adjust size of the default dot symbol */
  opacity: 0.5;   /* Change transparency */
  color: blue;    /* Change color of inactive dots */
  content: '•';   /* You can change the character, use unicode, or remove for custom shapes */
}

/* Styling for the active dot */
.slick-dots li.slick-active button:before {
  opacity: 1;      /* Make the active dot solid */
  color: red;      /* Change color of the active dot */
}

/* To create custom circular dots with background-color */
.slick-dots li button {
  width: 15px;      /* Set width */
  height: 15px;     /* Set height */
  background-color: #ccc; /* Inactive color */
  border-radius: 50%; /* Make it a circle */
  border: none;
  font-size: 0;     /* Hide the default '.' text */
  text-indent: -9999px; /* Hide text fallback */
}

.slick-dots li.slick-active button {
  background-color: #333; /* Active color */
}
.slick-dotted.slick-slider {
    margin-bottom: 0;
}

/* ================== MOBILE ================== */
@media (max-width: 768px) {
    /* -----Slick Slider----- */
    .slide-overlay {
        position: relative;
        display: block;
        text-align: left;
        width: 100%;
        bottom: 0;
        left: 0;
        padding: 10px 20px;
    }
    .slide-overlay span {
        font-size: 0.8em;
    }
    .slide-overlay h1 {
        font-size: 1em;
    }
    /* -----Homepage----- */
    .in-this-issue-wrapper, .discoveries-wrapper, .spotlight-wrapper, .home-footer-posts-wrapper {
        padding: 2em 0;
    }
    .home-issue-title {
        margin-top: 0;
    }
    .home-issue-title h2 {
        margin-left: 20px !important;
    }
    .in-this-issue .category-post {
        padding: 10px 20px;
    }
    .four-col .in-this-issue .category-post, .category-discoveries-home .category-posts, .category-spotlight .category-posts, .two-col .category-home-footer-posts .category-posts {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        padding: 10px 20px;
    }
    .presidents-letter-wrapper .wp-block-columns {
        padding: 0 20px;;
    }
    .presidents-letter-wrapper figure img {
        margin-top: 10px;
    }
    .discoveries-featured-wrapper {
        width: 92% !important;
    }
    .discoveries-wrapper h2, .spotlight-wrapper h2 {
        margin-left: 25px !important;
    }
    /* -----Article----- */
    .alignright {
        margin: 20px 0 !important;
        margin-inline-start: 0 !important;
    }
    .wp-block-media-text__media {
        margin-bottom: 20px !important;
    }
    /* -----Discoveries mobile menu----- */
    .cat-menu-toggle {
        display: block;
    }
    .category-sub-menu {
        display: none;
        width: 100%;
        background: #f5f5f5;
        margin-top: 5px;
    }
    .category-sub-menu.open {
        display: block;
    }
    .category-sub-menu li {
        display: block;
        border-bottom: 1px solid #ddd;
    }
    .category-sub-menu li a {
        display: block;
        padding: 12px 16px;
    }
    .category-sub-menu li.parent a {
        font-weight: bold;
    }
}