/* ==========================================================================
   1. BASIS & TYPOGRAFIE (Vanuit original-cards.css)
   ========================================================================== */
body {
    background-color: #662513;
    margin: 0 auto;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #F3ECD7;
    text-align: center;
    cursor: default;
    overflow-x: hidden;
    overflow-y: auto;
}

table {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #D9C2B6;
    margin: 0;
    padding: 0;
}

h1 {
    font-family: Arial, sans-serif;
    color: #FFFFFF;
    font-size: 20px;
    text-align: center;
    margin-bottom: 15px;
}

h2 {
    font-family: Arial, sans-serif;
    color: #F3ECD7;
}

.cards,
.card_link,
.tekstmenu {
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #D9C2B6;
    font-weight: bold;
    text-decoration: none;
}

.card_link:hover,
.tekstmenu:hover {
    color: #D9C2B6;
    text-decoration: underline;
}

.ecards {
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #6C361E;
}

.ecards:link {
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #F3ECD7;
    font-weight: bold;
}

.mini {
    font-family: Arial, sans-serif;
    font-size: 10px;
}

.minilink {
    font-family: Arial, sans-serif;
    font-size: 10px;
    color: #D9C2B6;
    text-decoration: underline;
}

.qs {
    font-size: 8pt;
    background-color: #FFF0F0;
}

.qs2 {
    font-size: 8pt;
    background-color: #FFF0F0;
    width: 135px;
}

.qs3 {
    font-size: 8pt;
    font-weight: bold;
    background-color: #F3ECD7;
    width: 105px;
}

.qst,
.qst1,
.ecard1 {
    font-family: Arial, sans-serif;
    font-size: 8pt;
    font-weight: bold;
    color: #6C361E;
}

.qst2 {
    font-family: Arial, sans-serif;
    font-size: 7pt;
    color: #FFFFFF;
}

.ecard2 {
    font-family: Arial, sans-serif;
    font-size: 8pt;
    color: #6C361E;
}

.ecardlink {
    font-family: Arial, sans-serif;
    font-size: 7pt;
    color: #6C361E;
}

.card:link,
.card:active,
.card:visited {
    font-family: Arial, sans-serif;
    color: #F3ECD7;
    font-size: 12px;
    text-decoration: none;
}

.qsa:link,
.qsa:active,
.qsa:visited {
    font-family: Arial, Verdana, sans-serif;
    font-size: 8pt;
    color: #6C361E;
    text-decoration: none;
}

.qsa:hover {
    color: #6C361E;
    text-decoration: underline;
    font-size: 8pt;
}

/* ==========================================================================
   2. FORMULIEREN, WIZARD & PICKUP STIJLEN (Vanuit original-cards.css)
   ========================================================================== */
.errorfield {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #FF0000;
    background-color: #F3ECD7;
    text-align: left;
    border-width: 0;
}

.okayfield {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #099c28;
    background-color: #F3ECD7;
    text-align: left;
    border-width: 0;
}

.musicfield {
    font-size: 14px;
    font-family: Arial, sans-serif;
    color: #FEA801;
    font-weight: bold;
    background: transparent;
    border-style: solid;
    width: 140px;
    text-align: left;
    border-width: 0;
}

#men {
    border: 2px outset;
    z-index: 1;
    left: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
}

#men a {
    padding: 3px 1px 4px 1px;
    margin: 1px 1px 1px 16px;
    font: 12px sans-serif;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.ico {
    border: medium none;
    float: left;
}

.cardbox {
    font-size: 7pt;
    font-family: Arial, Verdana, Helvetica, sans-serif;
    color: #000000;
    background-color: #FFFFFF;
    border-style: solid;
    width: 80px;
    text-align: left;
    border-width: 1px;
}

.cardbutton {
    width: 40px;
    background-color: #D9C2B6;
    border: #C0C0C0 1px solid;
    color: #000000;
    font-family: Arial, sans-serif;
    font-size: 7pt;
    height: 14px;
}

.thumbnail {
    position: relative;
    z-index: 0;
    font-size: 10px;
    font-family: Arial, sans-serif;
    color: #000000;
    text-decoration: none;
}

.thumbnail:hover {
    background-color: transparent;
    z-index: 20;
}

.thumbnail span {
    position: absolute;
    background-color: lightyellow;
    padding: 5px;
    left: -1000px;
    border: 1px dashed gray;
    visibility: hidden;
    color: black;
    font-size: 10px;
    font-family: Arial, sans-serif;
    text-decoration: none;
}

