.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-book-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-family: tenon, Adjusted Arial Fallback, sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.header-book-button:hover {
    background-color: #333;
}

.button-icon {
    display: flex;
    align-items: center;
    margin-right: 8px;
}

.button-icon svg {
    width: 16px;
    height: 16px;
}

/* Tablet responsive adjustments */
@media (max-width: 1024px) {
    .header-right {
        flex-direction: column;
        gap: 15px;
        align-items: flex-end;
    }

    .header-book-button {
        font-size: 13px;
        padding: 6px 10px;
    }

    .button-icon svg {
        width: 15px;
        height: 15px;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .header-book-button {
        font-size: 12px;
        padding: 6px 10px;
    }

    .button-icon svg {
        width: 14px;
        height: 14px;
    }
}

.search-input-container {
    height: 30px;
    padding-left: 30px;
    position: relative
}

.search-input-container:not(.no-button) {
    padding-right: 30px
}

.search-input-container>span {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 30px;
    height: 30px;
    padding: 5px 0
}

.search-input-container>span>svg {
    height: 100%
}

.search-input-container>input[type="submit"] {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 30px;
    height: 30px;
    padding: 5px 0;
    font-family: tenon, Adjusted Arial Fallback, sans-serif;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016.78%2012.2%22%20width%3D%2220%22%20height%3D%2220%22%3E%0A%20%20%3Cpath%20fill%3D%22%23707070%22%20d%3D%22m10.66%2012.2-1.17-1.18%204.12-4.11H0V5.26h13.61L9.49%201.15%2010.66%200l6.13%206.1-6.13%206.11Z%22%2F%3E%0A%3C%2Fsvg%3E");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 65% auto
}

.black-background .search-input-container {
    border-bottom: 1px solid white
}

.black-background .search-input-container>input[type="submit"] {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016.78%2012.2%22%20width%3D%2220%22%20height%3D%2220%22%3E%0A%20%20%3Cpath%20fill%3D%22%23FFF%22%20d%3D%22m10.66%2012.2-1.17-1.18%204.12-4.11H0V5.26h13.61L9.49%201.15%2010.66%200l6.13%206.1-6.13%206.11Z%22%2F%3E%0A%3C%2Fsvg%3E")
}

main .search-input-container {
    border-bottom: 1px solid #707070
}

@media screen and (max-width:480px) {
    .search-form {
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        z-index: 4;
        background: white;
        padding: 10px 25px;
        box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.1);
        transition: all .2s ease;
        opacity: 1;
        visibility: visible;
        transform: translateY(0)
    }

    body.past-threshold.sticky-header .search-form {
        position: fixed;
        top: 45px
    }

    body.past-threshold:not(.sticky-header):not(.at-top) .search-form {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px)
    }

    body.home .container {
        margin-top: 50px
    }
}

.sns-icon-list>a {
    display: inline-block;
    width: 25px;
    height: 25px;
    text-align: center;
    position: relative;
    margin-top: 1rem
}

.sns-icon-list>a:not(:last-child) {
    margin-right: 1rem
}

.sns-icon-list>a.facebook svg {
    height: 27px;
    position: absolute;
    top: -1px;
    left: 0
}

.magazine-cover {
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, .25)
}

magazine-cover-mobile {
    box-shadow: none;
}

.breadcrumbs {
    padding: .6rem 0;
    background-color: #F7F7F7
}

.breadcrumbs a {
    font-size: .9rem;
    font-family: tenon, Adjusted Arial Fallback, sans-serif;
    text-transform: uppercase
}

@media screen and (max-width: 767px) {
    .breadcrumbs {
        padding: 60px 0 20px 0;
    }
}

#community-section {
    margin-left: -1.15rem;
    margin-right: -1.15rem;
    display: flex
}

#community-section>div {
    padding: 1.15rem
}

#community-section>div:nth-child(2) a {
    width: 100%
}

#community-section>div:nth-child(2) a img {
    width: 100%;
    height: auto
}

@media (max-width:1399px) {
    #community-section {
        flex-direction: column
    }

    #community-section>div:nth-child(2) {
        margin-top: 1.15rem;
        display: flex;
        margin-left: -1.15rem;
        margin-right: -1.15rem
    }

    #community-section>div:nth-child(2)>div {
        padding: 1.15rem;
        width: 33.3333333%
    }
}

