/* ── Sidebar overflow fix ── */
.left-sidebar {
    overflow: visible !important;
}

#main-menu {
    overflow: visible !important;
    font-size: 1.2rem !important;
}

/* ── Reduce gap between menu items ── */
#main-menu,
#main-menu .menu-bottom-section ol {
    gap: 0.6rem !important;
}

/* ── Child menu items — indented ── */
.child-menu-item {
    padding-left: 1.5rem !important;
}

.child-menu-item a {
    font-size: 1.3rem !important;
    opacity: 0.65;
}

.child-menu-item a:hover,
.child-menu-item.current a {
    opacity: 1;
    text-decoration: underline;
    font-weight: bold !important;
    font-size: 1.5rem !important;
}

.child-menu-item.current a {
    color: var(--accent-color) !important;
    opacity: 1;
}

/* ── Continent colors on hover/active ── */
.child-menu-item:nth-child(3) a:hover, .child-menu-item:nth-child(3).current a { color: #0288D1 !important; } /* Europe */
.child-menu-item:nth-child(4) a:hover, .child-menu-item:nth-child(4).current a { color: #D32F2F !important; } /* Asia */
.child-menu-item:nth-child(5) a:hover, .child-menu-item:nth-child(5).current a { color: #388E3C !important; } /* Americas */
.child-menu-item:nth-child(6) a:hover, .child-menu-item:nth-child(6).current a { color: #F57C00 !important; } /* Africa */
.child-menu-item:nth-child(7) a:hover, .child-menu-item:nth-child(7).current a { color: #8E24AA !important; } /* Oceania */
.child-menu-item:nth-child(9) a:hover, .child-menu-item:nth-child(9).current a { color: #000000 !important; } /* Travel Tips */
.child-menu-item:nth-child(10) a:hover, .child-menu-item:nth-child(10).current a { color: #000000 !important; } /* Itineraries */

/* ── Dropdown arrow ── */
.dropdown-arrow {
    font-size: 1.9rem !important;
    margin-left: 0.4rem !important;
    visibility: false !important;
}


/* ── Dark mode toggle ── */
#dark-mode-toggle {
    display: flex !important;
    align-items: center !important;
    padding: 0.5rem 0 !important;
}

#dark-mode-toggle input {
    width: 0;
    height: 0;
    visibility: hidden;
    position: absolute;
}

#dark-mode-toggle label {
    width: 64px;
    height: 26px;
    position: relative;
    display: block;
    background: #ebebeb;
    border-radius: 26px;
    box-shadow: inset 0px 2px 6px rgba(0,0,0,0.4), inset 0px -2px 6px rgba(255,255,255,0.4);
    cursor: pointer;
    transition: 0.3s;
    flex-shrink: 0;
}

#dark-mode-toggle label:after {
    content: "";
    width: 22px;
    height: 22px;
    position: absolute;
    top: 2px;
    left: 2px;
    background: linear-gradient(180deg, #ffcc89, #d8860b);
    border-radius: 22px;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
    transition: 0.3s;
}

#dark-mode-toggle label svg {
    position: absolute;
    width: 14px;
    top: 6px;
    z-index: 100;
}

#dark-mode-toggle label svg.sun {
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    fill: #fff;
    transition: 0.3s;
}

#dark-mode-toggle label svg.moon {
    right: 4px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    fill: #7e7e7e;
    transition: 0.3s;
}

/* Dark mode active state */
[data-scheme="dark"] #dark-mode-toggle label {
    background: #242424;
}

[data-scheme="dark"] #dark-mode-toggle label:after {
    left: 62px;
    transform: translateX(-100%);
    background: linear-gradient(180deg, #777, #3a3a3a);
}

[data-scheme="dark"] #dark-mode-toggle label svg.sun {
    fill: #7e7e7e;
}

[data-scheme="dark"] #dark-mode-toggle label svg.moon {
    fill: #fff;
}


/* ── Section cover image — bigger hero ── */
.article-image img {
    max-height: 400px !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}


/* ── Section header image bigger ── */
.section-image {
    width: 200px !important;
    height: 200px !important;
}

.section-image img {
    width: 200px !important;
    height: 200px !important;
    object-fit: contain !important;
}




/* ── Continent images (section header + subsection list) — circle + scale + pulse ── */
.section-card .section-image img,
.subsection-list .article-image img,
.is-section .article-image img {
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.section-card .section-image img:hover,
.subsection-list .article-image img:hover,
.is-section .article-image img:hover {
    transform: scale(1.15);
    animation: pulse 1s;
    box-shadow: 0 0 0 2em transparent;
}

/* ── Post thumbnails — rectangle + pulse only ── */
.is-post .article-image {
    width: 160px !important;
    height: 100px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
}

.is-post .article-image img {
    width: 160px !important;
    height: 100px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 8px !important;
    transition: transform 0.3s ease;
}

.is-post .article-image img:hover {
    animation: pulse 1s;
    box-shadow: 0 0 0 2em transparent;
}

/* ── Pulse animation ── */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2); }
    100% { box-shadow: 0 0 0 1em transparent; }
}


