/**
 * Live Breathe Scotland - Main Stylesheet
 * Consolidated styles for all pages
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --scottish-blue: #1a3a5c;
    --scottish-blue-deep: #0f2540;
    --heather: #8b7eb8;
    --highland-mist: #f4f6f8;
    --peat: #2c2825;
    --whisky-gold: #d4a84b;
    --stone-grey: #6b7280;
    --cream: #faf9f7;
    --saltire-white: #ffffff;
    --sidebar-width: 340px;
    --content-max: 850px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--cream);
    color: var(--peat);
    line-height: 1.7;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   NAVIGATION - DEFAULT (Article pages)
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(250, 249, 247, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(26, 58, 92, 0.08);
}

.nav-logo {
    display: flex;
    align-items: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--scottish-blue-deep);
    text-decoration: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-logo:hover {
    color: var(--scottish-blue);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--scottish-blue-deep);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--scottish-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-social {
    display: flex;
    gap: 0.5rem;
    margin-left: 1.5rem;
}

.nav-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(26, 58, 92, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--scottish-blue-deep);
}

.nav-social a:hover {
    background: var(--scottish-blue);
    border-color: var(--scottish-blue);
    color: var(--saltire-white);
}

.nav-social svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: all 0.3s ease;
}

/* Instagram icon uses stroke, not fill */
.nav-social svg rect,
.nav-social svg circle:not([fill="currentColor"]) {
    fill: none !important;
}

.nav-cta {
    background: var(--scottish-blue);
    color: var(--saltire-white) !important;
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--scottish-blue-deep);
    transform: translateY(-2px);
}

/* ============================================
   NAVIGATION - HOMEPAGE VARIANT
   ============================================ */
.nav-homepage {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    padding: 1.5rem 4rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-homepage .nav-logo {
    color: var(--saltire-white);
}

.nav-homepage .nav-logo:hover {
    color: var(--whisky-gold);
}

.nav-homepage .nav-links a {
    color: var(--saltire-white);
}

.nav-homepage .nav-links a::after {
    background: var(--saltire-white);
}

.nav-homepage .nav-social a {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--saltire-white);
}

.nav-homepage .nav-social a:hover {
    background: var(--saltire-white);
    border-color: var(--saltire-white);
    color: var(--scottish-blue-deep);
}

.nav-homepage .mobile-menu-toggle span {
    background: var(--saltire-white);
}

.nav-homepage.scrolled {
    background: rgba(250, 249, 247, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(26, 58, 92, 0.08);
}

.nav-homepage.scrolled .nav-logo {
    color: var(--scottish-blue-deep);
}

.nav-homepage.scrolled .nav-logo:hover {
    color: var(--scottish-blue);
}

.nav-homepage.scrolled .nav-links a {
    color: var(--scottish-blue-deep);
}

.nav-homepage.scrolled .nav-links a::after {
    background: var(--scottish-blue);
}

.nav-homepage.scrolled .nav-social a {
    border-color: rgba(26, 58, 92, 0.2);
    color: var(--scottish-blue-deep);
}

.nav-homepage.scrolled .nav-social a:hover {
    background: var(--scottish-blue);
    border-color: var(--scottish-blue);
    color: var(--saltire-white);
}

.nav-homepage.scrolled .mobile-menu-toggle span {
    background: var(--scottish-blue-deep);
}

/* ============================================
   NAVIGATION - CENTERED VARIANT (Info pages)
   ============================================ */
.nav-centered {
    justify-content: center;
    gap: 3rem;
}

.nav-centered .nav-links {
    position: static;
    gap: 2.5rem;
}

.nav-centered .nav-logo {
    position: absolute;
    left: 4rem;
}

@media (max-width: 1080px) {
    .nav-centered .nav-logo {
        position: static;
        left: auto;
    }
    
    .nav-centered {
        justify-content: space-between;
    }
}

/* ============================================
   MOBILE MENU TOGGLE
   ============================================ */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--scottish-blue-deep);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   MOBILE MENU OVERLAY & PANEL
   ============================================ */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 37, 64, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
    backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--scottish-blue-deep);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    display: none;
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
    color: var(--saltire-white);
}

.mobile-menu-content {
    padding: 4rem 2rem 2rem;
    flex: 1;
}

.mobile-menu-logo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    color: var(--saltire-white);
    display: block;
    margin-bottom: 2.5rem;
}

.mobile-menu-logo:hover {
    color: var(--whisky-gold);
}

.mobile-menu-links {
    list-style: none;
}

.mobile-menu-links li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-links a {
    display: block;
    padding: 1rem 0;
    color: var(--saltire-white);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu.active .mobile-menu-links a {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-links li:nth-child(1) a { transition-delay: 0.1s; }
.mobile-menu-links li:nth-child(2) a { transition-delay: 0.15s; }
.mobile-menu-links li:nth-child(3) a { transition-delay: 0.2s; }
.mobile-menu-links li:nth-child(4) a { transition-delay: 0.25s; }
.mobile-menu-links li:nth-child(5) a { transition-delay: 0.3s; }
.mobile-menu-links li:nth-child(6) a { transition-delay: 0.35s; }
.mobile-menu-links li:nth-child(7) a { transition-delay: 0.4s; }
.mobile-menu-links li:nth-child(8) a { transition-delay: 0.45s; }
.mobile-menu-links li:nth-child(9) a { transition-delay: 0.5s; }

.mobile-menu-links a:hover {
    color: var(--whisky-gold);
    padding-left: 0.5rem;
}

.mobile-menu-cta {
    background: var(--whisky-gold) !important;
    color: var(--scottish-blue-deep) !important;
    display: inline-block !important;
    padding: 0.75rem 1.5rem !important;
    margin: 0.5rem 0;
    font-weight: 500 !important;
}

.mobile-menu-footer {
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-social {
    display: flex;
    gap: 1rem;
}

.mobile-menu-social a {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-social a:hover {
    background: var(--scottish-blue);
    border-color: var(--scottish-blue);
}

.mobile-menu-social svg {
    width: 18px;
    height: 18px;
    color: var(--saltire-white);
}

/* Icons that use path elements need fill */
.mobile-menu-social svg path {
    fill: var(--saltire-white);
}

/* Instagram icon uses stroke, not fill */
.mobile-menu-social svg rect,
.mobile-menu-social svg circle {
    stroke: var(--saltire-white);
    fill: none;
}

/* The small dot in Instagram icon needs fill */
.mobile-menu-social svg circle[fill="currentColor"] {
    fill: var(--saltire-white);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 5rem 4rem 3rem;
    background: var(--peat);
    color: var(--saltire-white);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.8;
    max-width: 300px;
    margin-top: 1rem;
}

.footer-logo-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    color: var(--saltire-white);
    display: block;
}

.footer-logo-text:hover {
    color: var(--whisky-gold);
}

.footer-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--whisky-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--saltire-white);
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--scottish-blue);
    border-color: var(--scottish-blue);
}