@media (min-width:1400px) {
    #community-section {
        flex-direction: row;
        align-items: stretch
    }

    #community-section>div:nth-child(1) {
        flex-shrink: 100000
    }

    #community-section>div:nth-child(1) .post-thumb {
        width: 34% !important
    }

    #community-section>div:nth-child(1) .post-list {
        position: relative
    }

    #community-section>div:nth-child(1) .post-list:after {
        content: "";
        display: block;
        width: 1px;
        position: absolute;
        top: 1.15rem;
        right: 0;
        bottom: 1.15rem;
        left: auto;
        background-color: #D6D6D6
    }

    #community-section>div:nth-child(2) {
        width: 25%
    }

    #community-section>div:nth-child(2)>div+div {
        margin-top: 1.15rem
    }
}

#video-section {
    display: flex;
    flex-direction: row;
    margin-top: 1.15rem
}

#video-section .central-story {
    padding-bottom: 1.725rem
}

#video-section>div {
    width: 50%
}

#video-section>div:nth-child(1) {
    padding-right: 1.15rem
}

#video-section>div:nth-child(2) {
    padding-left: 1.15rem
}

#video-section>div:nth-child(2)>.post-list {
    margin-top: -1.15rem
}

#video-section>div:nth-child(2)>.post-list .post-title {
    font-size: 22px !important
}

@media (max-width:1000px) {
    #video-section>div:nth-child(2) .post-thumb {
        display: none
    }
}

#bucket-list-section {
    display: flex;
    flex-direction: row;
    margin-top: 1.15rem
}

#bucket-list-section .central-story {
    padding-bottom: 1.725rem
}

#bucket-list-section>div {
    width: 50%
}

#bucket-list-section>div:nth-child(1) {
    padding-right: 1.15rem
}

#bucket-list-section>div:nth-child(2) {
    padding-left: 1.15rem
}

#bucket-list-section>div:nth-child(2)>.post-list {
    margin-top: -1.15rem
}

#bucket-list-section>div:nth-child(2)>.post-list .post-title {
    font-size: 22px !important
}

@media (max-width:1000px) {
    #bucket-list-section>div:nth-child(2) .post-thumb {
        display: none
    }
}

#top-stories-alt {
    margin-top: 1.15rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

#top-stories-alt img {
    max-width: 100%;
    height: auto;
}

/* Central story container - takes up more space on the left */
#top-stories-alt .central-story-container {
    width: 60%;
    flex-shrink: 0;
}

/* Vertical stories container */
#top-stories-alt .vertical-stories-container {
    width: 40%;
}

/* Desktop layout: 2x2 grid */
#top-stories-alt .vertical-stories-container .desktop-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px auto;
    gap: 4rem 2rem;
    grid-row-gap: 4.1rem;
    height: 100%;
    align-content: space-between;
}

/* Tablet layout: initially hidden */
#top-stories-alt .vertical-stories-container .tablet-layout {
    display: none;
}

/* Individual vertical story styling - only for desktop layout */
#top-stories-alt .vertical-stories-container .desktop-layout .post-link {
    display: flex;
    flex-direction: column;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    #top-stories-alt {
        flex-direction: column;
        gap: 1.5rem;
    }

    #top-stories-alt .central-story-container,
    #top-stories-alt .vertical-stories-container {
        width: 100%;
    }

    /* Hide desktop layout, show tablet layout */
    #top-stories-alt .vertical-stories-container .desktop-layout {
        display: none;
    }

    #top-stories-alt .vertical-stories-container .tablet-layout {
        display: block;
    }
}

.post-link.central-story-carousel {
    position: relative;
    text-align: left;
    width: 100%;
    max-width: 100%;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%;
    /* 3 slides * 100% */
}

.carousel-slide {
    flex: 0 0 33.333%;
    /* Each slide takes 1/3 of the track width */
    width: 33.333%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    padding: 0 10px;
    box-sizing: border-box;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Prevent initial animation on page load */
.carousel-slide:first-child {
    opacity: 1;
    transform: scale(1);
}

.carousel-slide:first-child.active {
    transition: none;
    /* Remove transition for first slide on initial load */
}

/* Disable all transitions during initialization */
.central-story-carousel.carousel-initializing .carousel-slide {
    transition: none !important;
}

.central-story-carousel.carousel-initializing .carousel-track {
    transition: none !important;
}

.carousel-slide-content {
    position: relative;
    width: 100%;
}

.carousel-image-link {
    display: block;
    position: relative;
}

.carousel-image-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}


