/* LOL Customizations
/* --------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Cantata+One&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');
/* Try to use local at some point... */
/*@font-face {*/
/*    font-family: "Cantata One", serif;*/
/*    src: url('../fonts/CantataOne-Regular.ttf') format('ttf');*/
/*    font-display: swap;*/
/*}*/

header.gh-head {
    background-color: var(--color-brand-primary);
    color: var(--color-brand-secondary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header.gh-head > nav.gh-head-inner {
    grid-template-columns: 1fr auto auto;
    grid-gap: 0;
    color: var(--color-brand-secondary);
}

/* This is the mobile banner logo */
header.gh-head > nav.gh-head-inner > .gh-head-brand > img {
    width: 200px;
}

/* This is the non-mobile banner logo */
header.gh-head > nav.gh-head-inner > .gh-head-menu > img {
    width: 300px;
    margin-right: 20px;
}

/* These hide the images specific to the screen size */
@media (min-width: 1024px) {
    header.gh-head > nav.gh-head-inner > .gh-head-brand > img {
        display: none;
    }
}

@media (max-width: 650px) {
    /*header.gh-head > nav.gh-head-inner > .gh-head-menu > img {*/
    /*    display: none;*/
    /*}*/
}

header.gh-head > nav.gh-head-inner > .gh-head-menu .nav {
    color: var(--color-brand-secondary);
}

header.gh-head > nav.gh-head-inner > .gh-head-menu .nav > li {
    margin-right: 2vmin;
}

@media (max-width: 900px) {
    .gh-head-open #gh-head .gh-head-inner {
        grid-template-rows: auto 1fr 250px;
    }

    .gh-head-menu {
        position: relative;
        top: -113px;
    }
}

.gh-post-authors {
    margin: 60px 0;
}

/* pagination overrides */
.gh-readmore-prev {
    justify-content: flex-start;
    text-align: left;
}

.gh-readmore-next {
    justify-content: flex-end;
    text-align: right;
}

.gh-readmore svg {
    height: 0.5em;
}

.gh-readmore a {
    justify-content: flex-start;
    align-items: center;
}

.gh-readmore .lol-page-text-block {
    display: flex;
    flex-direction: column;
}

.gh-readmore .lol-page-text-block.left-side {
    margin-left: 10px;
    align-items: flex-start;
}

.gh-readmore .lol-page-text-block.right-side {
    margin-right: 10px;
    align-items: flex-end;
}

.gh-readmore .lol-page-text-block h4 {
    font-size: 1.75rem;
}

.gh-readmore .lol-page-text-block time {
    font-size: 1.6rem;
    font-family: var(--font-serif);
}

.gh-readmore-next, .gh-readmore-prev {
    display: flex;
}

/* This stuff should prob go here, for all pages */
.gh-main {
    padding: 0 4vmin;
}

.gh-content {
    margin-bottom: 60px;
    margin-top: 60px;
}

.gh-header {
    padding: 60px 0 0 0;
}

.lol-container {
    margin: 0 auto;
    max-width: var(--page-max-width);
    width: 100%;
}

.lol-container .gh-feature-image {
    width: 40%;
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
    margin-top: 0;
}

.lol-container .gh-feature-image img {
    filter: drop-shadow(0px 2px 2px var(--color-brand-primary));
}

.lol-container.post .gh-title {
    margin-top: 60px;
}


/* This stuff may belong in home, or here, not sure */
.three-box {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 300px;
    justify-content: space-evenly;
    padding: 75px 200px;
    margin-top: 0 !important;
}

.three-box .lol-grid-item {
    min-width: calc(100% / 3);
    max-width: calc(100% / 3);
    padding: 20px 60px;
    text-align: center;
}

.three-box .lol-grid-item div {
    text-align: left;
    font-size: clamp(1.05em,2vw,1.55em);
    font-family: var(--font-serif);
}

@media (max-width: 480px) {
    /* Need to hide the navigation's logo, bc we have it in the banner bar */
    .gh-head-menu img {
        display: none;
    }

    .three-box {
        display: block;
        padding: 0;
    }

    .three-box .lol-grid-item {
        min-width: 0;
        max-width: 100%;
        padding: 20px 10px;
    }

    .three-box .lol-grid-item div {
        text-align: center;
    }
}

@media (max-width: 896px) {
    /* Need to hide the navigation's logo, bc we have it in the banner bar */
    .gh-head-menu img {
        display: none;
    }

    .three-box {
        gap: 100px;
        padding: 20px;
    }

    .three-box .lol-grid-item {
        /*min-width: 250px;*/
        padding: 0;
    }

}

@media (max-width: 1400px) {
    .three-box {
        gap: 100px;
        padding: 20px 40px;
    }

    .three-box .lol-grid-item {
        /*min-width: 300px;*/
        padding: 0;
    }

}

/* ***************************************** */

#page-links {
    float: right;
    min-width: 20%;
    align-items: flex-end;
    padding: 20px;
    margin-left: 20px;
    margin-top: 60px;
    font-family: var(--font-serif);
    font-weight: var(--font-normal);
    color: #a7E1CF;
    font-size: 21px;
    line-height: 3rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

#page-links a {
    background: var(--color-brand-secondary);
    padding: 5px;
    border-radius: 5px;
    margin: 5px 0;
    color: var(--color-brand-primary);
    text-decoration: none;
    min-width: 250px;
    text-align: center;
}