.footer-social svg {
    width: 16px;
    height: 16px;
    fill: var(--saltire-white);
}

.footer-social svg.icon-stroke {
    fill: none;
    stroke: var(--saltire-white);
    stroke-width: 2;
}

.footer-social svg.icon-stroke .dot {
    fill: var(--saltire-white);
    stroke: none;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

.footer-bottom a {
    color: var(--whisky-gold);
    text-decoration: underline;
    text-decoration-color: rgba(212, 168, 75, 0.5);
}

.footer-bottom a:hover {
    color: var(--saltire-white);
    text-decoration-color: var(--saltire-white);
}

/* ============================================
   HOMEPAGE - HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: url('https://www.livebreathescotland.com/article_images/home.webp') center center / cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 37, 64, 0.3) 0%,
        rgba(15, 37, 64, 0.15) 40%,
        rgba(15, 37, 64, 0.4) 100%
    );
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 2rem;
    animation: fadeUp 1.2s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    width: 220px;
    height: auto;
    margin-bottom: 2.5rem;
    animation: fadeUp 1s ease-out;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.hero-tagline {
    font-size: 0.875rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--saltire-white);
    margin-bottom: 1.5rem;
    animation: fadeUp 1s ease-out 0.2s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    color: var(--saltire-white);
    margin-bottom: 1.5rem;
    animation: fadeUp 1s ease-out 0.3s both;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title em {
    font-style: italic;
    color: var(--saltire-white);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--saltire-white);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 400;
    animation: fadeUp 1s ease-out 0.4s both;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--saltire-white);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: fadeUp 1s ease-out 0.6s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    z-index: 2;
    text-align: center;
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--saltire-white), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.6); opacity: 0.5; }
}

/* ============================================
   HOMEPAGE - SECTION STYLES
   ============================================ */
.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #555555;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--scottish-blue-deep);
}

.view-all {
    font-size: 0.875rem;
    color: var(--scottish-blue);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.view-all:hover {
    gap: 1rem;
}

.view-all svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   HOMEPAGE - FEATURED ARTICLES
   ============================================ */
.featured {
    padding: 4rem 4rem;
    background: var(--saltire-white);
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    min-height: 600px;
}

.featured-main {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.featured-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.featured-main-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem 3rem 3rem;
    background: linear-gradient(to top, rgba(15, 37, 64, 0.95) 0%, transparent 100%);
    color: var(--saltire-white);
}

.featured-category {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    background: var(--whisky-gold);
    color: var(--scottish-blue-deep);
    margin-bottom: 1.5rem;
}

.featured-main-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.featured-main-excerpt {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 500px;
}

.featured-side {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.featured-side-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.featured-side-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.featured-side-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 2rem 2rem;
    background: linear-gradient(to top, rgba(15, 37, 64, 0.9) 0%, transparent 100%);
    color: var(--saltire-white);
}

.featured-side-title {
    font-size: 1.5rem;
    line-height: 1.3;
}

/* ============================================
   HOMEPAGE - ARTICLES GRID
   ============================================ */
.articles {
    padding: 4rem 4rem;
    background: var(--cream);
}

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

.article-card {
    cursor: pointer;
    transition: transform 0.4s ease;
    display: block;
}

.article-card:hover {
    transform: translateY(-8px);
}

.article-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: 1.5rem;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.article-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 37, 64, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.article-card:hover .article-image::after {
    opacity: 1;
}

.article-card .article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.article-category {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--scottish-blue);
    font-weight: 500;
}

.article-date {
    font-size: 0.8rem;
    color: var(--stone-grey);
}

.article-card .article-title {
    font-size: 1.5rem;
    color: var(--scottish-blue-deep);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: var(--scottish-blue);
}

.article-excerpt {
    font-size: 0.95rem;
    color: var(--stone-grey);
    line-height: 1.7;
}

/* ============================================
   HOMEPAGE - REGIONS SECTION
   ============================================ */
.regions {
    padding: 4rem 4rem;
    background: var(--scottish-blue-deep);
    color: var(--saltire-white);
}

.regions-header {
    text-align: center;
    margin-bottom: 5rem;
}

.regions-header .section-label {
    color: var(--whisky-gold);
}

.regions-header .section-title {
    color: var(--saltire-white);
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.region-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.region-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.region-card:hover img {
    transform: scale(1.1);
}

.region-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 37, 64, 0.9) 0%, rgba(15, 37, 64, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: background 0.4s ease;
}

.region-card:hover .region-overlay {
    background: linear-gradient(to top, rgba(26, 58, 92, 0.95) 0%, rgba(26, 58, 92, 0.5) 60%, transparent 100%);
}

.region-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.region-count {
    font-size: 0.8rem;
    opacity: 0.7;
    letter-spacing: 0.1em;
}

/* ============================================
   HOMEPAGE - ABOUT SECTION
   ============================================ */
.about-section {
    padding: 6rem 4rem;
    background: var(--saltire-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image-container {
    position: relative;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
}

.about-image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--whisky-gold);
    z-index: -1;
}