.carousel-slide img {
    width: 100%;
    height: 520px;
    /* Set a fixed height for consistency */
    max-height: 520px;
    /* Ensure images don't exceed this height */
    object-fit: cover;
    /* Crop images to fit while maintaining aspect ratio */
    object-position: center;
    /* Center the cropped area */
    display: block;
}

/* Overlay content positioned on top of image */
.carousel-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px 25px 25px;
    z-index: 2;
}

.carousel-overlay-content .post-category {
    display: block;
    margin-bottom: 10px;
}

.carousel-overlay-content .post-category a {
    font-size: 14px;
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.1s ease;
    font-family: tenon, Adjusted Arial Fallback, sans-serif;
}

.carousel-overlay-content .post-category a:hover {
    color: #E0E0E0;
}

.carousel-overlay-content .post-title {
    font-size: 34px;
    margin: 0;
    color: white;
    line-height: 1.2;
    transition: color 0.1s ease;
}

.carousel-overlay-content .post-title:hover {
    color: #E0E0E0;
}

.carousel-overlay-content a {
    text-decoration: none;
}

/* Dots indicator - normal document flow */
.carousel-dots {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin: 20px 10px 10px 10px;
    padding: 0;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: #000000;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: #000000;
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-slide img {
        height: 300px;
        /* Smaller height for mobile */
        max-height: 300px;
    }

    .carousel-overlay-content {
        padding: 20px 15px 15px 15px;
    }

    .carousel-overlay-content .post-title {
        font-size: 28px;
    }

    .carousel-overlay-content .post-category a {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .carousel-slide img {
        height: 250px;
        /* Even smaller for very small screens */
        max-height: 250px;
    }

    .carousel-overlay-content .post-title {
        font-size: 24px;
    }
}

/* Animation for slide transitions */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.carousel-slide.slide-in {
    animation: slideIn 0.5s ease-out;
}

.post-link.vertical-alt {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-link.vertical-alt .post-title {
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 0;
    padding: 0.5rem 0 0.3rem;
    color: black;
    transition: color 0.1s ease;
    flex-grow: 1;
}

.post-link.vertical-alt .post-author {
    display: inline-block;
    font-size: 12px;
    line-height: 1.2;
}

.post-link.vertical-alt img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 0.7rem;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.post-link.vertical-alt .post-author a {
    font-size: 11px;
    color: #eb2323;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.post-link.vertical-alt .post-author a:hover {
    color: #5a5a5a;
}

.post-link.vertical-alt .post-title:hover {
    color: #5a5a5a;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .post-link.vertical-alt .post-title {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .post-link.vertical-alt .post-title {
        font-size: 14px;
    }

    .post-link.vertical-alt .post-author a {
        font-size: 10px;
    }
}

.post-list.one-large-three-small {
    display: flex;
    flex-direction: column
}

.post-list.one-large-three-small>div:nth-child(1) {
    border-bottom: 1px solid #D6D6D6;
    margin-bottom: 1.15rem
}

.post-list.one-large-three-small>div:nth-child(2) {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin-left: -1.15rem;
    margin-right: -1.15rem
}

.post-list.one-large-three-small>div:nth-child(2) .post-link {
    width: 33.33333333%;
    padding-left: 1.15rem;
    padding-right: 1.15rem
}

.post-list.one-large-three-small>div:nth-child(2) .post-link+.post-link {
    border-left: 1px solid #D6D6D6
}

.post-link.horizontal {
    display: flex;
    align-items: center
}

.post-link.horizontal .post-title {
    margin-bottom: 0;
    color: black;
    margin-top: 12px;
    transition: color 0.2s ease;
}

.post-link.horizontal.centered {
    padding: 1.15rem 0
}

.post-link.horizontal.centered>div:nth-child(1) {
    width: 45%
}

.post-link.horizontal.centered>div:nth-child(1) img {
    display: block;
    width: 100%;
    height: auto
}

.post-link.horizontal.centered>div:nth-child(2) {
    width: 55%;
    padding: 1.15rem;
    text-align: center
}

.post-link.horizontal.centered .post-title {
    font-size: 28px;
    margin-bottom: 12px;
}

.post-link.horizontal.centered .post-author a {
    font-size: 13px;
    color: #EB2323;
}

.post-link.horizontal.centered .post-author a:hover {
    color: #5A5A5A
}

.post-link.horizontal.centered .post-title:hover {
    color: #5A5A5A
}

.homepage-newsletter {
    background-color: #000;
    color: white;
    padding: 30px 0;
    margin: 60px 0;
}

.homepage-newsletter .container.newsletter {
    width: auto;
    text-align: center;
}

.homepage-newsletter h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 31px;
    font-weight: normal;
    color: white;
}