/* ── Post thumbnails — rectangle + colorful pulse ── */
.is-post .article-image {
    width: 160px !important;
    height: 100px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
    transition: box-shadow 0.3s ease;
}

.is-post .article-image img {
    width: 160px !important;
    height: 100px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 8px !important;
    display: block !important;
}

.is-post .article-image:hover {
    animation: pulse-colorful 1s forwards;
}

@keyframes pulse-colorful {
    0% {
        box-shadow:
            0 0 0 0 rgba(255, 100, 0, 0.6),
            0 0 0 0 rgba(255, 200, 0, 0.4),
            0 0 0 0 rgba(0, 180, 255, 0.3);
    }
    100% {
        box-shadow:
            0 0 0 8px rgba(255, 100, 0, 0),
            0 0 0 16px rgba(255, 200, 0, 0),
            0 0 0 24px rgba(0, 180, 255, 0);
    }
}


/* ── Intro widget ── */
.intro-widget {
    background: var(--card-background);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-l1);
    margin-bottom: 1.5rem;
}

.intro-cover {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.intro-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.intro-body {
    padding: 1.2rem;
}

.intro-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.6rem 0;
    color: var(--card-text-color-main);
}

.intro-text {
    font-size: 0.95rem;
    color: var(--card-text-color-secondary);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.intro-link {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

.intro-link:hover {
    text-decoration: underline;
}

/* ── Sidebar avatar ── */
.site-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.site-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
    border: 3px solid var(--accent-color);
    display: block;
}

.online-dot {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 14px;
    height: 14px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid var(--card-background);
    display: block;
}

/* ── Hero section ── */
.hero {
    position: relative;
    width: 100%;
    height: 420px;
    background-image: url('/images/hero.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    color: #fff !important;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 0 0 1.5rem 0;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero-btn {
    display: inline-block;
    background: var(--accent-color);
    color: #fff !important;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.8);
}
[data-scheme="dark"] .hero-btn {
    color: #000 !important;
}
.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    background: rgba(255,255,255,0.15) !important;
    backdrop-filter: blur(4px);
}

/* ── Latest posts section ── */
.latest-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: var(--card-text-color-main);
    border-left: 4px solid var(--accent-color);
    padding-left: 0.8rem;
}


/* ── Home Destinations Section ── */
.home-destinations {
    margin: 2.5rem 0;
}

.home-destinations-header {
    margin-bottom: 1.5rem;
}

.home-destinations-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 0.6rem 0;
    color: var(--card-text-color-main);
    border-left: 4px solid var(--accent-color);
    padding-left: 0.8rem;
}

.home-destinations-text {
    font-size: 0.95rem;
    color: var(--card-text-color-secondary);
    line-height: 1.6;
    margin: 0;
}

.home-destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.dest-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
    text-decoration: none !important;
}

.dest-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.4s ease;
    border-radius: 0 !important;
}

.dest-card:hover img {
    transform: scale(1.08);
}

.dest-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.1) 60%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.dest-card-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: Georgia, serif;
    font-style: italic;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* ── Continent header background image ── */
.section-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.section-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 0;
}

.section-card .section-details,
.section-card .section-image {
    position: relative;
    z-index: 1;
}

/* ── Text shadows on continent header ── */
.section-card .section-count {
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.section-card .section-term {
    text-shadow: 0 3px 12px rgba(0,0,0,0.5);
}

.section-card .section-description {
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* ── Map image shadow ── */
.section-card .section-image img {
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4));
}

/* ── Travel Hub section ── */
.home-travelhub {
    margin: 2.5rem 0;
    background: var(--card-background);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-l1);
}

.home-travelhub-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.home-travelhub-left {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.home-travelhub-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    color: var(--card-text-color-main);
    white-space: nowrap;
}

.travelhub-arrow {
    width: 60px;
    opacity: 0.7;
    display: block;
}

.home-travelhub-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ── Travel Hub items — same style as hero button ── */
.travelhub-item {
    display: block;
    background: var(--accent-color);
    color: #fff !important;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
}

.travelhub-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

[data-scheme="dark"] .travelhub-item {
    color: #000 !important;
}