.about-content .section-label {
    margin-bottom: 1rem;
}

.about-content .section-title {
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--peat);
    margin-bottom: 1.5rem;
}

.about-text a {
    color: var(--scottish-blue);
    text-decoration: underline;
    text-decoration-color: rgba(26, 58, 92, 0.3);
    text-underline-offset: 3px;
}

.about-text a:hover {
    text-decoration-color: var(--scottish-blue);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(26, 58, 92, 0.1);
}

.about-highlight {
    text-align: center;
}

.about-highlight-number {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.5rem;
    color: var(--scottish-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.about-highlight-label {
    font-size: 0.8rem;
    color: var(--stone-grey);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================
   HOMEPAGE - NEWSLETTER SECTION
   ============================================ */
.newsletter {
    padding: 10rem 4rem;
    background: var(--highland-mist);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 58, 92, 0.04) 0%, transparent 70%);
}

.newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter .section-title {
    margin-bottom: 1.5rem;
}

.newsletter-text {
    font-size: 1.1rem;
    color: var(--stone-grey);
    margin-bottom: 3rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.newsletter-input {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    border: 1px solid rgba(26, 58, 92, 0.2);
    background: var(--saltire-white);
    width: 320px;
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--scottish-blue);
}

.newsletter-btn {
    padding: 1.25rem 2.5rem;
    background: var(--scottish-blue);
    color: var(--saltire-white);
    border: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--scottish-blue-deep);
    transform: translateY(-2px);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   INFO PAGES - SHARED STYLES
   ============================================ */

/* Page Hero */
.page-hero {
    padding: 10rem 4rem 5rem;
    background: linear-gradient(135deg, var(--scottish-blue-deep) 0%, var(--scottish-blue) 100%);
    text-align: center;
    color: var(--saltire-white);
}

.page-hero .section-label {
    color: var(--whisky-gold);
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.page-hero-subtitle {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.8;
}

/* Page Content Container */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-content-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-content h2 {
    font-size: 2rem;
    color: var(--scottish-blue-deep);
    margin-bottom: 1.5rem;
}

.page-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--peat);
    margin-bottom: 1.5rem;
}

.page-content a {
    color: var(--scottish-blue);
    text-decoration: underline;
    text-decoration-color: rgba(26, 58, 92, 0.3);
}

.page-content a:hover {
    text-decoration-color: var(--scottish-blue);
}

/* Info Cards Grid */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: var(--saltire-white);
    padding: 2.5rem;
    border: 1px solid rgba(26, 58, 92, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.info-card:hover {
    box-shadow: 0 10px 40px rgba(26, 58, 92, 0.1);
    transform: translateY(-4px);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    background: var(--highland-mist);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.info-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--scottish-blue);
    fill: none;
    stroke-width: 2;
}

.info-card h3 {
    font-size: 1.35rem;
    color: var(--scottish-blue-deep);
    margin-bottom: 1rem;
}

.info-card p {
    font-size: 0.95rem;
    color: var(--stone-grey);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(26, 58, 92, 0.08);
    font-size: 1rem;
    line-height: 1.7;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: var(--scottish-blue);
    color: var(--saltire-white);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* CTA Section */
.page-cta {
    background: var(--scottish-blue-deep);
    color: var(--saltire-white);
    padding: 4rem;
    text-align: center;
    margin-top: 4rem;
}

.page-cta h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--saltire-white);
}

.page-cta p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    color: var(--saltire-white);
}

.page-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--whisky-gold);
    color: var(--scottish-blue-deep);
}

.btn-primary:hover {
    background: var(--saltire-white);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--saltire-white) !important;
    border: 2px solid var(--saltire-white);
}

.btn-secondary:hover {
    background: var(--saltire-white);
    color: var(--scottish-blue-deep) !important;
    border-color: var(--saltire-white);
}

.btn-outline {
    background: transparent;
    color: var(--scottish-blue);
    border: 1px solid var(--scottish-blue);
}

.btn-outline:hover {
    background: var(--scottish-blue);
    color: var(--saltire-white);
}

/* About Page Specific */
.about-intro-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-intro-text h2 {
    font-size: 2rem;
    color: var(--scottish-blue-deep);
    margin-bottom: 1.5rem;
}

.about-full-image {
    margin: 3rem 0;
    position: relative;
}

.about-full-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.about-full-image figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
    background: linear-gradient(to top, rgba(15, 37, 64, 0.9), transparent);
    color: var(--saltire-white);
    font-size: 0.9rem;
}

.trust-section {
    background: var(--highland-mist);
    padding: 3rem;
    margin: 3rem 0;
    border-left: 4px solid var(--whisky-gold);
}

.trust-section h2 {
    font-size: 1.75rem;
    color: var(--scottish-blue-deep);
    margin-bottom: 1.5rem;
}

.story-section {
    margin-bottom: 3rem;
}

.story-section h2 {
    font-size: 1.75rem;
    color: var(--scottish-blue-deep);
    margin-bottom: 1.5rem;
}

.story-image {
    margin: 2rem 0;
}

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

.story-image figcaption {
    font-size: 0.85rem;
    color: var(--stone-grey);
    text-align: center;
    margin-top: 0.75rem;
    font-style: italic;
}

/* Itinerary Cards */
.itinerary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.itinerary-card {
    display: block;
    background: var(--saltire-white);
    border: 1px solid rgba(26, 58, 92, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
    text-decoration: none;
}

.itinerary-card:hover {
    box-shadow: 0 15px 50px rgba(26, 58, 92, 0.15);
    transform: translateY(-6px);
}

.itinerary-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.itinerary-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.itinerary-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--whisky-gold);
    color: var(--scottish-blue-deep);
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.itinerary-card-content {
    padding: 1.5rem;
}