.homepage-newsletter p {
    font-family: tenon, Adjusted Arial Fallback, sans-serif;
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.5;
    color: white;
}

.homepage-mailchimp-form {
    width: 100%;
}

.homepage-mailchimp-form .form-fields {
    width: 100%;
}

.homepage-mailchimp-form .email-signup-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    justify-content: center;
    align-items: stretch;
}

.homepage-mailchimp-form .email-signup-row input[type="email"] {
    width: 450px;
    background: transparent;
    border: 1px solid white;
    color: white;
    font-family: tenon, Adjusted Arial Fallback, sans-serif;
    font-size: 16px;
    padding: 15px 20px;
    outline: none;
}

.homepage-mailchimp-form .email-signup-row input[type="email"]::placeholder {
    color: white;
    opacity: 1;
}

.homepage-mailchimp-form .email-signup-row input[type="email"]:-webkit-autofill,
.homepage-mailchimp-form .email-signup-row input[type="email"]:-webkit-autofill:active,
.homepage-mailchimp-form .email-signup-row input[type="email"]:-webkit-autofill:focus,
.homepage-mailchimp-form .email-signup-row input[type="email"]:-webkit-autofill:hover {
    -webkit-box-shadow: 0 0 0 30px #000 inset !important;
    -webkit-text-fill-color: #fff !important;
    border: 1px solid white !important;
}

.homepage-mailchimp-form .email-signup-row input[type="submit"] {
    background: #997D4A;
    border: none;
    color: white;
    font-family: tenon, Adjusted Arial Fallback, sans-serif;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 30px;
    cursor: pointer;
    transition: opacity 0.15s ease-in;
    flex-shrink: 0;
}

.homepage-mailchimp-form .email-signup-row input[type="submit"]:hover {
    opacity: 0.8;
}

.homepage-mailchimp-form .agreement {
    text-align: center;
    font-family: tenon, Adjusted Arial Fallback, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    color: white !important;
    padding: 0.4rem;
}

.homepage-mailchimp-form .agreement a {
    color: white !important;
    text-decoration: underline;
}

.homepage-mailchimp-form #mce-responses-homepage {
    text-align: center;
    font-family: tenon, Adjusted Arial Fallback, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    color: white;
    padding: 0.4rem;
}

.homepage-mailchimp-form #mce-responses-homepage span {
    display: block;
}

.homepage-mailchimp-form #mce-responses-homepage span+span {
    margin-top: 0.4rem;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #707070;
    padding-bottom: .2875rem
}

.section-heading .section-title,
.section-heading .section-title-small {
    margin: 0;
    text-transform: uppercase
}

.section-heading .section-title-small {
    font-size: 15px;
    font-family: tenon, Adjusted Arial Fallback, sans-serif
}

.section-heading .see-more {
    white-space: nowrap;
    color: black;
}

.section-heading .section-title {
    font-size: 30px;
    color: black
}

.see-more {
    font-size: 14px;
    font-family: tenon, Adjusted Arial Fallback, sans-serif;
    text-transform: uppercase;
    display: inline-block
}

.see-more img {
    display: block;
    margin-bottom: .5rem
}

.post-list.horizontal {
    display: flex;
    flex-wrap: wrap
}

.post-list.horizontal>div img {
    max-width: 100%;
    height: auto
}

.post-list.horizontal.separate-from-header {
    margin-top: 1.15rem
}

.post-list.horizontal.four-columns-two-rows {
    margin-left: -1rem;
    margin-right: -1rem
}

.post-list.horizontal.four-columns-two-rows .post-link {
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative
}

.post-list.horizontal.four-columns-two-rows .post-link .post-title {
    font-size: 18px;
    line-height: 1.1
}