/* ── Subscribe section ── */
.subscribe-section {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin: 2.5rem 0;
    padding: 3rem 2rem;
    background-image: url('/images/subscribe-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    width: 100%;
}

.subscribe-overlay {
    position: absolute;
    inset: 0;
    background: rgba(245, 200, 66, 0.45);
    z-index: 0;
}

[data-scheme="dark"] .subscribe-overlay {
    background: rgba(180, 140, 20, 0.55);
}

.subscribe-content {
    position: relative;
    z-index: 1;
}

.subscribe-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    font-style: italic;
    text-shadow: 0 3px 10px rgba(0,0,0,0.2);
    margin: 0 0 0.2rem 0;
    font-family: Georgia, serif;
}

.subscribe-subtitle {
    font-size: 1.2rem;
    color: #fff;
    margin: 0 0 1rem 0;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.subscribe-perks {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.subscribe-perks span {
    font-weight: 700;
    font-size: 1rem;
    color: #333;
}

/* ── Subscribe form ── */
.subscribe-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.subscribe-input {
    width: 100%;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    background: rgba(255,255,255,0.95);
    color: #333;
    outline: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.subscribe-btn {
    width: 100%;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: none;
    background: #333;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.subscribe-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.subscribe-message {
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
}
/* ── Section label ── */
.subscribe-wrapper {
    margin: 1.2rem 0 !important;
}

.subscribe-wrapper .latest-title {
    margin-bottom: 1rem;
}


/* ── Reduce spacing between sections ── */
.latest-posts,
.home-destinations,
.home-travelhub,
.subscribe-section {
    margin: 0.9rem 0 !important;
}

/* ── Footer ── */
.site-footer {
    margin-top: 3rem;
    padding: 3rem 2rem 1.5rem;
    background: var(--card-background);
    border-top: 1px solid var(--card-separator-color);
    border-radius: 16px 16px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--card-text-color-main);
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: var(--card-text-color-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* ── Brand column ── */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--card-text-color-main);
    margin: 0;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--card-text-color-secondary);
    margin: 0;
    line-height: 1.5;
}

.footer-subscribe-btn {
    display: inline-block;
    margin-top: 0.5rem;
    background: var(--accent-color);
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform 0.2s ease;
    width: fit-content;
}

[data-scheme="dark"] .footer-subscribe-btn {
    color: #000 !important;
}

.footer-subscribe-btn:hover {
    transform: translateY(-2px);
}

/* ── Footer bottom ── */
.footer-bottom {
    border-top: 1px solid var(--card-separator-color);
    padding-top: 1.2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--card-text-color-secondary);
}

.footer-bottom p {
    margin: 0;
}
.site-footer {
    border-top: none !important;
}

.footer-grid {
    padding-top: 1rem;
}

/* ── Footer world map background ── */
.site-footer {
    position: relative;
    overflow: hidden;
    border-top: none !important;
    box-shadow: none !important;
    padding: 3rem 2rem 1.5rem !important;
}

.footer-bg {
    position: absolute;
    inset: 0;
    background-image: url('/destinations/world.png');
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none !important;
}

.footer-grid {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
/* Hide theme's default footer separator */
.site-footer::before,
footer::before {
    display: none !important;
    content: none !important;
}
footer.site-footer {
    border-top: none !important;
    margin-top: 0 !important;
}

footer.site-footer .copyright,
footer.site-footer .powerby {
    display: none !important;
}

/* ── Footer padding fix ── */
.footer-grid {
    padding-left: 1rem !important;
}


/* ── Bucket List Page ── */
.bucket-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--card-text-color-secondary);
    margin-bottom: 2.5rem;
    max-width: 800px;
}

.bucket-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.bucket-card {
    background: #c0c0c0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

[data-scheme="dark"] .bucket-card {
    background: #2a2a2a;
}

.bucket-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.bucket-img-wrap {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.bucket-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Black and white for non-done cards */
.bucket-card:not(.done) .bucket-img-wrap img {
    filter: grayscale(100%);
}

/* Green checkmark badge */
.bucket-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 2;
}

.bucket-info {
    padding: 0.8rem 1rem;
}

.bucket-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: var(--card-text-color-main);
    line-height: 1.3;
}

.bucket-info p {
    font-size: 0.8rem;
    color: var(--card-text-color-secondary);
    margin: 0;
}

/* ── #100 Antarctica ── */
.bucket-100-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--card-text-color-secondary);
    margin: 2rem 0 1.5rem 0;
    max-width: 800px;
    font-style: italic;
}

.bucket-antarctica-wrap {
    margin-bottom: 3rem;
}