.itinerary-card h3 {
    font-size: 1.35rem;
    color: var(--scottish-blue-deep);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.itinerary-card p {
    font-size: 0.9rem;
    color: var(--stone-grey);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Map Container */
.map-container {
    margin: 3rem 0;
    border: 1px solid rgba(26, 58, 92, 0.1);
    background: var(--saltire-white);
}

.map-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.map-note {
    padding: 1rem 1.5rem;
    background: var(--highland-mist);
    font-size: 0.9rem;
    color: #555555;
}

.map-note a {
    color: var(--scottish-blue);
    text-decoration: underline;
}

/* Article Index */
.region-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 3rem 0;
}

.region-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--saltire-white);
    border: 1px solid rgba(26, 58, 92, 0.15);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--scottish-blue-deep);
    transition: all 0.3s ease;
    text-decoration: none;
}

.region-btn:hover {
    background: var(--scottish-blue);
    color: var(--saltire-white);
    border-color: var(--scottish-blue);
}

.region-btn .count {
    background: var(--highland-mist);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 500;
}

.region-btn:hover .count {
    background: rgba(255, 255, 255, 0.2);
}

/* Article List */
.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.article-list-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--saltire-white);
    border: 1px solid rgba(26, 58, 92, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
}

.article-list-item:hover {
    box-shadow: 0 8px 30px rgba(26, 58, 92, 0.1);
    transform: translateY(-3px);
}

.article-list-thumb {
    width: 100px;
    height: 75px;
    flex-shrink: 0;
    overflow: hidden;
}

.article-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-list-content h3 {
    font-size: 1rem;
    color: var(--scottish-blue-deep);
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.article-list-content p {
    font-size: 0.8rem;
    color: var(--stone-grey);
    margin: 0;
}

/* Scotland Map (Article Index) */
.scotland-map-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 3rem;
}

.scotland-map-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--scottish-blue-deep);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    border: 1px solid rgba(26, 58, 92, 0.2);
    background: var(--saltire-white);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--scottish-blue);
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

/* Consultation Packages */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.package-card {
    background: var(--saltire-white);
    border: 1px solid rgba(26, 58, 92, 0.1);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.package-card:hover {
    box-shadow: 0 15px 50px rgba(26, 58, 92, 0.12);
}

.package-card.featured {
    border-color: var(--whisky-gold);
    border-width: 2px;
}

.package-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--whisky-gold);
    color: var(--scottish-blue-deep);
    padding: 0.35rem 1rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.package-name {
    font-size: 1.5rem;
    color: var(--scottish-blue-deep);
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--scottish-blue);
    margin-bottom: 1.5rem;
}

.package-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--stone-grey);
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.package-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(26, 58, 92, 0.08);
    font-size: 0.95rem;
    color: var(--peat);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li::before {
    content: '✓';
    color: var(--scottish-blue);
    font-weight: bold;
}

/* ============================================
   RESPONSIVE - NAVIGATION
   ============================================ 
@media (max-width: 1500px) {
    .nav-social {
        display: none;
    }
}

@media (max-width: 1295px) {
    .nav-cta {
        display: none;
    }
}

@media (max-width: 1080px) {
    .nav {
        padding: 1rem 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .nav-logo {
        font-size: 1.25rem;
    }
}*/


/* ============================================
   NAVIGATION DROPDOWN MENUS - Desktop
   Add this CSS to your styles.css
   ============================================ */
/* Desktop Dropdown Container */
.nav-links > li {
    position: relative;
}
/* Dropdown arrow using span element - no conflict with ::after underline */
.dropdown-arrow {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 4px;
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}
.nav-links > li.has-dropdown:hover .dropdown-arrow {
    transform: rotate(-135deg);
}
/* Desktop Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: rgba(250, 249, 247, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(26, 58, 92, 0.15);
    border: 1px solid rgba(26, 58, 92, 0.08);
    list-style: none;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
}
.nav-links > li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.dropdown-menu li {
    margin: 0;
}
.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: none;
    color: var(--scottish-blue-deep);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.dropdown-menu a:hover {
    background: rgba(26, 58, 92, 0.05);
    color: var(--scottish-blue);
    padding-left: 1.5rem;
}
/* Homepage variant dropdown */
.nav-homepage .dropdown-menu {
    background: rgba(15, 37, 64, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}
.nav-homepage .dropdown-menu a {
    color: var(--saltire-white);
}
.nav-homepage .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--whisky-gold);
}
.nav-homepage.scrolled .dropdown-menu {
    background: rgba(250, 249, 247, 0.98);
    border-color: rgba(26, 58, 92, 0.08);
}
.nav-homepage.scrolled .dropdown-menu a {
    color: var(--scottish-blue-deep);
}
.nav-homepage.scrolled .dropdown-menu a:hover {
    background: rgba(26, 58, 92, 0.05);
    color: var(--scottish-blue);
}
/* ============================================
   MOBILE DROPDOWN MENUS
   ============================================ */
/* Update mobile menu content padding */
.mobile-menu-content {
    padding: 5rem 2rem 2rem;
    flex: 1;
}
.mobile-has-dropdown {
    position: relative;
}
.mobile-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.mobile-dropdown-header > a,
.mobile-dropdown-label {
    flex: 1;
    display: block;
    padding: 1rem 0;
    color: var(--saltire-white);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}
.mobile-dropdown-header > a:hover,
.mobile-has-dropdown.open .mobile-dropdown-label {
    color: var(--whisky-gold);
}
/* Make entire dropdown header clickable */
.mobile-has-dropdown > .mobile-dropdown-header {
    user-select: none;
}
.mobile-dropdown-toggle {
    background: none;
    border: none;
    padding: 1rem;
    cursor: pointer;
    color: var(--saltire-white);
    transition: transform 0.3s ease;
}
.mobile-dropdown-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
.mobile-has-dropdown.open .mobile-dropdown-toggle svg {
    transform: rotate(180deg);
}
.mobile-dropdown-menu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}
.mobile-has-dropdown.open .mobile-dropdown-menu {
    max-height: 600px;
}
.mobile-dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-dropdown-menu li:last-child {
    border-bottom: none;
}
.mobile-dropdown-menu a {
    display: block;
    padding: 0.875rem 1rem 0.875rem 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 1 !important;
    transform: none !important;
}
.mobile-dropdown-menu a:hover {
    color: var(--whisky-gold);
    padding-left: 2.5rem;
}
/* ============================================
   UPDATED RESPONSIVE BREAKPOINTS
   These replace the existing breakpoints in styles.css
   ============================================ */