.post-list.horizontal.four-columns-two-rows .post-link .post-author {
    font-size: 12px
}

.post-list.horizontal.four-columns-two-rows .post-link .post-thumb {
    width: 40%;
    padding-right: 1rem
}

.post-list.horizontal.four-columns-two-rows .post-link>div:not(.post-thumb) {
    width: 60%
}

@media (max-width:1299px) {
    .post-list.horizontal.four-columns-two-rows {
        position: relative
    }

    .post-list.horizontal.four-columns-two-rows .post-link {
        width: 50%
    }

    .post-list.horizontal.four-columns-two-rows .post-link:nth-child(1n+3):before {
        content: "";
        display: block;
        height: 1px;
        position: absolute;
        top: 0;
        right: 1rem;
        bottom: auto;
        left: 1rem;
        background-color: #D6D6D6
    }

    .post-list.horizontal.four-columns-two-rows:before {
        content: "";
        display: block;
        width: 1px;
        background-color: #D6D6D6;
        position: absolute;
        top: 1.15rem;
        right: auto;
        bottom: 1.15rem;
        left: 50%
    }
}

@media (min-width:1300px) {
    .post-list.horizontal.four-columns-two-rows .post-link {
        width: 25%
    }

    .post-list.horizontal.four-columns-two-rows .post-link:not(:nth-child(4n+1)):before {
        content: "";
        display: block;
        width: 1px;
        background-color: #D6D6D6
    }

    .post-list.horizontal.four-columns-two-rows .post-link:nth-child(2):before,
    .post-list.horizontal.four-columns-two-rows .post-link:nth-child(3):before,
    .post-list.horizontal.four-columns-two-rows .post-link:nth-child(4):before {
        position: absolute;
        top: 1.15rem;
        right: auto;
        bottom: 0;
        left: 0
    }

    .post-list.horizontal.four-columns-two-rows .post-link:nth-child(6):before,
    .post-list.horizontal.four-columns-two-rows .post-link:nth-child(7):before,
    .post-list.horizontal.four-columns-two-rows .post-link:nth-child(8):before {
        position: absolute;
        top: 0;
        right: auto;
        bottom: 1.15rem;
        left: 0
    }

    .post-list.horizontal.four-columns-two-rows .post-link:nth-child(1n+5):after {
        content: "";
        display: block;
        height: 1px;
        position: absolute;
        top: 0;
        right: 1rem;
        bottom: auto;
        left: 1rem;
        background-color: #D6D6D6
    }
}

.latest-issue {
    display: flex;
    justify-content: center;
    /* Center the text */
    align-items: center;
    /* Ensure vertical alignment */
    border-bottom: 1px solid #707070;
    padding-bottom: 0.2875rem;
    text-align: center;
    /* Ensures proper centering */
}

.latest-issue .section-title,
.latest-issue .section-title-small {
    margin: 0;
    text-transform: uppercase;
}

.latest-issue .section-title {
    font-size: 30px;
    color: black;
}

.latest-issue .section-title-small {
    font-size: 15px;
    font-family: tenon, Adjusted Arial Fallback, sans-serif;
}

#magazine-top-stories {
    margin-top: 1.15rem;
    display: grid;
    grid-template-columns: 45% 55%;
}

#magazine-top-stories img {
    max-width: 100%;
    height: auto;
}

/* Left side - Magazine cover */
#magazine-top-stories>div:nth-child(1) {
    width: 100%;
}

/* Desktop layout: Right side container */
#magazine-top-stories .magazine-stories-container.desktop-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    width: 100%;
    height: 970px;
    padding-left: 30px;
}

/* Tablet layout: initially hidden */
#magazine-top-stories .magazine-stories-container.tablet-layout {
    display: none;
}

/* Article card styles for desktop layout */
#magazine-top-stories .magazine-stories-container.desktop-layout .post-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-right: 2rem;
    /* padding-left: 2rem; */
}

#magazine-top-stories .magazine-stories-container.desktop-layout .post-link img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

#magazine-top-stories .magazine-stories-container.desktop-layout .post-link .post-title {
    font-size: 1.2rem;
    line-height: 1.3;
}

#magazine-top-stories .magazine-stories-container.desktop-layout .post-link .category {
    color: #EB2323;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* Magazine cover specific styles */