.thumbnail span img {
    border-width: 0;
    padding: 2px;
}

.kaarten_rand {
    border-color: #000000;
}

.pickupmini {
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #FFFFFF;
}

.pickup {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #FFFFFF;
    text-decoration: none;
}

.pickupbig {
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: #FFFFFF;
    font-weight: bold;
}

.greetingmessage {
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: #CCA300;
    font-weight: bold;
}

.textveld {
    width: 575px;
    max-width: 100%;
    height: 175px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #FFFFFF;
    border-style: solid;
    border-width: 2px;
    white-space: pre-wrap;
    overflow-x: hidden;
    overflow-y: scroll;
    box-sizing: border-box;
}

.personal {
    font-family: Arial, sans-serif;
    font-size: 11px;
    color: #6C361E;
}

.personalbig {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #6C361E;
}

.messagebox {
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #000000;
}

.namefield,
.mailfield {
    width: 370px;
    max-width: 100%;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    border: 1px solid #000000;
    box-sizing: border-box;
}

.titlefield {
    width: 370px;
    max-width: 100%;
    height: 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #000000;
    border: 1px solid #000000;
    text-align: center;
    box-sizing: border-box;
}

.wizardmini,
.wizardmini:link {
    font-family: Arial, sans-serif;
    font-size: 10px;
    color: #6C361E;
    text-decoration: none;
}

.wizardsmall {
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #6C361E;
}

.wizardbig {
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: #6C361E;
}

div.hr {
    height: 1px;
    background: #d4cfc0 no-repeat scroll center;
}

div.hr hr {
    display: none;
}

.button {
    background: url("../buttons/button.gif") no-repeat;
    width: 85px;
    height: 22px;
    border: 0;
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #000000;
    font-weight: bold;
    cursor: pointer;
}

.urlfield {
    width: 470px;
    max-width: 100%;
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #000000;
    border: 1px solid #000000;
    box-sizing: border-box;
}

/* ==========================================================================
   3. THEMA PAGINA LAYOUT & KAARTENRASTER (Vanuit themes.css)
   ========================================================================== */
.main-container { 
    display: flex; 
    max-width: 1320px; /* Vergroot naar 1320px zodat de reclames verder naar buiten vallen */
    margin: 0 auto; 
    padding: 10px 20px; /* Wat meer ademruimte aan de zijkanten */
    justify-content: space-between; 
    align-items: flex-start; 
    box-sizing: border-box;
    gap: 25px; /* Iets meer ruimte tussen sidebars en content */
}

.content-area { 
    flex: 1; 
    max-width: 740px; 
    min-width: 0;
    width: 100%;
    box-sizing: border-box; 
}

.sidebar-left, 
.sidebar-right { 
    width: 160px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: flex-start;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-left div, .sidebar-right div, 
.sidebar-left table, .sidebar-right table,
#addleft, #addright, .sidebar-right td {
    margin: 0 auto !important;
    text-align: center !important;
}

.sidebar-right table:first-of-type { 
    margin-bottom: 10px !important; 
}

.intro-box { 
    background-color: #F3ECD7; 
    border: 1px solid #ccc; 
    padding: 15px; 
    border-radius: 5px; 
    margin-bottom: 20px; 
    text-align: left !important; 
}

.intro-box, .intro-box strong, .intro-box div { 
    color: #333333 !important; 
    font-size: 13px; 
    line-height: 1.5; 
}

/* Het Kaartenraster */
.cards-grid { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 12px; 
    background-color: #F3ECD7; 
    padding: 15px; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
    box-sizing: border-box;
}

.grid-full-width { 
    grid-column: 1 / -1; 
    text-align: center; 
    padding: 5px 0; 
    color: #333; 
}

.grid-full-width div, .grid-full-width table { 
    margin: 0 auto !important; 
}

/* Modern Kaart-item */
.card-item { 
    text-align: center; 
    background: #fff; 
    padding: 10px; 
    border: 2px solid #fff;
    border-radius: 6px; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.card-item:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); 
    border-color: #ccc; 
}

.card-item img { 
    display: block; 
    max-width: 100%;
    height: auto;
    margin: 0 auto 6px auto; 
    border-radius: 3px; 
}

