/* Font Face Declarations */
@font-face {
    font-family: 'Helvetica Now Display';
    src: url('https://republicans-germany.de/files/fonts/HelveticaNowDisplay-ExtraBold.woff2') format('woff2'),
         url('https://republicans-germany.de/files/fonts/HelveticaNowDisplay-ExtraBold.woff') format('woff'),
         url('https://republicans-germany.de/files/fonts/HelveticaNowDisplay-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Now Display';
    src: url('https://republicans-germany.de/files/fonts/HelveticaNowDisplay-ExtBdIta.woff2') format('woff2'),
         url('https://republicans-germany.de/files/fonts/HelveticaNowDisplay-ExtBdIta.woff') format('woff'),
         url('https://republicans-germany.de/files/fonts/HelveticaNowDisplay-ExtBdIta.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'Helvetica Now Text';
    src: url('https://republicans-germany.de/files/fonts/HelveticaNowText-Regular.woff2') format('woff2'),
         url('https://republicans-germany.de/files/fonts/HelveticaNowText-Regular.woff') format('woff'),
         url('https://republicans-germany.de/files/fonts/HelveticaNowText-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Now Text';
    src: url('https://republicans-germany.de/files/fonts/HelveticaNowText-RegIta.woff2') format('woff2'),
         url('https://republicans-germany.de/files/fonts/HelveticaNowText-RegIta.woff') format('woff'),
         url('https://republicans-germany.de/files/fonts/HelveticaNowText-RegIta.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Helvetica Now Text';
    src: url('https://republicans-germany.de/files/fonts/HelveticaNowText-Bold.woff2') format('woff2'),
         url('https://republicans-germany.de/files/fonts/HelveticaNowText-Bold.woff') format('woff'),
         url('https://republicans-germany.de/files/fonts/HelveticaNowText-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Now Text';
    src: url('https://republicans-germany.de/files/fonts/HelveticaNowText-BoldItalic.woff2') format('woff2'),
         url('https://republicans-germany.de/files/fonts/HelveticaNowText-BoldItalic.woff') format('woff'),
         url('https://republicans-germany.de/files/fonts/HelveticaNowText-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

/* Base Reset & Typography */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; background: linear-gradient(180deg, #213072 0%, #0A1847 100%); min-height: 100%; }
body { font-family: 'Helvetica Now Text', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 16px; line-height: 1.6; color: #333; overflow-x: hidden; font-weight: 400; background: linear-gradient(180deg, #213072 0%, #0A1847 100%); min-height: 100vh; }
h1, h2, h3, h4, h5, h6 { font-family: 'Helvetica Now Display', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 800; line-height: 1.2; margin-bottom: 1rem; color: #1e3a5f; }
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child { margin-top: 0; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: #1e3a5f; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #3498db; text-decoration: underline; }
strong { font-weight: 700; }
em { font-style: italic; }
ul, ol { margin-bottom: 1rem; padding-left: 2rem; }
ul li::marker { font-weight: 700; color: #1e3a5f; }
ol li::marker { font-weight: 700; color: #1e3a5f; }
li { margin-bottom: 0.5rem; }
blockquote { margin: 2rem 0; padding: 1.5rem 2rem; border-left: 4px solid #1e3a5f; background: #f8f9fa; font-style: italic; color: #555; }
code { background: #f4f4f4; padding: 0.2rem 0.4rem; font-family: monospace; font-size: 0.9em; }
hr { border: none; border-top: 1px solid #dee2e6; margin: 2rem 0; }

/* Grid System */
.container { max-width: 1100px; margin: 0 auto; }
.row { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.col-1-1 { width: 100%; }
.col-1-2 { width: calc((100% - 30px) / 2); }
.col-1-3 { width: calc((100% - 60px) / 3); }
.col-2-3 { width: calc(((100% - 60px) / 3) * 2 + 30px); }
.col-1-4 { width: calc((100% - 90px) / 4); }
.col-3-4 { width: calc(((100% - 90px) / 4) * 3 + 60px); }
.col-1-5 { width: calc((100% - 120px) / 5); }
.col-2-5 { width: calc(((100% - 120px) / 5) * 2 + 30px); }
.col-4-5 { width: calc(((100% - 120px) / 5) * 4 + 90px); }
.col-1-6 { width: calc((100% - 150px) / 6); }
.col-5-6 { width: calc(((100% - 150px) / 6) * 5 + 120px); }

/* Sections */
.section { width: 100%; padding: 30px; }
.section-title { font-size: 0.9rem; font-weight: 900; text-transform: uppercase; text-align: center; color: #aaaaaa; margin-bottom: 1.5rem; letter-spacing: 0.5px; display: block; text-decoration: none; transition: color 0.3s ease; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.section-title .stars { font-family: Arial, sans-serif; }
.section-title .title-text { font-family: 'Helvetica Now Display', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 800; transition: color 0.3s ease; }
.section-title:hover { text-decoration: none; }
.section-title:hover .title-text { color: #BF0A30 !important; }
.section-1 { background: #eeeeee; }
.section-2 { background: #ffffff; }

/* Hero Section */
.section-hero { width: 100%; height: 50vh; min-height: 400px; padding: 30px; background: #2c3e50; background-image: url('https://images.unsplash.com/photo-1557683316-973673baf926?w=1920&q=80'); background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; }
.section-hero .row { align-items: center; }
.section-hero h1, .section-hero h2, .section-hero h3, .section-hero h4, .section-hero h5, .section-hero h6 { color: white; }
.section-hero p { color: white; }
.section-hero .box { background: rgba(30, 58, 95, 0.8); color: white; padding: 2rem; }

/* Header */
.section-header { background: url('https://republicans-germany.de/files/rog_back1.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; color: white; position: relative; box-shadow: 0 4px 12px rgba(0,0,0,0.25); z-index: 100; overflow: visible; padding: 15px 30px; -webkit-transform: translateZ(0); transform: translateZ(0); }
.section-header .row { align-items: center; justify-content: space-between; gap: 0; }
.section-header .col-1-6 { width: auto; position: relative; z-index: 101; }
.section-header .col-5-6 { width: auto; flex: 1; }

/* Hero Section with Background Image - Standard (for internal pages) */
.section-hero-bg { background: url('https://republicans-germany.de/files/rog_back3.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; min-height: 30vh; display: flex; align-items: flex-end; justify-content: center; color: white; position: relative; padding-bottom: 30px; }

/* Hero Section - Frontpage Version with Embedded Navigation */
.section-hero-frontpage { background: url('https://republicans-germany.de/files/rog_back3.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; min-height: calc(30vh + 140px); display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; color: white; position: relative; padding-bottom: 30px; }

/* Hero Navigation - Frontpage Embedded Navigation (absolute positioned over hero background) */
.hero-nav { width: 100%; padding: 0 30px 15px 30px; position: relative; z-index: 10; }
.hero-nav.section-header { background: transparent !important; box-shadow: none !important; position: absolute; top: 0; left: 0; right: 0; padding: 15px 30px; }
.hero-nav .row { align-items: center; justify-content: space-between; gap: 0; }
.hero-nav .col-1-6 { width: auto; position: relative; z-index: 101; }
.hero-nav .col-5-6 { width: auto; flex: 1; }
.hero-nav .logo { position: relative; display: block; background: transparent !important; isolation: isolate; overflow: visible; }
.hero-nav .logo:hover { background: transparent !important; }
.hero-nav .logo img { height: 140px; width: auto; display: block; position: relative; z-index: 102; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3)); margin-bottom: -70px; background: transparent; }
.hero-nav nav { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; }
.hero-nav nav ul { list-style: none; display: flex; gap: 0.75rem; margin: 0; padding: 0; }
.hero-nav nav li { margin: 0; position: relative; }
.hero-nav nav > ul > li:not(:last-child)::after { content: "|"; color: #BF0A30; margin-left: 0.75rem; pointer-events: none; font-size: 0.8rem; }
.hero-nav nav a { color: white; text-decoration: none; font-family: 'Helvetica Now Display', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 800; text-transform: uppercase; font-size: 0.8rem; transition: color 0.3s ease; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); }
.hero-nav nav a:hover { color: #96B0C9; }
.hero-nav .nav-button { padding: 5px 14px; background: linear-gradient(to top, #8B0000 0%, #BF0A30 100%); border-radius: 4px; color: white !important; transition: all 0.5s ease; }
.hero-nav .nav-button:hover { background: #002868; color: white !important; }
.hero-nav .burger-menu { display: none; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); }
.hero-nav .burger-menu span { width: 100%; height: 3px; background: white; transition: all 0.3s ease; }

/* Hero Content Containers and Layout */
.section-hero-bg .container { position: relative; z-index: 2; }
.section-hero-frontpage .container { position: relative; z-index: 2; }
.section-hero-bg .row { justify-content: space-between; align-items: flex-end; }
.section-hero-frontpage .row:not(.hero-nav .row) { justify-content: space-between; align-items: flex-end; }

/* Hero Signature Block */
.hero-signature { text-align: left; }
.hero-signature img { width: 130px; height: auto; margin-bottom: 0.5rem; filter: invert(20%) sepia(95%) saturate(3500%) hue-rotate(345deg) brightness(95%) contrast(95%); }
.signature-name { color: white; font-size: 0.9rem; font-weight: 700; margin-bottom: 0.2rem; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); }
.signature-title { color: white; font-size: 0.75rem; line-height: 1.3; margin-bottom: 0.1rem; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); }

/* Hero About Block */
.hero-about { text-align: left; width: 100%; }
.hero-about h3 { color: #4B90FF; font-size: 1.1rem; margin-bottom: 0.5rem; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); }
.hero-about p { color: white; font-size: 1rem; line-height: 1.5; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); margin-bottom: 0.6rem; word-wrap: break-word; }
.hero-button { padding: 3px 10px; background: linear-gradient(to top, #8B0000 0%, #BF0A30 100%); border-radius: 4px; color: white !important; font-family: 'Helvetica Now Display', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 800; font-size: 0.65rem; text-transform: uppercase; text-decoration: none; transition: all 0.5s ease; display: inline-block; }
.hero-button:hover { background: linear-gradient(to top, #8B0000 0%, #BF0A30 100%) !important; color: white !important; text-decoration: none; }
.hero-button-blue { padding: 3px 10px; background: linear-gradient(to top, #0A1847 0%, #213072 100%); border-radius: 4px; color: white !important; font-family: 'Helvetica Now Display', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 800; font-size: 0.65rem; text-transform: uppercase; text-decoration: none; transition: all 0.5s ease; display: inline-block; }
.hero-button-blue:hover { background: linear-gradient(to top, #8B0000 0%, #BF0A30 100%) !important; color: white !important; text-decoration: none; }

.logo { position: relative; display: block; background: transparent !important; isolation: isolate; -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); overflow: visible; will-change: transform; }
.logo:hover { background: transparent !important; }
.logo img { height: 140px; width: auto; display: block; position: relative; z-index: 102; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3)); margin-bottom: -70px; background: transparent; -webkit-backface-visibility: hidden; backface-visibility: hidden; -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); -webkit-perspective: 1000; perspective: 1000; image-rendering: -webkit-optimize-contrast; }

/* Burger Menus */
.burger-menu { display: none; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); }
.burger-menu span { width: 100%; height: 3px; background: white; transition: all 0.3s ease; }
.burger-menu.active { justify-content: center; }
.burger-menu.active span:nth-child(1) { transform: rotate(45deg); position: absolute; }
.burger-menu.active span:nth-child(2) { opacity: 0; }
.burger-menu.active span:nth-child(3) { transform: rotate(-45deg); position: absolute; }

.fixed-burger-menu { display: none; flex-direction: column; justify-content: space-around; align-items: center; width: 45px; height: 45px; background: #002868; border: none; cursor: pointer; padding: 11px 9px; position: fixed; top: 15px; right: 15px; z-index: 2000;  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease; }
.fixed-burger-menu:hover { background: #BF0A30; }
.fixed-burger-menu.visible { opacity: 1; visibility: visible; }
.fixed-burger-menu span { width: 100%; height: 3px; background: white; transition: all 0.3s ease; display: block; }
.fixed-burger-menu.active { justify-content: center; background: #BF0A30; }
.fixed-burger-menu.active:hover { background: #002868; }
.fixed-burger-menu.active span:nth-child(1) { transform: rotate(45deg) scale(0.65); position: absolute; height: 5px; }
.fixed-burger-menu.active span:nth-child(2) { opacity: 0; }
.fixed-burger-menu.active span:nth-child(3) { transform: rotate(-45deg) scale(0.65); position: absolute; height: 5px; }

/* Mobile Menus */
.mobile-menu { display: none; position: absolute; top: 100%; right: 0; background: linear-gradient(to top, #001a4d 0%, #002868 100%); max-height: 0; overflow: hidden; transition: max-height 0.3s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.2); min-width: 200px; }
.mobile-menu.active { max-height: 500px; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; display: block; margin-top: 0; padding-top: 0; border-top: none; }
.mobile-menu li { margin: 0; }
.mobile-menu a { display: block; padding: 0.5rem 1rem; color: white; text-decoration: none; font-family: 'Helvetica Now Display', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 800; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.1); transition: background 0.3s ease; font-size: 12px; }
.mobile-menu a:hover { background: #003580; text-decoration: none; }
.mobile-menu .logo:hover { background: transparent; }
.mobile-menu ul li:first-child a { border-top: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-menu .has-submenu > a { position: relative; }
.mobile-menu .has-submenu > a::after { content: " \25BE"; position: absolute; right: 2rem; transition: transform 0.3s ease; }
.mobile-menu .has-submenu.active > a::after { transform: rotate(180deg); }
.mobile-menu .mobile-submenu { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: rgba(0,0,0,0.2); }
.mobile-menu .has-submenu.active .mobile-submenu { max-height: 300px; }
.mobile-menu .mobile-submenu a { padding-left: 3rem; font-size: 0.9em; }

.fixed-mobile-menu { display: none; position: fixed; top: 15px; right: 60px; background: linear-gradient(to top, #001a4d 0%, #002868 100%); max-height: 0; overflow: hidden; transition: max-height 0.3s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.2); min-width: 200px; z-index: 1999; opacity: 0; visibility: hidden; }
.fixed-mobile-menu.visible { opacity: 1; visibility: visible; }
.fixed-mobile-menu.active { max-height: 500px; }
.fixed-mobile-menu ul { list-style: none; padding: 0; margin: 0; display: block; margin-top: 0; padding-top: 0; border-top: none; }
.fixed-mobile-menu li { margin: 0; }
.fixed-mobile-menu a { display: block; padding: 0.5rem 1rem; color: white; text-decoration: none; font-family: 'Helvetica Now Display', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 800; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.1); transition: background 0.3s ease; font-size: 12px; }
.fixed-mobile-menu a:hover { background: #003580; text-decoration: none; }
.fixed-mobile-menu .logo:hover { background: transparent; }
.fixed-mobile-menu ul li:first-child a { border-top: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
.fixed-mobile-menu .has-submenu > a { position: relative; }
.fixed-mobile-menu .has-submenu > a::after { content: " \25BE"; position: absolute; right: 2rem; transition: transform 0.3s ease; }
.fixed-mobile-menu .has-submenu.active > a::after { transform: rotate(180deg); }
.fixed-mobile-menu .mobile-submenu { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: rgba(0,0,0,0.2); }
.fixed-mobile-menu .has-submenu.active .mobile-submenu { max-height: 300px; }
.fixed-mobile-menu .mobile-submenu a { padding-left: 3rem; font-size: 0.9em; }

/* Desktop Navigation */
nav { display: flex; justify-content: flex-end; align-items: center; height: 100%; gap: 1rem; }
nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 0.75rem; }
nav li { margin: 0; position: relative; }
nav > ul > li:not(:last-child)::after { content: "|"; color: #BF0A30; margin-left: 0.75rem; pointer-events: none; font-size: 0.8rem; }
nav a { color: white; text-decoration: none; font-family: 'Helvetica Now Display', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; transition: color 0.3s ease; display: inline-block; }
nav a:hover { color: #96B0C9; text-decoration: none; }
.nav-button { padding: 5px 14px; background: linear-gradient(to top, #8B0000 0%, #BF0A30 100%); border-radius: 4px; color: white !important; font-family: 'Helvetica Now Display', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; text-decoration: none; transition: all 0.5s ease; display: inline-block; }
.nav-button:hover { background: #002868; color: white !important; text-decoration: none; }

/* Social Icons */
.social-icons { display: flex; gap: 0.875rem; align-items: center; margin-left: -0.25rem; padding-left: 0.75rem; position: relative; }
.social-icons::before { content: "|"; color: #BF0A30; position: absolute; left: 0; pointer-events: none; font-size: 13px; }
.mobile-menu .social-icons::before, .fixed-mobile-menu .social-icons::before { content: none; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; padding: 0; width: 22px; height: 22px; text-decoration: none !important; border: none; outline: none; }
.social-icons a:hover, .social-icons a:focus, .social-icons a:active { text-decoration: none !important; border: none; outline: none; }
.social-icons svg { width: 22px; height: 22px; fill: white; transition: opacity 0.3s ease; display: block; text-decoration: none; }
.social-icons a:hover svg { opacity: 0.7; }

/* Dropdown Submenu */
.has-submenu { position: relative; }
.has-submenu > a::after { content: " \25BE"; font-size: 0.8em; margin-left: 0.3rem; }
.submenu { position: absolute; top: 100%; left: 0; background: #2c3e50; min-width: 200px; padding: 0; margin-top: 0.5rem; box-shadow: 0 4px 6px rgba(0,0,0,0.2); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; z-index: 1000; list-style: none; display: block; flex-direction: column; }
.has-submenu:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li { margin: 0; display: block; width: 100%; }
.submenu li:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.1); }
.submenu a { padding: 0.875rem 1.5rem; font-weight: 400; white-space: nowrap; display: block; }
.submenu a:hover { background: rgba(255,255,255,0.1); opacity: 1; }

/* Demo styling */
.box { background: #1e3a5f; color: white; text-align: center; }

/* Featured Article - Dark Mode */
.box.featured-article.featured-article-dark { grid-template-columns: 1fr 1fr; margin-bottom: 30px; }
.featured-article-dark .featured-article-image { aspect-ratio: 4 / 3; position: relative; }
.featured-article-dark .featured-article-image::after { content: ''; position: absolute; top: 16px; right: 16px; width: 0; height: 0; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #BF0A30; opacity: 0.9; z-index: 2; }
.box.featured-article.featured-article-dark .featured-article-category { color: #BF0A30; font-size: 1rem; font-weight: 700; }
.box.featured-article.featured-article-dark h2 { color: #ffffff; font-size: 2rem; line-height: 1.1; }
.box.featured-article.featured-article-dark .featured-article-date { color: #96B0C9; font-size: 0.85rem; }
.box.featured-article.featured-article-dark p { color: #E8EEF4; font-size: 1rem; line-height: 1.4; }
.box.featured-article.featured-article-dark:hover h2 { color: #4B90FF; }

/* Article Cards 1 - Standard Style */
.box.cards1 { background: transparent; overflow: hidden; text-align: left; padding: 0; display: block; text-decoration: none; }
.cards1-image { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #f0f0f0; display: block; margin-bottom: 0.5rem; position: relative; }
.cards1-image::after { content: ''; position: absolute; top: 12px; right: 12px; width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 14px; border-color: transparent transparent transparent #BF0A30; opacity: 0.9; z-index: 2; }
.cards1-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.cards1-category { font-size: 0.7rem; font-weight: 700; color: #BF0A30; margin: 0; line-height: 1; }
.box.cards1 h3 { font-size: 1.3rem; margin-top: 0; margin: 0 0 0.35rem 0; color: #1e3a5f; transition: color 0.3s ease; }
.box.cards1 p { font-size: 0.75rem; color: #666; line-height: 1.3; margin: 0 0 0.25rem 0; }
.cards1-date { font-size: 0.65rem; color: #999; }

/* Dark Section with Gradient Background */
.section-dark { background: linear-gradient(180deg, #213072 0%, #0A1847 100%); }
.section-title-dark { color: #ffffff; }

/* Cards1 Dark Mode - Inverted Colors */
.section-dark .box.cards1 h3 { color: #ffffff; }
.section-dark .box.cards1 p { color: #E8EEF4; }
.section-dark .cards1-category { color: #BF0A30; }
.section-dark .cards1-date { color: #96B0C9; }
.section-dark .box.cards1:hover h3 { color: #4B90FF; }

/* Article Cards 2 - Overlay Style */
.box.cards2 { background: transparent; overflow: hidden; text-align: left; padding: 0; position: relative; display: block; text-decoration: none; }
.cards2-image { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; display: block; position: relative; }
.cards2-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.cards2-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.75) 40%, rgba(0,0,0,0.4) 65%, transparent 100%); color: white; border-radius: 8px;}
.cards2-category { font-size: 0.7rem; font-weight: 700; color: #BF0A30; margin: 0; display: block; line-height: 1; }
.box.cards2 h3 { font-size: 1.3rem; line-height: 1; margin: 0 0 0.25rem 0; color: white; transition: opacity 0.3s ease; }
.cards2-meta { font-size: 0.65rem; margin: 0 0 0.25rem 0; display: flex; gap: 0.5rem; align-items: center; }
.cards2-date { color: #4B90FF; }
.cards2-author { color: white; font-style: italic; }
.box.cards2 p { font-size: 0.75rem; color: white; line-height: 1.3; margin: 0 0 0.25rem 0; }


/* Article Header - Dark Mode */
.article-header-dark { margin-bottom: 2.5rem; text-align: left; }
.article-header-dark .hero-article-author { color: #BF0A30; }
.article-header-dark .hero-article-title { color: #ffffff; }
.article-header-dark .hero-article-date { color: #4B90FF; }

/* Video Container in Dark Section */
.section-dark .video-container { margin-bottom: 2.5rem; }

/* Text Container - Dark Mode */
.text-container-dark h1,
.text-container-dark h2,
.text-container-dark h3,
.text-container-dark h4,
.text-container-dark h5,
.text-container-dark h6 { color: #ffffff; }
.text-container-dark p { color: #E8EEF4; }
.text-container-dark a { color: #4B90FF; }
.text-container-dark a:hover { color: #96B0C9; }
.text-container-dark strong { color: #ffffff; }
.text-container-dark ul,
.text-container-dark ol { color: #E8EEF4; }
.text-container-dark ul li::marker { color: #BF0A30; }
.text-container-dark ol li::marker { color: #BF0A30; }
.text-container-dark li { color: #E8EEF4; }
.text-container-dark blockquote { background: rgba(255, 255, 255, 0.05); border-left: 4px solid #BF0A30; color: #E8EEF4; }
.text-container-dark code { background: rgba(255, 255, 255, 0.1); color: #E8EEF4; }
.text-container-dark hr { border-top: 1px solid rgba(255, 255, 255, 0.2); }


/* Featured Article */
.box.featured-article { background: transparent; display: grid; grid-template-columns: calc(((100% - 60px) / 3) * 2 + 30px) calc((100% - 60px) / 3); gap: 30px; text-decoration: none; cursor: pointer; padding: 0; margin-bottom: 0; }
.featured-article-image { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: #f0f0f0; display: block; }
.featured-article-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.featured-article-content { display: flex; flex-direction: column; justify-content: top; padding: 0; text-align: left; }
.featured-article-category { font-size: 1rem; font-weight: 700; color: #BF0A30; margin: 0 0 0 0; }
.box.featured-article h2 { font-size: 2rem; margin: 0 0 0.2rem 0; color: #000000; transition: color 0.3s ease; line-height: 1.1; }
.featured-article-date { font-size: 0.85rem; color: #96B0C9; margin: 0 0 0.75rem 0; }
.box.featured-article p { font-size: 1rem; color: #000000; line-height: 1.4; margin: 0; }

/* Board Member Card */
.box.member-card { background: transparent; text-align: center; padding: 0; display: block; text-decoration: none; cursor: pointer; }
.member-image { width: 120px; height: 120px; margin: 0 auto 1rem; overflow: hidden; border-radius: 50%; background: transparent; }
.member-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.box.member-card h3, .member-title { font-size: 1.1rem; margin: 0 0 0.35rem 0; color: #1e3a5f; transition: color 0.3s ease; }
.member-divider { width: 40px; height: 2px; background: #BF0A30; margin: 0.5rem auto; }
.member-title { font-size: 0.75rem; color: #666; line-height: 1.3; margin: 0 0 0.25rem 0; }
.box.member-card-static { cursor: default !important; }
.box.member-card-static .member-image img { transition: none !important; }
.box.member-card-static h3 { transition: none !important; }

.article-author-inline { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.5rem; }
.article-author-image { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.article-author-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-author-name { font-family: 'Helvetica Now Display', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 800; font-size: 0.95rem; color: #002868; }
.article-author-title { font-size: 0.75rem; color: #777; text-transform: uppercase; letter-spacing: 0.4px; margin-top: 0.1rem; }

/* Member Modal */
.member-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000; }
.member-modal.active { display: block; }
.member-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); animation: fadeIn 0.3s ease; }
.member-modal-content { position: relative; width: 90%; max-width: 700px; max-height: 90vh; margin: 5vh auto; background: #ffffff; border-radius: 4px; overflow-y: auto; box-shadow: 0 10px 40px rgba(0,0,0,0.3); animation: slideUp 0.4s ease; }
.member-modal-close { position: absolute; top: 15px; right: 15px; width: 40px; height: 40px; background: rgba(0, 0, 0, 0.6); color: white; border: none; border-radius: 50%; font-size: 24px; cursor: pointer; z-index: 10; transition: background 0.3s ease, transform 0.2s ease; display: flex; align-items: center; justify-content: center; line-height: 1; }
.member-modal-close:hover { background: rgba(0, 0, 0, 0.8); transform: scale(1.1); }
.member-modal-body { padding: 3rem; text-align: center; }
.member-modal-image { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 1.5rem; overflow: hidden; background: transparent; }
.member-modal-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member-modal-body h2 { font-size: 1.75rem; margin-bottom: 0.5rem; color: #1e3a5f; }
.member-modal-title { font-size: 0.9rem; color: #666; font-weight: 400; margin-bottom: 2rem; text-transform: none; letter-spacing: normal; }
.member-modal-bio { text-align: left; line-height: 1.8; color: #333; margin-bottom: 2rem; }
.member-modal-bio p { margin-bottom: 1rem; }

/* Text Container */
.text-container { max-width: 100%; margin: 0 auto; }

/* Responsive Video Embed */
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin-bottom: 1rem; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* Video Embed - za raw YouTube/Vimeo embed kod iz CMS-a */
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin-bottom: 2.5rem; }
.video-embed iframe { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; border: none !important; }

/* Horizontal Scroller Section */
.section-scroller-1 { width: 100%; padding: 30px; position: relative; overflow: hidden; }
.scroller-wrapper { position: relative; max-width: 1200px; margin: 0 auto; padding: 0; overflow: visible; }
/* .scroller-wrapper::before { content: ''; position: absolute; top: 0; left: 0; width: 50px; height: 100%; background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)); pointer-events: none; z-index: 2; }  */
/* .scroller-wrapper::after { content: ''; position: absolute; top: 0; right: 0; width: 50px; height: 100%; background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)); pointer-events: none; z-index: 2; }  */
.scroller-container { position: relative; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; }
.scroller-container::-webkit-scrollbar { display: none; }
.scroller-track { display: flex; gap: 30px; overflow: visible; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.scroller-track::-webkit-scrollbar { display: none; }
.scroller-track .box.cards1 { min-width: calc((100% - 90px) / 4); max-width: calc((100% - 90px) / 4); flex-shrink: 0; }

/* Horizontal Scroller Section 2 - Cards2 */
.section-scroller-2 { width: 100%; padding: 30px; position: relative; overflow: hidden; background: #f8f9fa; }
.scroller-wrapper-2 { position: relative; max-width: 1200px; margin: 0 auto; padding: 0; overflow: visible; }
/* .scroller-wrapper-2::before { content: ''; position: absolute; top: 0; left: 0; width: 50px; height: 100%; background: linear-gradient(to right, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0)); pointer-events: none; z-index: 2; }  */
/* .scroller-wrapper-2::after { content: ''; position: absolute; top: 0; right: 0; width: 50px; height: 100%; background: linear-gradient(to left, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0)); pointer-events: none; z-index: 2; }  */
.scroller-container-2 { position: relative; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; }
.scroller-container-2::-webkit-scrollbar { display: none; }
.scroller-track-2 { display: flex; gap: 30px; overflow: visible; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.scroller-track-2::-webkit-scrollbar { display: none; }
.scroller-track-2 .box.cards2 { min-width: calc((100% - 90px) / 4); max-width: calc((100% - 90px) / 4); flex-shrink: 0; }

.scroller-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 35px; height: 35px; background: rgba(30, 58, 95, 0.9); color: white; border: none; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.2); border-radius: 50%; }
.scroller-nav:hover { background: #1e3a5f; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.scroller-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.scroller-nav.prev { left: -50px; }
.scroller-nav.next { right: -50px; }

/* Back to Top Button */
.back-to-top { position: fixed; bottom:  15px; right:  15px; width:  45px; height:  45px; background: #002868; color: white; border: none; cursor: pointer; z-index: 1500; display: flex; align-items: center; justify-content: center; font-size: 24px; font-family: 'Helvetica Now Text', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 700; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.back-to-top:hover { background: #BF0A30; transform: translateY(-3px);  }
.back-to-top.visible { opacity: 1; visibility: visible; }

/* Hero Article Section */
.section-hero-article { position: relative; width: 100%; height: 35vh; min-height: 350px; overflow: hidden; margin: 0; padding: 0; }
.hero-article-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-article-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-article-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, transparent 0%, transparent 35%, rgba(0, 0, 0, 0.5) 75%, rgba(0, 0, 0, 0.75) 100%); z-index: 2; display: flex; align-items: flex-end; padding: 0 30px 40px 30px; }
.hero-article-overlay .container { width: 100%; }
.hero-article-content { width: 100%; text-align: left; color: white; }
.hero-article-author { font-family: 'Helvetica Now Display', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 1.2rem; font-weight: 800; color: #BF0A30; margin-bottom: 0.3rem; letter-spacing: 0.5px; }
.hero-article-title { font-family: 'Helvetica Now Display', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 3.5rem; font-weight: 800; line-height: 0.9; color: white; margin: 0 0 0.8rem 0; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); }
.hero-article-date { font-family: 'Helvetica Now Text', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 0.85rem; font-weight: 400; color: #4B90FF; letter-spacing: 0.5px; }

/* Footer */
.section-footer { background: url('https://republicans-germany.de/files/rog_back2.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; color: white; padding: 30px; margin-top: 0; text-align: center; box-shadow: 0 -4px 12px rgba(0,0,0,0.25); z-index: 100; position: relative; }
.section-footer .row { display: block; }
.footer-center { margin-bottom: 1rem; }
.footer-center .logo img { height: 80px; width: auto; display: block; margin: 0 auto; }
.footer-nav { list-style: none; padding: 0; margin: 0 0 0 0; display: flex; justify-content: center; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.footer-nav li:not(:last-child)::after { content: "|"; color: #BF0A30; margin-left: 0.75rem; pointer-events: none; font-size: 0.7rem; }
.footer-nav a { color: white; text-decoration: none; font-size: 0.7rem; font-family: 'Helvetica Now Display', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 800; text-transform: uppercase; transition: color 0.3s ease; }
.footer-nav a:hover { color: #96B0C9; text-decoration: none; }
.footer-bottom { font-size: 12px; line-height: 1.6; color: rgba(255,255,255,0.6); }
.footer-bottom p { margin-bottom: 0.3rem; }
.footer-separator { color: #BF0A30; margin: 0 0.5rem; }
.footer-bottom a { color: white; text-decoration: none; font-family: 'Helvetica Now Display', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 800; transition: color 0.3s ease; font-size: 0.6rem; }
.footer-bottom a:hover { color: #96B0C9; text-decoration: none; }

/* Scroll Animations */
.fade-in { opacity: 0; transition: opacity 0.8s ease-out; }
.fade-in.visible { opacity: 1; }
.slide-up { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.slide-up.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
    body { font-size: 15px; }
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.125rem; }
    .section { padding: 20px; }
    .section-header { background: url('https://republicans-germany.de/files/rog_back2.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; padding: 10px 20px; }

    /* Hero frontpage navigation responsive for tablet */
    .hero-nav.section-header { background: transparent !important; box-shadow: none !important; position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; padding: 10px 20px !important; }
    .hero-nav .col-1-6, .hero-nav .col-5-6 { width: 100%; text-align: center; }
    .hero-nav .logo { display: block; margin: 0 auto 0; text-align: center; }
    .hero-nav .logo img { margin: 0 auto; height: 93px; margin-bottom: 0; }
    .hero-nav nav { justify-content: center; }
    .hero-nav nav a { font-size: 0.7rem; }
    .hero-nav .nav-button { font-size: 0.7rem; }
    .hero-nav nav > ul > li:not(:last-child)::after { font-size: 0.7rem; }
    
    .row { gap: 20px; }
    .box.featured-article { grid-template-columns: 1fr; gap: 20px; }
    .box.featured-article.featured-article-dark { grid-template-columns: 1fr; gap: 20px; }
    .featured-article-category { font-size: 0.9rem; }
    .box.featured-article.featured-article-dark .featured-article-category { font-size: 0.9rem; }
    .box.featured-article h2 { font-size: 1.75rem; }
    .box.featured-article.featured-article-dark h2 { font-size: 1.75rem; }
    .featured-article-date { font-size: 0.8rem; }
    .box.featured-article.featured-article-dark .featured-article-date { font-size: 0.8rem; }
    .box.featured-article p { font-size: 0.95rem; }
    .box.featured-article.featured-article-dark p { font-size: 0.95rem; }
    .col-1-3, .col-1-4, .col-1-5 { width: calc((100% - 20px) / 2); }
    .col-2-3, .col-3-4, .col-4-5, .col-5-6 { width: 100%; }
    .col-1-6 { width: calc((100% - 60px) / 4); }
    .section-header .col-1-6, .section-header .col-5-6 { width: 100%; text-align: center; }
    nav { justify-content: center; }
    nav a { font-size: 0.7rem; }
    .nav-button { font-size: 0.7rem; }
    nav > ul > li:not(:last-child)::after { font-size: 0.7rem; }
    .logo { display: block; margin: 0 auto 0; text-align: center; }
    .logo img { margin: 0 auto; height: 93px; margin-bottom: 0; }
    .section-scroller-1 { padding: 20px; }
    .section-scroller-2 { padding: 20px; }
    .scroller-wrapper { padding: 0; }
    .scroller-track { gap: 20px; }
    .scroller-track .box.cards1 { min-width: calc((100% - 40px) / 3); max-width: calc((100% - 40px) / 3); }
    .scroller-track-2 { gap: 20px; }
    .scroller-track-2 .box.cards2 { min-width: calc((100% - 40px) / 3); max-width: calc((100% - 40px) / 3); }
    .scroller-nav { width: 32px; height: 32px; font-size: 16px; }
    .scroller-nav.prev { left: -40px; }
    .scroller-nav.next { right: -40px; }
    .hero-article-overlay { padding: 0 20px 30px 20px; }
    .hero-article-author { font-size: 1.05rem; margin-bottom: 0.25rem; }
    .hero-article-title { font-size: 2.25rem; line-height: 0.9; margin: 0 0 0.6rem 0; }
    .hero-article-date { font-size: 0.75rem; }
}

@media (max-width: 768px) {
    body { font-size: 14px; padding-top: 70px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.125rem; }
    blockquote { padding: 1rem 1.5rem; margin: 1.5rem 0; }
    .section { padding: 15px; }
    .section-2.section-dark { padding-top: 15px !important; padding-bottom: 15px !important; }
    .section-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; padding: 5px 15px; overflow: visible; }
    
    /* Hero frontpage navigation responsive */
    .hero-nav.section-header { position: fixed !important; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; padding: 5px 15px !important; background: url('https://republicans-germany.de/files/rog_back2.jpg') !important; background-size: cover !important; background-position: center !important; box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important; }
    .hero-nav .col-5-6 { display: none; }
    .hero-nav .col-1-6 { width: 100%; display: flex; justify-content: space-between; align-items: center; }
    .hero-nav .logo img { height: 60px; margin-bottom: 0; }
    .hero-nav .burger-menu { display: flex; }
    .section-hero-frontpage { padding-top: 70px; min-height: 50vh; }
    
    .section-title { font-size: 0.75rem; margin-bottom: 0.75rem; letter-spacing: 0.4px; }
    .row { gap: 15px; }
    .text-container { max-width: 100%; }
    .back-to-top { display: none !important; }
    .col-1-2 { width: 100%; }
    .col-1-3, .col-1-4, .col-1-5, .col-1-6 { width: calc((100% - 15px) / 2); }
    .col-2-3, .col-3-4, .col-4-5, .col-5-6 { width: 100%; }
    .logo { font-size: 1.25rem; }
    .logo img { height: 60px; margin-bottom: 0; }
    .section-header .col-5-6 { display: none; }
    .section-header .col-1-6 { width: 100%; display: flex; justify-content: space-between; align-items: center; }
    .burger-menu { display: flex; }
    .mobile-menu { display: block; }
    .footer-nav { display: none; }
    .footer-center { margin-bottom: 0.75rem; }
    .social-icons::before { display: none; }
    .fixed-burger-menu, .fixed-mobile-menu { display: none !important; }
    .mobile-menu > div:first-of-type { display: none; }
    nav ul { gap: 1rem; font-size: 0.9rem; }
    .section-scroller-1 { padding: 15px; }
    .section-scroller-2 { padding: 15px; }
    .scroller-wrapper { padding: 0; }
    .scroller-track { gap: 15px; }
    .scroller-track .box.cards1 { min-width: calc((100% - 15px) / 2); max-width: calc((100% - 15px) / 2); }
    .scroller-track-2 { gap: 15px; }
    .scroller-track-2 .box.cards2 { min-width: calc((100% - 15px) / 2); max-width: calc((100% - 15px) / 2); }
    .scroller-nav { width: 30px; height: 30px; font-size: 14px; }
    .scroller-nav.prev { left: 5px; }
    .scroller-nav.next { right: 5px; }
    .box.cards1 p:not(.cards1-category):not(.cards1-date), 
    .box.cards2 p:not(.cards2-category):not(.cards2-date) { display: none; }
    
    /* Cards2 Mobile Responsive */
    .cards2-content { padding: 10px !important; }
    .cards2-category { margin-bottom: 0.05rem !important; }
    .box.cards2 h3 { font-size: 1.1rem; line-height: 1; margin-bottom: 0.15rem !important; }
    .cards2-meta { font-size: 0.55rem; flex-direction: column; align-items: flex-start; gap: 0.05rem; margin-bottom: 0; }
    .cards2-date { width: 100%; }
    .cards2-author { width: 100%; }
    
    /* Cards1 Mobile Responsive */
    .box.cards1 { padding: 8px; }
    .cards1-category { font-size: 0.6rem; }
    .box.cards1 h3 { font-size: 1rem; margin-bottom: 0.25rem; }
    .cards1-date { font-size: 0.65rem; }
    
    /* Featured Article Mobile */
    .box.featured-article { grid-template-columns: 1fr !important; gap: 0.05rem !important; }
    .featured-article-content { margin-top: 0 !important; }
    .featured-article-category { margin-top: 0 !important; margin-bottom: 0.05rem !important; }
    .box.featured-article h2 { font-size: 1.6rem; }
    .featured-article-image { margin-bottom: 0.25rem !important; }
    .featured-article-date { margin-bottom: 0.375rem; }
    
    .member-modal-body { padding: 2rem 1.5rem; }
    .member-modal-image { width: 100px; height: 100px; margin-bottom: 1rem; }
    .member-modal-body h2 { font-size: 1.5rem; }
    .member-modal-close { top: 10px; right: 10px; width: 35px; height: 35px; font-size: 20px; }
    .section-hero-article { height: 25vh; min-height: 250px; }
    .hero-article-overlay { padding: 0 15px 25px 15px; }
    .hero-article-author { font-size: 0.95rem; margin-bottom: 0.2rem; }
    .hero-article-title { font-size: 1.5rem; line-height: 0.9; margin: 0 0 0.5rem 0; }
    .hero-article-date { font-size: 0.7rem; }

    /* Article author card mobile */
    .member-image { width: 84px; height: 84px; }
}

@media (max-width: 926px) and (orientation: landscape) {
    body { font-size: 13px; }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.95rem; }
    .section, .section-header { padding: 10px; }
    .row { gap: 10px; }
    blockquote { padding: 0.75rem 1rem; margin: 1rem 0; }
    .logo img { height: 32px; }
    .member-modal-image { width: 90px; height: 90px; }
    .member-modal-body { padding: 1.5rem; }
}


/* Hover effects - only on devices with hover capability */
@media (hover: hover) {
    .box.cards1:hover .cards1-image img { transform: scale(1.1); }
    .box.featured-article:hover .featured-article-image img { transform: scale(1.1); }
    .box.featured-article:hover h2 { color: #96B0C9; }
    .box.cards1:hover h3 { color: #3498db; }
    .box.cards2:hover .cards2-image img { transform: scale(1.1); }
    .box.cards2:hover h3 { color: #96B0C9; }
    .box.member-card:hover .member-image img { transform: scale(1.1); }
    .box.member-card:hover h3 { color: #3498db; }
    .box.member-card-static:hover .member-image img { transform: none !important; }
    .box.member-card-static:hover h3 { color: #1e3a5f !important; }
}

/* ================================================
   Cookie Banner
   ================================================ */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: linear-gradient(180deg, #213072 0%, #0A1847 100%); border-top: 3px solid #BF0A30; z-index: 5000; transform: translateY(100%); transition: transform 0.4s ease; box-shadow: 0 -4px 16px rgba(0,0,0,0.3); }
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner { max-width: 1100px; margin: 0 auto; padding: 16px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-banner-text p { margin: 0; font-family: 'Helvetica Now Text', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 0.85rem; color: #E8EEF4; line-height: 1.5; }
.cookie-banner-text a { color: #4B90FF; text-decoration: underline; }
.cookie-banner-text a:hover { color: #96B0C9; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { padding: 8px 20px; border: none; cursor: pointer; font-family: 'Helvetica Now Display', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 800; font-size: 0.75rem; text-transform: uppercase; transition: all 0.3s ease; }
.cookie-btn-accept { background: linear-gradient(to top, #8B0000 0%, #BF0A30 100%); color: white; }
.cookie-btn-accept:hover { background: #002868; color: white; }
.cookie-btn-decline { background: transparent; color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.2); }
.cookie-btn-decline:hover { color: white; border-color: rgba(255,255,255,0.5); }
@media (max-width: 768px) {
    .cookie-banner-inner { padding: 14px 15px; flex-direction: column; align-items: flex-start; gap: 12px; }
    .cookie-banner-actions { width: 100%; }
    .cookie-btn { flex: 1; }
}