.post-link.central-magazine-cover {
    width: 100%;
    height: 100%;
}

.post-link.central-magazine-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Tablet Responsiveness */
@media (max-width: 1023px) {
    #magazine-top-stories {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 2rem;
    }

    /* Left side - Magazine cover */
    #magazine-top-stories>div:nth-child(1) {
        grid-row: 1;
        width: 75%;
        margin: auto;
    }

    /* Hide desktop layout, show tablet layout */
    #magazine-top-stories .magazine-stories-container.desktop-layout {
        display: none;
    }

    #magazine-top-stories .magazine-stories-container.tablet-layout {
        display: block;
        grid-row: 2;
        width: 100%;
        margin-bottom: 25px;
    }

    /* Magazine cover specific styles for tablets */
    .post-link.central-magazine-cover {
        margin: 0 auto;
        width: 80%;
    }
}

/* Small tablet adjustments */
@media (max-width: 768px) {

    /* Magazine cover adjustments for mobile */
    #magazine-top-stories>div:nth-child(1) {
        width: 90%;
    }

    .post-link.central-magazine-cover {
        width: 100%;
    }
}

.past-issues {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 18px;
    color: black;
    position: relative;
    text-transform: uppercase;
    margin-top: 3rem;
}

.past-issues::before,
.past-issues::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background-color: black;
}

.past-issues span {
    padding: 0 20px;
    /* Space around the text */
    background-color: white;
    /* Matches background to "cut" the line */
}

.post-list.horizontal.five-columns {
    margin-left: -1.15rem;
    margin-right: -1.15rem;
    margin-bottom: 8rem;
}

.post-list.horizontal.five-columns .post-link {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
    width: 20%;
    /* Adjusted for 5 columns */
}

.post-list.horizontal.five-columns .post-link:nth-child(1n+6) {
    margin-top: 3.15rem;
}

.flipbook-link {
    position: relative;
    display: block;
    transition: transform 0.3s ease;
    /* Add smooth transition */
}

.flipbook-link:hover {
    transform: translateY(-10px);
    /* Move up 10px on hover */
}

.flipbook-link>img {
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .15);
}

.flipbook-link .flipbook-thumb {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.flipbook-link .flipbook-thumb.thumb-hidden ._df_thumb {
    margin: 0;
    padding: 160% 100% 0 0;
    box-shadow: none;
}

.post-link.vertical .post-title {
    padding: .6rem 0 0;
}

@media (max-width:1099px) {
    .categories-post-lists-with-header>div+div {
        padding-top: 4.6rem
    }
}

@media (min-width:1100px) {
    .categories-post-lists-with-header {
        display: flex;
        flex-wrap: wrap
    }

    .categories-post-lists-with-header>div {
        width: 50%
    }

    .categories-post-lists-with-header>div:nth-child(2n+1) {
        padding-right: 1.15rem
    }

    .categories-post-lists-with-header>div:nth-child(2n+2) {
        padding-left: 1.15rem
    }

    .categories-post-lists-with-header>div:nth-child(2n+2) .post-list {
        position: relative
    }

    .categories-post-lists-with-header>div:nth-child(2n+2) .post-list:before {
        content: "";
        display: block;
        width: 1px;
        background-color: #D6D6D6;
        position: absolute;
        top: 1.15rem;
        right: auto;
        bottom: 0;
        left: -1.15rem
    }

    .categories-post-lists-with-header>div:nth-child(1n+3) {
        padding-top: 4.6rem
    }
}

.post-list.horizontal.four-columns {
    margin-left: -1.15rem;
    margin-right: -1.15rem
}

.post-list.horizontal.four-columns .post-link {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
    width: 25%
}

.post-list.horizontal.four-columns .post-link:not(:nth-child(4n+1)) {
    border-left: 1px solid #D6D6D6
}

.post-list.horizontal.four-columns .post-link:nth-child(1n+5) {
    margin-top: 3.15rem
}

#footer-links .footer-sns>span,
#legal-notice p {
    font-family: tenon, Adjusted Arial Fallback, sans-serif;
    text-transform: uppercase
}

#legal-notice,
footer {
    border-top: 1px solid #D6D6D6
}

#footer-links .footer-sns>span {
    font-size: 15px;
    display: block
}