.bucket-antarctica {
    background: linear-gradient(135deg, #b8860b, #ffd700, #b8860b) !important;
    border: 2px solid #ffd700;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4) !important;
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
}

.bucket-antarctica .bucket-img-wrap {
    aspect-ratio: 12/5 !important;
    height: 260px;
}

.bucket-antarctica .bucket-img-wrap img {
    filter: none !important;
}

.bucket-antarctica .bucket-info {
    padding: 1.5rem 2rem;
}

.bucket-antarctica .bucket-info h3 {
    font-size: 1.6rem;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
}

.bucket-antarctica .bucket-info p {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

/* ── Bucket List Teaser ── */
.home-bucketlist {
    margin: 1.2rem 0 !important;
}

.bucketlist-teaser-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.bucketlist-teaser-card {
    background: #c0c0c0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    transition: transform 0.2s ease;
}

[data-scheme="dark"] .bucketlist-teaser-card {
    background: #2a2a2a;
}

.bucketlist-teaser-card:hover {
    transform: translateY(-3px);
}

.bucketlist-teaser-img {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.bucketlist-teaser-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

.bucketlist-teaser-card.done .bucketlist-teaser-img img {
    filter: none;
}

.bucketlist-teaser-info {
    padding: 0.5rem 0.6rem;
}

.bucketlist-teaser-info h3 {
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0;
    color: var(--card-text-color-main);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bucketlist-teaser-link {
    text-align: center;
    margin-top: 1rem;
}

/* ── Bucket List teaser button ── */
.bucketlist-teaser-link .hero-btn {
    background: var(--accent-color) !important;
    color: #fff !important;
    border: 2px solid var(--accent-color) !important;
}

.bucketlist-teaser-link .hero-btn:hover {
    background: var(--accent-color) !important;
    opacity: 0.85;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3) !important;
    color: #fff !important;
}

[data-scheme="dark"] .bucketlist-teaser-link .hero-btn {
    color: #fff !important;
}

/* ── Mobile search link ── */
.mobile-search-link {
    display: none !important;
}

@media (max-width: 1024px) {
    .mobile-search-link {
        display: block !important;
        order: 1;
    }

    .mobile-search-link a {
        display: flex !important;
        align-items: center !important;
        background: #F5C842 !important;
        color: #333 !important;
        padding: 0.6rem 1.2rem !important;
        border-radius: 50px !important;
        font-weight: 700 !important;
        font-size: 1rem !important;
        text-decoration: none !important;
        box-shadow: 0 2px 8px rgba(245,200,66,0.4) !important;
        transition: transform 0.2s ease !important;
    }

    .mobile-search-link a:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(245,200,66,0.6) !important;
    }
}

.mobile-search-link {
    order: 10 !important;
}

.menu-bottom-section {
    order: 11 !important;
}

/* ── Continent rows with background ── */
.continent-row {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 0.8rem !important;
}

.continent-row-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.continent-row:hover .continent-row-bg {
    opacity: 0.5;
}

.continent-row-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.3) 50%,
        rgba(0,0,0,0.1) 100%
    );
    z-index: 1;
}

.continent-row .article-details,
.continent-row .article-image {
    position: relative;
    z-index: 2;
}

.continent-row .article-title {
    text-shadow: 0 2px 10px rgba(0,0,0,0.8) !important;
    color: #fff !important;
}

.continent-row .article-meta,
.continent-row .article-description {
    text-shadow: 0 1px 6px rgba(0,0,0,0.8) !important;
    color: rgba(255,255,255,0.9) !important;
}

.continent-row .article-image img {
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4)) !important;
}


/* ── Featured Post widget ── */
.featured-post-widget {
    background: var(--card-background);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-l1);
    margin-bottom: 1.5rem;
}

.widget-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--card-text-color-secondary);
    margin: 1rem 1rem 0.8rem 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.featured-post-img-link {
    display: block;
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.featured-post-img {
    width: 100% !important;
    height: 160px !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.3s ease;
    border-radius: 0 !important;
}

.featured-post-img-link:hover .featured-post-img {
    transform: scale(1.05);
}

.featured-post-body {
    padding: 1rem;
}

.featured-post-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.featured-post-title a {
    color: var(--card-text-color-main) !important;
    text-decoration: none !important;
}

.featured-post-title a:hover {
    color: var(--accent-color) !important;
}

.featured-post-desc {
    font-size: 0.85rem;
    color: var(--card-text-color-secondary);
    line-height: 1.5;
    margin: 0 0 0.8rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-post-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color) !important;
    text-decoration: none !important;
}

.featured-post-link:hover {
    text-decoration: underline !important;
}

/* ── Right sidebar widget spacing ── */
.right-sidebar .widget {
    margin-bottom: 0.8rem !important;
}

.right-sidebar section {
    margin-bottom: 0.8rem !important;
}
/* ── Related posts — fix oval shape ── */
.article-image img {
    border-radius: 8px !important;
    object-fit: cover !important;
}

/* ── Image captions ── */
.img-caption {
    font-size: 1.85rem;
    color: #555 !important;
    text-align: center;
    margin-top: 0.3rem !important;
    margin-bottom: 1rem !important;
    font-style: italic;
}

[data-scheme="dark"] .img-caption {
    color: #999 !important;
}