/* Hide social icons earlier */
@media (max-width: 1500px) {
    .nav-social {
        display: none;
    }
}
/* Hide CTA button */
@media (max-width: 1450px) {
    .nav-cta {
        display: none;
    }
}
/* Switch to mobile menu at 1390px */
@media (max-width: 1390px) {
    .nav {
        padding: 1rem 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-centered .nav-logo {
        position: static;
        left: auto;
    }
    
    .nav-centered {
        justify-content: space-between;
    }
}

/* Hide mobile menu when viewport is wider than mobile breakpoint */
@media (min-width: 1391px) {
    .mobile-menu,
    .mobile-menu.active,
    .mobile-menu-overlay,
    .mobile-menu-overlay.active {
        display: none !important;
        visibility: hidden !important;
    }
    
    body.menu-open {
        overflow: auto !important;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }
    .nav-logo {
        font-size: 1.25rem;
    }
}

/* ============================================
   RESPONSIVE - HOMEPAGE
   ============================================ */
@media (max-width: 1200px) {
    .featured, .articles, .regions, .newsletter, .footer, .about-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-side {
        flex-direction: row;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .regions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-container {
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .featured {
        padding: 4rem 1.5rem;
    }

    .featured-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .featured-main {
        min-height: 400px;
    }

    .featured-main-overlay {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .featured-category {
        margin-bottom: 1rem;
        font-size: 0.65rem;
        padding: 0.4rem 0.75rem;
    }

    .featured-main-title {
        font-size: 1.35rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .featured-main-excerpt {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .featured-side {
        flex-direction: column;
    }

    .featured-side-card {
        min-height: 250px;
    }

    .featured-side-overlay {
        padding: 2rem 1.5rem 1.5rem;
    }

    .featured-side-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .articles {
        padding: 4rem 1.5rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .regions {
        padding: 4rem 1.5rem;
    }

    .regions-grid {
        grid-template-columns: 1fr;
    }

    .newsletter {
        padding: 5rem 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-input {
        width: 100%;
        max-width: 320px;
    }

    .footer {
        padding: 4rem 1.5rem 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }

    .about-section {
        padding: 4rem 1.5rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-content .section-title {
        font-size: 2rem;
    }

    /* Info Pages Responsive */
    .page-hero {
        padding: 8rem 1.5rem 4rem;
    }

    .page-content,
    .page-content-wide {
        padding: 3rem 1.5rem;
    }

    .page-cta {
        padding: 3rem 1.5rem;
    }

    .page-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .trust-section {
        padding: 2rem;
    }

    .about-full-image img {
        height: 280px;
    }

    .itinerary-grid {
        grid-template-columns: 1fr;
    }

    .map-container iframe {
        height: 400px;
    }

    .article-list-item {
        flex-direction: column;
    }

    .article-list-thumb {
        width: 100%;
        height: 180px;
    }

    .package-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================
   ARTICLE PAGE STYLES
   ============================================ */

/* Article Hero */
.article-hero {
    padding-top: 68px;
    position: relative;
}

.article-hero-image {
    width: 100%;
    height: 60vh;
    min-height: 450px;
    max-height: 600px;
    object-fit: cover;
}

/* Hero Social Icons - positioned to align with sidebar */
.hero-social {
    position: absolute;
    top: 100px;
    right: 4rem;
    display: none;
    flex-direction: row;
    gap: 0.5rem;
    z-index: 10;
}

.hero-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-social a:hover {
    background: var(--scottish-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-social svg {
    width: 18px;
    height: 18px;
    fill: var(--scottish-blue-deep);
    transition: all 0.3s ease;
}

.hero-social svg.icon-stroke {
    fill: none;
    stroke: var(--scottish-blue-deep);
    stroke-width: 2;
}

.hero-social svg.icon-stroke .dot {
    fill: var(--scottish-blue-deep);
    stroke: none;
}

.hero-social a:hover svg {
    fill: var(--saltire-white);
}

.hero-social a:hover svg.icon-stroke {
    fill: none;
    stroke: var(--saltire-white);
}

.hero-social a:hover svg.icon-stroke .dot {
    fill: var(--saltire-white);
}

/* Show hero social when nav social is hidden (at 1500px) */
@media (max-width: 1500px) {
    .hero-social {
        display: flex;
    }
}

/* Keep aligned with content at 1200px */
@media (max-width: 1200px) {
    .hero-social {
        right: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-social {
        display: none;
    }
}

.article-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6rem 0 4rem;
    background: linear-gradient(to top, rgba(15, 37, 64, 0.95) 0%, rgba(15, 37, 64, 0.7) 50%, transparent 100%);
    color: var(--saltire-white);
    display: flex;
    justify-content: center;
}

.article-hero-content {
    width: 100%;
    max-width: calc(var(--content-max) + var(--sidebar-width) + 4rem + 8rem);
    padding-left: 4rem;
    padding-right: calc(var(--sidebar-width) + 4rem + 4rem);
}

.article-category-tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    background: var(--whisky-gold);
    color: var(--scottish-blue-deep);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.article-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-meta-item svg {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

.article-meta a {
    color: inherit;
    text-decoration: underline;
}

/* Main Layout */
.article-layout {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: 4rem;
    max-width: calc(var(--content-max) + var(--sidebar-width) + 4rem + 8rem);
    margin: 0 auto;
    padding: 4rem;
}

/* Article Content */
.article-content {
    max-width: var(--content-max);
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.85;
}

.article-content h2 {
    font-size: 2rem;
    color: var(--scottish-blue-deep);
    margin: 1rem 0 1.5rem;
    padding-top: 1rem;
}

.article-content h3 {
    font-size: 1.5rem;
    color: var(--scottish-blue-deep);
    margin: 2.5rem 0 1rem;
}

.article-content h4 {
    font-size: 1.25rem;
    color: var(--scottish-blue-deep);
    margin: 2rem 0 1rem;
}

.article-content ul, .article-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.article-content a {
    color: var(--scottish-blue);
    text-decoration: underline;
    text-decoration-color: rgba(26, 58, 92, 0.3);
    text-underline-offset: 3px;
}

.article-content a:hover {
    text-decoration-color: var(--scottish-blue);
}

.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem 0;
}

/* Article Images with Captions */
.article-content figure {
    margin: 2.5rem 0;
}

.article-content figure img {
    margin: 0;
}

.article-content figcaption {
    font-size: 0.875rem;
    color: var(--stone-grey);
    margin-top: 0.75rem;
    font-style: italic;
    line-height: 1.5;
}

/* Video Embeds - Responsive with Lazy Loading */
.article-content video,
.article-content iframe[src*="youtube"],
.article-content iframe[src*="vimeo"],
.article-content iframe[src*="dailymotion"] {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    display: block;
    margin: 2rem 0;
    background: var(--peat);
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--peat);
    margin: 2rem 0;
    cursor: pointer;
    overflow: hidden;
}

.video-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-wrapper:hover::before {
    opacity: 0.7;
}

.video-wrapper .video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--scottish-blue);
    border-radius: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.video-wrapper:hover .video-play-btn {
    background: var(--whisky-gold);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-wrapper .video-play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent var(--saltire-white);
    margin-left: 4px;
}

.video-wrapper video,
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.video-wrapper.video-loaded::before,
.video-wrapper.video-loaded .video-play-btn {
    display: none;
}

.video-wrapper .video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-caption {
    font-size: 0.875rem;
    color: var(--stone-grey);
    margin-top: 0.5rem;
    font-style: italic;
    line-height: 1.5;
}

.article-content strong {
    font-weight: 500;
    color: var(--scottish-blue-deep);
}

/* Styled Lists */
.article-content ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.article-content ul li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    padding-left: 1.75rem;
    position: relative;
}

.article-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--scottish-blue);
    border-radius: 50%;
}

.article-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-content ol li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    padding-left: 0.5rem;
}

/* Fact Box / Table of Contents */
.article-content .fact-box,
.article-content div[style*="background"] {
    background: var(--highland-mist) !important;
    padding: 2.5rem 2rem;
    margin: 2.5rem 0;
    border: none;
    border-left: 4px solid var(--scottish-blue);
}

.article-content .fact-box h4,
.article-content div[style*="background"] h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--scottish-blue-deep);
}

.article-content .fact-box ul,
.article-content div[style*="background"] ul {
    margin: 0;
}

/* Top-level list items - no bullets */
.article-content .fact-box > ul > li,
.article-content div[style*="background"] > ul > li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    list-style: none;
    padding-left: 0;
}

/* Add space below top-level items that have nested lists */
.article-content .fact-box > ul > li:has(ul),
.article-content div[style*="background"] > ul > li:has(ul) {
    margin-bottom: 0.25rem;
    padding-bottom: 0.5rem;
}

/* Add margin-top to nested lists for spacing from parent item */
.article-content .fact-box > ul > li > ul,
.article-content div[style*="background"] > ul > li > ul {
    margin-top: 0.75rem;
}

.article-content .fact-box > ul > li::before,
.article-content div[style*="background"] > ul > li::before {
    display: none;
}

/* Nested list items - keep bullets */
.article-content .fact-box ul ul li,
.article-content div[style*="background"] ul ul li {
    padding-left: 1.75rem;
    position: relative;
}

.article-content .fact-box ul ul li::before,
.article-content div[style*="background"] ul ul li::before {
    display: block;
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--scottish-blue);
    border-radius: 50%;
}

/* FAQ Section */
.article-content .faq-item,
.article-content p strong + br {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(26, 58, 92, 0.1);
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(26, 58, 92, 0.1);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question,
.article-content p {
    color: var(--scottish-blue-deep);
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    display: block;
}

.faq-answer {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Key Info Box */
.key-info-box,
.article-content div[style*="#0f2540"],
.article-content div[style*="scottish-blue-deep"] {
    background: var(--scottish-blue-deep) !important;
    color: var(--saltire-white) !important;
    padding: 2rem;
    margin: 2.5rem 0;
}

.key-info-box h3 {
    color: var(--whisky-gold);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.key-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.key-info-item {
    font-size: 0.9rem;
}

.key-info-item strong {
    color: var(--whisky-gold) !important;
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

/* Comment System */
.comments-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(26, 58, 92, 0.1);
}

.comments-section h3 {
    font-size: 1.5rem;
    color: var(--scottish-blue-deep);
    margin-bottom: 1.5rem;
}

.comments-section h3 a {
    color: var(--scottish-blue);
    text-decoration: underline;
}

.comment-form {
    background: var(--highland-mist);
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    border: 1px solid rgba(26, 58, 92, 0.2);
    background: var(--saltire-white);
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--scottish-blue);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form .recaptcha-wrapper {
    margin-bottom: 1rem;
}

.comment-form .email-field-wrapper {
    margin-bottom: 0;
}

.comment-form .email-field-wrapper input {
    margin-bottom: 0.4rem;
}

.comment-form .email-note {
    display: block;
    font-size: 0.8rem;
    color: #555555;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.comment-form button {
    background: var(--scottish-blue);
    color: var(--saltire-white);
    padding: 1rem 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
}

.comment-form button:hover {
    background: var(--scottish-blue-deep);
    transform: translateY(-2px);
}

.comment-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

#successlink {
    scroll-margin-top: 80px;
}

.comment-alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.comment-alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.comment-alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.comments-list {
    margin-top: 2rem;
}

.comments-list > h3 {
    margin-bottom: 1.5rem;
}

.single-comment {
    background: var(--saltire-white);
    border: 1px solid rgba(26, 58, 92, 0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.comment-meta {
    margin-bottom: 1rem;
}

.comment-author {
    font-weight: 500;
    color: var(--scottish-blue-deep);
    font-size: 1rem;
}

.comment-date {
    font-size: 0.8rem;
    color: var(--stone-grey);
    margin-top: 0.25rem;
}

.comment-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--peat);
}

.comment-text p {
    margin-bottom: 0.75rem;
}

.comment-text p:last-child {
    margin-bottom: 0;
}

.comment-reply {
    background: var(--highland-mist);
    border-left: 3px solid var(--scottish-blue);
    padding: 1.25rem;
    margin-top: 1rem;
    margin-left: 1.5rem;
}

.comment-reply .comment-author {
    font-size: 0.95rem;
}

.comment-reply .comment-text {
    font-size: 0.9rem;
}

/* Info Block - Practical Information Box */
.info-block {
    background: linear-gradient(135deg, var(--scottish-blue-deep) 0%, #0a1f33 100%);
    color: var(--saltire-white);
    padding: 2.5rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.info-block::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.15) 0%, transparent 70%);
    transform: translate(30%, -30%);
}

.info-block-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.info-block-header svg {
    width: 28px;
    height: 28px;
    fill: var(--whisky-gold);
}

.info-block-header h3 {
    font-size: 1.25rem;
    color: var(--whisky-gold);
    margin: 0;
    font-weight: 500;
}

.info-block-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-block-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-block-item svg {
    width: 20px;
    height: 20px;
    fill: var(--whisky-gold);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.info-block-item-content {
    flex: 1;
}

.info-block-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

.info-block-value {
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-block-value a {
    color: var(--whisky-gold);
    text-decoration: underline;
    text-decoration-color: rgba(212, 168, 75, 0.4);
}

.info-block-value a:hover {
    color: var(--saltire-white);
}

.info-block-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: right;
}

@media (max-width: 768px) {
    .info-block-grid {
        grid-template-columns: 1fr;
    }

    .info-block {
        padding: 1.75rem;
    }
}

/* Info Notice */
.info-notice {
    background: #d0ffcf;
    border: 3px solid #5d895c;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    color: #5d895c;
    font-weight: 500;
}

/* Sidebar */
.sidebar {
    position: relative;
    background-color: #FFF!important;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar-section {
    background: var(--saltire-white);
    padding: 1.75rem;
}

.sidebar-title {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--scottish-blue);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(26, 58, 92, 0.1);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
}

/* Sidebar Accommodation Card */
.sidebar-accomm-card {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    min-height: 180px;
    background: var(--scottish-blue-deep);
    transition: all 0.2s ease;
}

.sidebar-accomm-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 58, 92, 0.15);
}

.sidebar-accomm-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.sidebar-accomm-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(15, 37, 64, 0) 0%,
        rgba(15, 37, 64, 0.2) 20%,
        rgba(15, 37, 64, 0.5) 45%,
        rgba(15, 37, 64, 0.85) 75%,
        rgba(15, 37, 64, 0.95) 100%);
    z-index: 2;
}