#legal-notice p {
    text-align: center;
    font-size: 12px;
    line-height: 1.3
}

footer .logo-horizontal {
    width: auto;
    height: 69px;
    max-width: 100%;
    margin-top: .18rem
}

#footer-links {
    margin: 4.5rem auto;
    display: flex;
    justify-content: space-between
}

@media (min-width:1500px) {

    #footer-links>div:nth-child(1),
    #footer-links>div:nth-child(3) {
        width: 23%
    }

    #footer-links>div:nth-child(2) {
        width: 50%
    }
}

#footer-links .footer-nav-container {
    margin-top: -.27rem;
    display: flex;
    justify-content: space-between;
    padding: 0 .9rem
}

#footer-links .footer-nav-container nav {
    padding: 0 .9rem
}

@media (max-width:1150px) {
    #footer-links {
        flex-wrap: wrap
    }

    #footer-links>div:nth-child(1) {
        width: 100%;
        padding-bottom: 1.8rem
    }

    #footer-links .footer-nav-container {
        margin-left: -1.8rem
    }
}

@media (max-width:750px) {
    #footer-links {
        flex-direction: column
    }

    #footer-links>div:nth-child(2) {
        padding-bottom: 1.8rem
    }
}

#legal-notice {
    padding: 1.8rem 0
}

.edition-switcher {
    font-family: tenon, Adjusted Arial Fallback, sans-serif;
    margin-top: 50px;
}

header .edition-switcher {
    margin-top: 0;
    margin-right: 0;
    display: inline-block;
}

header .header-left {
    display: flex;
    align-items: center;
}

#edition-select {
    font-family: tenon, Adjusted Arial Fallback, sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 32px 8px 12px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: border-color 0.2s ease;
    position: relative;
    z-index: 1;
}

#edition-select:hover {
    border-color: #999;
}

#edition-select:focus {
    outline: none;
    border-color: #333;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .edition-switcher {
        margin-top: 15px;
        margin-bottom: 15px;
        position: relative;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    #edition-select {
        font-size: 16px;
        /* Prevents zoom on iOS */
        padding: 8px 28px 8px 10px;
        background-position: right 8px center;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        will-change: transform;
    }
}

.go-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #000;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 2;
    transition: opacity .2s ease, visibility .2s ease
}

.go-to-top.visible {
    opacity: 1;
    visibility: visible
}

body.adhesion .go-to-top {
    margin-bottom: 80px
}

.page-title .h1,
.page-title h1 {
    margin: 0;
    text-align: center;
    text-transform: uppercase;
}

.page-title {
    background: #000;
    color: #fff;
    padding: 1.15rem 0 .92rem
}

.page-title h1 {
    font-size: 40px
}

.post-link.vertical .post-title {
    font-size: 19px;
    margin-bottom: 0;
    padding: 5px 0 0.2rem;
    color: black;
}

.post-link.vertical .post-author,
.post-link.vertical .post-info {
    display: inline-block;
    font-size: 13px;
    line-height: 1.2;
    margin-top: 6px;

}

.post-link.vertical img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.post-link.vertical img+.post-info {
    padding-top: 0.76666667rem;
}

.post-link.vertical .post-author a {
    font-size: 12px;
    color: #eb2323;
}

.post-link.vertical .post-author a:hover {
    font-size: 12px;
    color: #5a5a5a;
}

.post-link.vertical .post-title:hover {
    color: #5a5a5a;
}

.post-content img:not(.size-large):not(.size-medium):not(.size-full),
.the-post .size-medium {
    max-width: 100%;
    height: auto
}

.post-content.post-template-whats-on h3:after,
.post-content.post-template-whats-on h4:after,
.post-content:not(.post-template-whats-on) h2:after,
.post-content:not(.post-template-whats-on) h3:after {
    content: "";
    width: 3rem;
    height: 1.5px;
    background-color: #000;
    display: block
}

.post-content,
.post-introduction {
    font-size: 22px
}

.post-content.post-template-whats-on h3:after,
.post-content:not(.post-template-whats-on) h2:after {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem
}

.post-content h2+p,
.post-content h3+p,
.post-content h4+p,
.post-content h5+p,
.post-content h6+p {
    margin-top: -.5rem
}

.post-content .wp-caption-text {
    margin-top: .2rem;
    margin-bottom: 0
}