.thumbtitle { 
    font-size: 11px; 
    font-weight: bold; 
    color: #333 !important; 
    line-height: 1.3; 
}

/* Geselecteerde kaart-glow (Groen) */
.card-item.selected {
    border-color: #28a745 !important;
    background-color: #F4FBF6 !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.35) !important;
    transform: translateY(-2px);
}

/* Groene badge met wit vinkje rechtsboven */
.card-item.selected::after {
    content: '✓';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    background-color: #28a745;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 2;
}

/* ==========================================================================
   4. MEDIA PREVIEW POPUP / MODAL VENSTER
   ========================================================================== */
.media-modal {
    display: none; 
    position: fixed; 
    z-index: 99999; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.85); 
    justify-content: center; 
    align-items: center;
    backdrop-filter: blur(3px); 
}

.modal-content-box {
    position: relative; 
    background-color: #111; 
    border: 2px solid #F3ECD7;
    border-radius: 8px; 
    padding: 15px; 
    text-align: center; 
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.modal-close-btn {
    position: absolute; 
    top: -40px; 
    right: 0; 
    color: #fff;
    font-size: 32px; 
    font-weight: bold; 
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close-btn:hover { 
    color: #ffcc00; 
}

.modal-ad-container {
    margin-top: 15px; 
    padding-top: 10px; 
    border-top: 1px dashed #333; 
    min-height: 60px; 
    max-width: 100%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    overflow: hidden;
}

/* ==========================================================================
   5. RECLAME & BANNER STIJLEN (Gecentraliseerd vanuit themes.css)
   ========================================================================== */
.ai-magic-banner {
    position: relative;
    width: 468px;
    max-width: 100%;
    height: 60px;
    border: 2px solid #d4d4d8;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #fbfaf5 0%, #edeadd 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    box-sizing: border-box;
}

.ai-text-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ai-title {
    font-size: 14px;
    font-weight: 800;
    color: #5d534a;
    margin-bottom: 3px;
    font-family: Arial, sans-serif;
}

.ai-features {
    font-size: 11px;
    color: #8b7355;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.ai-showcase-side {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ai-icon-small {
    height: 32px;
    width: auto;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.1));
}

.ai-pulse {
    animation: ai-pulse 2s infinite ease-in-out;
}

@keyframes ai-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* LoveLanes Horoscoop / Authentic Banners (468x60 & 160x600) */
.ll-horizontal-banner {
    width: 468px;
    max-width: 100%;
    height: 60px;
    background: linear-gradient(90deg, #ffffff 0%, #fff1f2 50%, #ffe4e6 100%);
    border: 1px solid #fda4af;
    border-radius: 4px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.ll-authentic-banner {
    position: relative;
    width: 468px;
    max-width: 100%;
    height: 60px;
    border: 1px solid #fda4af;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    overflow: hidden;
    background-color: #000;
}

.ll-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 466px;
    height: 58px;
    object-fit: cover;
    z-index: 1;
}

.ll-click-logo {
    position: absolute;
    top: 5px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 10;
}

.ll-dynamic-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -43%);
    z-index: 2;
    width: 90px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ll-ring-wrapper {
    position: relative;
    width: 86px;
    height: 86px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #171126;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.ll-h-ring {
    position: absolute;
    width: 84px;
    height: 84px;
    object-fit: contain;
    border-radius: 50%;
}

.ll-menu-overlay {
    position: absolute;
    right: 5px;
    top: 0;
    height: 100%;
    display: flex;
    gap: 8px;
    align-items: center;
    z-index: 5;
    background: rgba(23, 17, 38, 0.8);
    padding: 0 8px;
    border-radius: 4px 0 0 4px;
}

.ll-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.ll-link {
    font-size: 9.5px;
    color: #ffd700;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
    text-shadow: 1px 1px 2px #000;
}

.ll-link:hover {
    color: #ffffff;
}

.ll-btn {
    display: inline-block;
    padding: 1px 5px;
    background: #e11d48;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 9px;
    text-align: center;
    border-radius: 3px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
    transition: background 0.2s;
    margin-top: 1px;
}

.ll-btn:hover {
    background: #be123c;
}