.sidebar-accomm-content {
    position: relative;
    z-index: 3;
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 180px;
}

.sidebar-accomm-card.has-image .sidebar-accomm-content h4 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sidebar-accomm-card.has-image .sidebar-accomm-content p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.sidebar-accomm-card:not(.has-image) .sidebar-accomm-content {
    justify-content: flex-start;
}

.sidebar-accomm-card:not(.has-image) .sidebar-accomm-content h4 {
    color: white;
}

.sidebar-accomm-card:not(.has-image) .sidebar-accomm-content p {
    color: rgba(255, 255, 255, 0.8);
}

.sidebar-accomm-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.15rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.sidebar-accomm-content p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
}

.sidebar-accomm-count {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: var(--whisky-gold);
    font-weight: 600;
}

.sidebar-accomm-count svg {
    flex-shrink: 0;
}

/* Author Box */
.author-box {
    overflow: hidden;
}

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    float: left;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.author-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--scottish-blue-deep);
}

.author-box p {
    font-size: 0.85rem;
    color: var(--stone-grey);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.author-box p:last-of-type {
    margin-bottom: 0.5rem;
}

.author-box p a {
    color: var(--scottish-blue);
    text-decoration: underline;
}

.author-link {
    font-size: 0.8rem;
    color: var(--scottish-blue);
    margin-top: 0.5rem;
    display: inline-block;
    clear: both;
    text-decoration: underline;
}

/* Map Box - Sidebar specific (override styles.css) */
.sidebar .map-container {
    position: relative;
    margin: 0;
    border: none;
    background: transparent;
}

.sidebar .map-image {
    width: 100%;
    height: auto;
    display: block;
}

.sidebar .map-note {
    font-size: 0.8rem;
    color: #555555;
    margin-top: 0.75rem;
    line-height: 1.5;
    padding: 0;
    background: transparent;
}

.sidebar .map-note a {
    color: var(--scottish-blue);
    text-decoration: underline;
}

/* Location Dot on Map */
.map-location-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #22c55e;
    border: 2px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    pointer-events: none;
    z-index: 10;
}
.map-location-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* Categories */
.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-tag {
    display: inline-block;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    background: var(--highland-mist);
    color: var(--scottish-blue-deep);
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: var(--scottish-blue);
    color: var(--saltire-white);
}

