.header-book-button {
    margin-top: 25px;
    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;
}

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

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

.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
}

#menu-icon .icon {
    display: block;
    width: 22px;
    height: 18px;
    position: relative;
    transition: opacity .3s
}

#menu-icon .icon>div {
    display: block;
    width: 22px;
    height: 2px;
    position: absolute;
    left: 0;
    margin-top: -1px;
    background: #707070;
    border-radius: 1px
}

#menu-icon .icon>div:nth-child(1) {
    top: 3px;
    transition: transform .3s, top .3s
}

#menu-icon .icon>div:nth-child(2) {
    top: 10px;
    transition: opacity .3
}

#menu-icon .icon>div:nth-child(3) {
    top: 17px;
    transition: transform .3s, top .3s
}

.is-menu-open #menu-icon .icon>div:nth-child(1) {
    top: 10px;
    transform: rotate(45deg)
}

.is-menu-open #menu-icon .icon>div:nth-child(2) {
    opacity: 0
}

.is-menu-open #menu-icon .icon>div:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg)
}

#menu-icon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 30px 25px
}

.sticky-header #menu-icon {
    padding-top: 16px;
    padding-bottom: 16px
}

.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
    }
}

.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;
    }
}

#video-section {
    margin-top: 1.15rem
}

#video-section>div:nth-child(2) {
    border-top: 1px solid #D6D6D6
}

#bucket-list-section {
    margin-top: 1.15rem
}

#bucket-list-section>div:nth-child(2) {
    border-top: 1px solid #D6D6D6
}

.ad-banner {
    margin-top: 1.15rem
}

/* Mobile version of the central story carousel */
.post-link.central-story-carousel {
    position: relative;
    text-align: left;
    width: 100vw;
    max-width: 100vw;
    margin-left: -1rem;
    margin-right: -1rem;
}

.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;
    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%;
    overflow: hidden;
}

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

.container .size-mobile-large {
    margin-left: 0px;
    margin-right: 0px;

}

.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%;
    display: block;
    height: auto;
}

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

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

.carousel-overlay-content .post-category a {
    font-size: 12px;
    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: 22px;
    margin: 0;
    color: white;
    line-height: 1.2;
    transition: color 0.1s ease;
    text-align: left;
}

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

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

/* Navigation arrows - REMOVED COMPLETELY */

/* Dots indicator - normal document flow */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 1rem 8px 1rem;
    padding: 0;
    padding-top: 15px;
    padding-bottom: 15px;
}

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

}

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

/* Remove the old content area styles that were placing content below image */
.carousel-content,
.carousel-content-slide {
    display: none;
}

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

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

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

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

.homepage-newsletter .container.newsletter {
    width: auto;
    text-align: center;
    padding: 0 20px;
    margin-top: 20px;
}

.homepage-newsletter h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: normal;
    color: white;
    line-height: 1.2;
}

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

.homepage-mailchimp-form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

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

.homepage-mailchimp-form .email-signup-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

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

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

.homepage-mailchimp-form .email-signup-column input[type="email"]:-webkit-autofill,
.homepage-mailchimp-form .email-signup-column input[type="email"]:-webkit-autofill:active,
.homepage-mailchimp-form .email-signup-column input[type="email"]:-webkit-autofill:focus,
.homepage-mailchimp-form .email-signup-column 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-column 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;
    width: 100%;
    box-sizing: border-box;
}

.homepage-mailchimp-form .email-signup-column 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;
    line-height: 1.3;
}

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

.homepage-mailchimp-form #mce-responses {
    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 span {
    display: block;
}

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

.post-list-with-header .section-footer {
    border-top: 1px solid #D6D6D6;
    padding-top: .575rem
}

.post-list-with-header {
    margin-top: 1.725rem;
    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 {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #707070;
    margin-top: 1.725rem;
    padding-bottom: .2875rem
}

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

.post-list.vertical .post-link+.post-link {
    border-top: 1px solid #D6D6D6
}

.post-list.vertical.vertical-padding .post-link {
    padding-top: 1.15rem;
    padding-bottom: 1.15rem
}

.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: 28px;
    color: black;
}

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

.post-list.three-small>div {
    border-bottom: 1px solid #D6D6D6;
    padding: 1rem 0;
}

.post-list.three-small>div:last-child {
    border-bottom: none;
}

.post-list.three-small>div:first-child {
    border-top: 1px solid #D6D6D6;
}

.section-heading+.post-list.three-small {
    margin-top: 1.15rem;
}

.past-issues {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 14px;
    /* Smaller font size for mobile */
    color: black;
    position: relative;
    text-transform: uppercase;
    margin-top: 2rem;
    /* Reduced margin for mobile */
}

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

.past-issues span {
    padding: 0 12px;
    /* Reduced padding for mobile */
    background-color: white;
}

.post-list.horizontal-mobile {
    position: relative;
}

.post-list.horizontal-mobile .two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
}

.post-list.horizontal-mobile img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Title styling for mobile */
.post-list.horizontal-mobile .post-title {
    font-size: 1rem;
    line-height: 1.2;
    margin-top: 0.5rem;
}

.post-list.horizontal-mobile .swiper-button-prev,
.post-list.horizontal-mobile .swiper-button-next {
    color: #000;
}

.separate-from-header {
    margin-top: 1.5rem;
}

.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;
}

.post-list.one-large-more-small>div+div {
    border-top: 1px solid #D6D6D6
}

.section-heading+.post-list.one-large-more-small {
    margin-top: 1.15rem
}

#footer-links nav+nav,
footer {
    border-top: 1px solid #D6D6D6
}

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

footer .logo-horizontal {
    margin: 2rem 0;
    width: 265px;
    height: 68px
}

#footer-links>div {
    border-bottom: 1px solid #D6D6D6
}

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

#footer-links .footer-sns {
    padding: 1.5rem 0;
    text-align: center
}

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

#legal-notice {
    padding: 1rem 0
}

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

.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
}