/* LoveLanes Officiële Sidebar Banner (160x600) */
.ll-official-banner {
    width: 160px;
    height: 600px;
    background: linear-gradient(180deg, #ffffff 0%, #fff1f2 40%, #ffe4e6 100%);
    border: 1px solid #fda4af;
    border-radius: 6px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8px;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.ll-banner-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.ll-main-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.ll-main-logo:hover {
    transform: rotate(5deg) scale(1.05);
}

.ll-text-logo {
    width: 135px;
    height: auto;
    object-fit: contain;
}

.ll-banner-graphic {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}

.ll-ring-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ll-astro-ring {
    position: absolute;
    width: 110px;
    height: 110px;
    object-fit: contain;
    border-radius: 50%;
}

.ring-base {
    animation: ll-spin-clockwise 25s infinite linear;
}

.ring-overlay {
    width: 75px;
    height: 75px;
    opacity: 0.85;
    animation: ll-spin-counter 20s infinite linear;
}

.ll-h-ring.ring-overlay {
    width: 58px;
    height: 58px;
    opacity: 0.95;
}

.ll-destiny-text {
    font-size: 11px;
    color: #be123c;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.ll-banner-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.ll-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #fecdd3;
    padding: 8px 6px;
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(225, 29, 72, 0.04);
    transition: transform 0.2s, border-color 0.2s;
    box-sizing: border-box;
}

.ll-menu-item:hover {
    transform: translateX(2px);
    border-color: #fb7185;
}

.ll-menu-icon {
    font-size: 15px;
}

.ll-menu-title {
    font-size: 11px;
    color: #4b5563;
    font-weight: bold;
    text-align: left;
}

.ll-banner-footer {
    width: 100%;
    display: flex;
    justify-content: center;
}

.ll-action-btn {
    display: inline-block;
    width: 120px;
    padding: 10px 0;
    background: #e11d48;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(225, 29, 72, 0.2);
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.ll-action-btn:hover {
    background: #be123c;
    box-shadow: 0 5px 10px rgba(225, 29, 72, 0.3);
}

/* Vertaal Banner */
.ai-world-banner {
    position: relative;
    width: 468px;
    max-width: 100%;
    height: 60px;
    border: 2px solid #d4d4d8;
    border-radius: 8px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    box-sizing: border-box;
}

.world-title { font-size: 11px; font-family: Arial, sans-serif; font-weight: 800; color: #075985; }
.world-subtitle { font-size: 11px; font-family: Arial, sans-serif; color: #0369a1; font-weight: bold; }
.world-showcase-side { display: flex; gap: 10px; align-items: center; }
.world-icon { height: 28px; border-radius: 4px; box-shadow: 1px 1px 2px rgba(0,0,0,0.1); }
.world-arrow { font-size: 20px; color: #0369a1; }

/* Rotatie Animaties */
@keyframes ll-spin-cw {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes ll-spin-ccw {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}
@keyframes ll-spin-clockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes ll-spin-counter {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

/* ==========================================================================
   6. SOCIAL SHARING BUTTONS (Vanuit social.css)
   ========================================================================== */
.resp-sharing-button__link,
.resp-sharing-button__icon {
    display: inline-block;
}

.resp-sharing-button__link {
    text-decoration: none;
    color: #fff;
    margin: 0.5em;
}

.resp-sharing-button {
    border-radius: 5px;
    transition: 25ms ease-out;
    padding: 0.5em 0.75em;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

.resp-sharing-button__icon svg {
    width: 1em;
    height: 1em;
    margin-right: 0.4em;
    vertical-align: top;
}

.resp-sharing-button--small svg {
    margin: 0;
    vertical-align: middle;
}

.resp-sharing-button__icon {
    stroke: #fff;
    fill: none;
}

.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
    fill: #fff;
    stroke: none;
}

.resp-sharing-button--twitter { background-color: #55acee; border-color: #55acee; }
.resp-sharing-button--twitter:hover,
.resp-sharing-button--twitter:active { background-color: #2795e9; border-color: #2795e9; }

.resp-sharing-button--pinterest { background-color: #bd081c; border-color: #bd081c; }
.resp-sharing-button--pinterest:hover,
.resp-sharing-button--pinterest:active { background-color: #8c0615; border-color: #8c0615; }

.resp-sharing-button--facebook { background-color: #3b5998; border-color: #3b5998; }
.resp-sharing-button--facebook:hover,
.resp-sharing-button--facebook:active { background-color: #2d4373; border-color: #2d4373; }

.resp-sharing-button--tumblr { background-color: #35465C; border-color: #35465C; }
.resp-sharing-button--tumblr:hover,
.resp-sharing-button--tumblr:active { background-color: #222d3c; border-color: #222d3c; }

.resp-sharing-button--reddit { background-color: #5f99cf; }
.resp-sharing-button--reddit:hover { background-color: #3a80c1; }

.resp-sharing-button--google { background-color: #dd4b39; }
.resp-sharing-button--google:hover { background-color: #c23321; }

.resp-sharing-button--linkedin { background-color: #0077b5; border-color: #0077b5; }
.resp-sharing-button--linkedin:hover,
.resp-sharing-button--linkedin:active { background-color: #046293; border-color: #046293; }

.resp-sharing-button--email { background-color: #777777; border-color: #777777; }
.resp-sharing-button--email:hover,
.resp-sharing-button--email:active { background-color: #5e5e5e; border-color: #5e5e5e; }

.resp-sharing-button--xing { background-color: #1a7576; }
.resp-sharing-button--xing:hover { background-color: #114c4c; }

.resp-sharing-button--whatsapp { background-color: #25D366; border-color: #25D366; }
.resp-sharing-button--whatsapp:hover,
.resp-sharing-button--whatsapp:active { background-color: #1DA851; border-color: #1DA851; }

.resp-sharing-button--hackernews { background-color: #FF6600; }
.resp-sharing-button--hackernews:hover,
.resp-sharing-button--hackernews:focus { background-color: #FB6200; }

.resp-sharing-button--vk { background-color: #507299; }
.resp-sharing-button--vk:hover { background-color: #43648c; }

.resp-sharing-button--telegram { background-color: #54A9EB; }
.resp-sharing-button--telegram:hover { background-color: #4B97D1; }

/* ==========================================================================
   7. RESPONSIVE MEDIA QUERIES (Zijpanelen verbergen & Kaartenraster schalen)
   ========================================================================== */

/* Zodra het scherm smaller wordt dan 1080px: verberg beide zijpanelen */
@media screen and (max-width: 1080px) {
    .sidebar-left, 
    .sidebar-right {
        display: none !important;
    }
    .main-container {
        justify-content: center;
        padding: 8px;
        gap: 0;
    }
    .content-area {
        max-width: 740px;
        margin: 0 auto;
    }
}

/* Modal sluitknop binnenin op tablets & mobiel */
@media screen and (max-width: 768px) {
    .modal-close-btn {
        top: 5px;
        right: 10px;
        background: rgba(0,0,0,0.5);
        width: 32px;
        height: 32px;
        line-height: 30px;
        border-radius: 50%;
        z-index: 10;
    }
}

/* Tablets & kleinere vensters (onder 720px): kaartenraster naar 3 kolommen */
@media screen and (max-width: 720px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 10px;
    }
    .intro-box {
        padding: 12px;
    }
}

/* Smartphones (onder 520px): 2 kolommen en banners schalen mee */
@media screen and (max-width: 520px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 8px;
    }
    .card-item {
        padding: 8px 5px;
    }
    h1, h2 {
        font-size: 16px !important;
    }
    .ai-magic-banner,
    .ll-horizontal-banner,
    .ll-authentic-banner,
    .ai-world-banner,
    .grid-full-width iframe,
    .grid-full-width ins {
        max-width: 100% !important;
        overflow: hidden;
    }
}
/* ==========================================================================
   RESPONSIVE HEADER STIJLEN (Top Thema Header - Meer naar buiten)
   ========================================================================== */
.theme-top-header {
    width: 100%;
    max-width: 1320px; /* Gelijk getrokken met de main-container */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px; /* Extra padding zodat logo en vlag niet tegen de schermrand plakken */
    box-sizing: border-box;
    gap: 15px;
}

.header-logo {
    width: 160px;
    flex-shrink: 0;
    text-align: left;
}

.header-center {
    flex-grow: 1;
    max-width: 700px; /* Geeft de titel in het midden wat meer ruimte */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.header-flag {
    width: 160px;
    flex-shrink: 0;
    text-align: right;
}

/* Op tablets en kleinere schermen: Logo & Vlag boven, Titel vol in het midden */
@media screen and (max-width: 768px) {
    .theme-top-header {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
    }
    .header-logo {
        order: 1;
        width: auto;
        text-align: left;
    }
    .header-flag {
        order: 2;
        width: auto;
        text-align: right;
    }
    .header-center {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
    }
    .theme-top-header h1 {
        font-size: 18px !important;
    }
}