/* Itinerary CTA */
.itinerary-cta {
    text-align: center;
}

.itinerary-cta img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.itinerary-cta p {
    font-size: 0.9rem;
    color: var(--stone-grey);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.itinerary-btn {
    display: inline-block;
    background: var(--whisky-gold);
    color: var(--scottish-blue-deep);
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.itinerary-btn:hover {
    background: var(--scottish-blue);
    color: var(--saltire-white);
}

/* Ad Placeholder */
.ad-placeholder {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Related Articles */
.related-section {
    background: var(--highland-mist);
    padding: 5rem 4rem;
    margin-top: 4rem;
}

.related-header {
    text-align: center;
    margin-bottom: 3rem;
}

.related-header .section-label {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #555555;
    margin-bottom: 1rem;
}

.related-header h2 {
    font-size: 2.5rem;
    color: var(--scottish-blue-deep);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.related-card {
    background: var(--saltire-white);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-decoration: none;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.related-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.related-card-content {
    padding: 1.5rem;
}

.related-card-category {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--scottish-blue);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.related-card-title {
    font-size: 1.25rem;
    color: var(--scottish-blue-deep);
    line-height: 1.3;
}

/* Newsletter */
.newsletter-inline {
    background: var(--scottish-blue-deep);
    padding: 2.5rem 4rem 4rem;
    margin: 3rem 0;
    text-align: center;
    color: var(--saltire-white);
}

.newsletter-inline h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--saltire-white);
}

.newsletter-inline p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

.newsletter-form-inline {
    display: flex;
    gap: 1rem;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form-inline input {
    flex: 1;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    border: none;
    font-family: 'DM Sans', sans-serif;
}

.newsletter-form-inline button {
    padding: 1rem 2rem;
    background: var(--whisky-gold);
    color: var(--scottish-blue-deep);
    border: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
}

.newsletter-form-inline button:hover {
    background: var(--saltire-white);
}

/* Footer */
.footer {
    padding: 5rem 4rem 2rem;
    background: var(--peat);
    color: var(--saltire-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-brand .footer-logo-text {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--saltire-white);
    text-decoration: none;
    margin-bottom: 1.25rem;
}

.footer-brand .footer-logo-text:hover {
    color: var(--whisky-gold);
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.7;
    max-width: 280px;
}

.footer-heading {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    color: var(--whisky-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--saltire-white);
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--saltire-white);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    background: var(--scottish-blue);
    border-color: var(--scottish-blue);
}

.footer-social svg {
    width: 16px;
    height: 16px;
    fill: var(--saltire-white);
}

.footer-social svg.icon-stroke {
    fill: none;
    stroke: var(--saltire-white);
    stroke-width: 2;
}

.footer-social svg.icon-stroke circle.dot {
    fill: var(--saltire-white);
    stroke: none;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

.footer-bottom a {
    color: var(--whisky-gold);
    text-decoration: underline;
    text-decoration-color: rgba(212, 168, 75, 0.5);
}

.footer-bottom a:hover {
    color: var(--saltire-white);
    text-decoration-color: var(--saltire-white);
}

/* Responsive */

/* Hide nav social icons at 1500px - they move to hero */
@media (max-width: 1500px) {
    .nav-social {
        display: none;
    }
}

/* Hide Free Guide button at 1295px */
@media (max-width: 1295px) {
    .nav-cta {
        display: none;
    }
}

/* Show mobile menu and hide nav links at 1080px */
@media (max-width: 1080px) {
    .nav {
        padding: 1rem 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 1200px) {
    .article-layout {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
    }

    .article-content {
        max-width: none;
    }

    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .sidebar-sticky {
        position: static;
        display: contents;
    }

    .sidebar-section {
        margin-bottom: 0;
    }

    .article-hero-overlay {
        padding: 6rem 2rem 4rem;
    }

    .article-hero-content {
        padding-left: 0;
        padding-right: 0;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .nav-logo {
        font-size: 1.25rem;
    }

    .article-hero-overlay {
        padding: 4rem 1.5rem 2rem;
    }

    .article-hero-content {
        padding-left: 0;
        padding-right: 0;
    }

    .article-hero-title {
        font-size: 1.75rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .article-layout {
        padding: 2rem 1.5rem;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .related-section {
        padding: 3rem 1.5rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-inline {
        padding: 2.5rem 1.5rem;
    }

    .newsletter-form-inline {
        flex-direction: column;
    }

    .footer {
        padding: 3rem 1.5rem 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }
}

/* Map Modal */
.map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.map-modal.active {
    display: flex;
}

.map-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 37, 64, 0.95);
    cursor: pointer;
}

.map-modal-container {
    position: relative;
    width: 90vw;
    height: 80vh;
    max-width: 1200px;
    background: var(--saltire-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: mapModalIn 0.3s ease;
}

@keyframes mapModalIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.map-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--saltire-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.map-modal-close:hover {
    background: var(--scottish-blue);
    transform: rotate(90deg);
}

.map-modal-close svg {
    width: 20px;
    height: 20px;
    color: var(--scottish-blue-deep);
    transition: color 0.3s ease;
}

.map-modal-close:hover svg {
    color: var(--saltire-white);
}

.map-modal-title {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--saltire-white);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--scottish-blue-deep);
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.map-modal-content {
    width: 100%;
    height: 100%;
}

.map-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-modal-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    color: var(--stone-grey);
}

@media (max-width: 768px) {
    .map-modal-container {
        width: 95vw;
        height: 85vh;
    }

    .map-modal-title {
        font-size: 0.8rem;
        max-width: calc(100% - 80px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ============================================
   Newsletter Popup Modal
   ============================================ */

.newsletter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
}

.newsletter-modal.active {
    display: flex;
}

.newsletter-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.newsletter-modal-container {
    position: relative;
    max-width: 420px;
    width: 90%;
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.newsletter-modal-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--saltire-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1;
}

.newsletter-modal-close:hover {
    background: var(--scottish-blue);
    transform: rotate(90deg);
}

.newsletter-modal-close svg {
    width: 18px;
    height: 18px;
    color: var(--scottish-blue-deep);
    transition: color 0.3s ease;
}

.newsletter-modal-close:hover svg {
    color: var(--saltire-white);
}

.newsletter-modal-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
    .newsletter-modal-container {
        width: 95%;
        max-width: none;
        padding: 20px;
    }

    .newsletter-modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }

    .newsletter-modal-close svg {
        width: 16px;
        height: 16px;
    }
}

/* ============================================
   Mediavine Ad Adjustment
   ============================================ */
@media only screen and (max-width: 359px) {
    .page-content-wide, .article-layout {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}