.menu-login-button {

}

.menu-account-button {

}

iframe#member-sheet body {
    background: black;
}

/* These duplicate the 'gh-canvas', but that seems to be grid, which we generally don't plan to use */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-header-serif);
    font-weight: var(--font-header-weight);
    color: var(--color-brand-primary);
}

blockquote,
ol,
ul,
dl,
p {
    font-family: var(--font-serif);
    font-weight: var(--font-normal);
    font-style: normal;
    font-size: 2.5rem;
    line-height: 1em;
    color: #5a667a;
}

@media (max-width: 650px) {
    blockquote,
    ol,
    ul,
    dl,
    p {
        font-size: 1.8rem;
    }

    blockquote::before {
        left: -4vmin;
    }
}

.lol-postfeed {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.lol-postfeed .gh-card {
    border: 1px solid #ebebed;
    border-radius: 10px;
    padding: 20px;
}

.lol-postfeed .gh-card .gh-card-content {
    display: flex;
    margin: 0;
    max-width: unset;
    text-align: left;
    gap: 15px
}

.lol-postfeed .gh-card .gh-card-content .card-label {
    width: 35%;
}

.lol-postfeed .gh-card .gh-card-content .card-label h2 {
    margin-bottom: 10px;
}

.lol-postfeed .gh-card .gh-card-content .card-content {
    width: 65%;
}

.lol-postfeed .card-content strong {
    display: inline-block;
    padding: 1px 0;
    padding-top: 15px;
    font-weight: 500;
    box-shadow: 0 -1px 0 0 inset currentColor;
    opacity: 0.75;
}

.lol-postfeed .gh-card-image {
    width: unset;
    /*max-width: 300px;*/
}

/* CTA Styling */
.gh-post-upgrade-cta-content {
    background-color: var(--color-brand-secondary);
}

.gh-post-upgrade-cta-content h2 {
    color: var(--color-brand-primary) !important;
}

.gh-post-upgrade-cta-content p {
    color: var(--color-brand-primary);
}

.gh-post-upgrade-cta-content .gh-portal-close {
    color: var(--color-brand-primary);
}

.lol-footer {
    color: var(--color-brand-secondary);
    font-family: var(--font-serif);
    background: var(--color-brand-primary);
    font-weight: var(--font-normal);
}

.lol-join-cta {
    background: var(--color-brand-primary);
    padding: 15px 20px;
    color: var(--color-brand-secondary);
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.8em;
}

/* Collections Index Theming */
/* Container for the grid */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 30px; /* Space between cards */
    padding: 20px;
}

/* Individual post cards */
.post-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0 10px;
    font-family: var(--font-serif);
    font-weight: var(--font-normal);
    font-size: 1.75rem;
}

/* Card hover effect */
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Post images */
.post-card img {
    margin: 0 auto;
    height: 200px;
    /*object-fit: cover;*/
    display: block;
}

/* Post title */
.post-card h2 {
    font-size: 3rem;
    margin: 15px;
    color: var(--color-brand-primary);
}

/* Post excerpt */
.post-card p {
    font-size: 2rem;
    margin: 0 15px 15px;
    color: var(--color-brand-ternary);
}

.post-card .post-cta {
    color: #AAA;
    width: 100%;
    text-align: right;
}

/* Link styling */
.post-card a {
    text-decoration: none;
    display: block;
    color: inherit;
}

.post-card .title-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.post-card .title-section h2 {
    flex-grow: 1;
}

.post-card .title-section time {
    width: 90px;
}

.annual-reports .inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 8vmin;
}

.annual-reports .historical-listing {
    padding: 20px 0;
}

.annual-reports .historical-listing .report-entry {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-family: var(--font-serif);
    font-weight: var(--font-normal);
    font-size: 2rem;
}

.annual-reports .historical-listing .report-entry a {
    background: var(--color-brand-secondary);
    padding: 5px;
    border-radius: 5px;
    margin: 5px 0;
    color: var(--color-brand-primary);
    text-decoration: none;
    min-width: 250px;
    text-align: center;
}

.annual-reports .historical-listing svg {
    margin-right: 10px;
    height: 0.75em;
}

.full-report-listing {
    text-align: center;
    margin: 20px;
}

.gh-foot-meta .contact-info {
    display: flex;
    justify-content: center;
    gap: 44px;
}

.gh-foot-meta > .contact-info > div > a {
    color: var(--color-brand-secondary);
}

.no-posts {
    margin: auto;
}

.no-posts > h1, .no-posts > p {
    margin: 20px 0;
    text-align: center;
    font-family: var(--font-serif);
}

.no-posts h1 {
    font-family: var(--font-header-serif);
}

.annual-reports .latest-post {
    margin-bottom: 100px;
}

/* Responsive design (2 columns on tablets, 1 column on mobile) */
@media (max-width: 900px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .post-grid {
        grid-template-columns: 1fr;
    }

    .annual-reports .historical-listing {
        display: none;
    }

    .annual-reports .mobile-historical-listing {
        text-align: center;
        margin-top: 30px;
    }
}

@media (min-width: 901px) {
    .annual-reports .mobile-historical-listing {
        display: none;
    }
}