.post-content .instagram-media,
.post-content .twitter-tweet {
    margin: auto !important
}

.the-post {
    position: relative
}

@media (min-width:1060px) {
    .the-post {
        max-width: 1024px;
        padding: 0 186px
    }

    .the-post .size-full,
    .the-post .size-full+.wp-caption-text,
    .the-post .size-full+figcaption,
    .the-post .size-large,
    .the-post .size-large+.wp-caption-text,
    .the-post .size-large+figcaption {
        margin-left: -186px;
        margin-right: -186px
    }
}

.the-post .size-medium {
    display: block
}

.the-post .size-full,
.the-post .size-large {
    width: 1024px;
    height: auto;
    display: block
}

@media (max-width:1059px) {

    .the-post .size-full,
    .the-post .size-large {
        max-width: 100%
    }
}

.the-post .wp-caption>.size-full,
.the-post .wp-caption>.size-large {
    margin-top: 3rem
}

.the-post .wp-caption>.size-full+.wp-caption-text,
.the-post .wp-caption>.size-large+.wp-caption-text {
    margin-bottom: 3rem
}

.the-post :not(.wp-caption)>.size-full,
.the-post :not(.wp-caption)>.size-large {
    margin-top: 3rem;
    margin-bottom: 3rem
}

.the-single-post {
    margin-bottom: 8.05rem
}

.the-single-post .post-content {
    border-bottom: 1px solid #d6d6d6;
    padding-bottom: 4.025rem;
    color: #363636
}

.post-content.post-template-whats-on h3,
.post-content:not(.post-template-whats-on) h2 {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2.2rem;
    font-size: 40px
}

.post-content.post-template-whats-on h4,
.post-content:not(.post-template-whats-on) h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.6rem;
    font-size: 34px
}

.post-content.post-template-whats-on h4:after,
.post-content:not(.post-template-whats-on) h3:after {
    margin-top: 1rem
}

.post-content.post-template-whats-on h5,
.post-content:not(.post-template-whats-on) h4 {
    margin-top: 2rem;
    margin-bottom: .7rem;
    font-size: 26px;
    font-weight: 700
}

.post-content.post-template-whats-on h6,
.post-content:not(.post-template-whats-on) h5,
.post-content:not(.post-template-whats-on) h6 {
    margin-top: 2rem;
    margin-bottom: .7rem;
    font-size: 24px
}

.post-content>:last-child {
    margin-bottom: 0 !important
}

@media (max-width:1749px) {
    .sidebar-posts {
        display: none
    }
}

@media (min-width:1750px) {
    .sidebar-posts {
        width: 13%;
        position: sticky;
        top: 0;
        float: right;
        margin-right: 5%
    }
}

.post-content p img {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.post-content p:has(> img) {
    text-align: center
}

.post-tags,
.post-tags a {
    color: #ADADAD
}

.post-tags {
    padding-top: .45rem
}

.post-tags a,
.post-tags span {
    margin-right: .9rem
}

.post-tags a:hover {
    color: #878787
}

.info-table,
.info-table td {
    padding-top: .18rem;
    padding-bottom: .18rem
}

.info-table {
    font-family: tenon, Adjusted Arial Fallback, sans-serif;
    max-width: 100%;
    text-transform: uppercase;
    font-size: 16px
}

.info-table td {
    vertical-align: sub
}

.info-table tr>td:nth-child(1) {
    padding-right: .8rem;
    white-space: nowrap
}

.info-table .small {
    text-transform: none !important;
    font-size: 14px
}

.info-table tr td:nth-child(2) {
    padding-left: 2rem
}

.gold-underlined-button,
.gold-underlined-buttons>a {
    display: inline-block;
    width: auto;
    height: auto;
    position: relative;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: #F0E6C8;
    text-underline-offset: 3px
}

.page-subtitle {
    text-align: center;
    font-family: garamond-premier-pro, Adjusted Georgia Fallback, Times New Roman, serif;
    margin-bottom: 2.53rem
}

.page-subtitle span {
    display: block
}

.page-subtitle span:not(.sub_subtitle) {
    font-size: 48px
}

.page-subtitle span.sub_subtitle {
    font-family: tenon, Adjusted Arial Fallback, sans-serif;
    text-transform: uppercase;
    font-size: 28px;
    font-weight: 100
}