:root{--bg:#07111f;--bg2:#0b1728;--panel:#0f1f33;--panel2:#132842;--text:#eef7ff;--muted:#8fa8bd;--cyan:#38d7ff;--cyan2:#0ca8d1;--red:#ff4b55;--line:rgba(90,210,255,.16);--radius:16px;--shadow:0 18px 50px rgba(0,0,0,.28)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at top right,rgba(16,125,166,.12),transparent 32%),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}.site-shell{width:min(1200px,calc(100% - 40px));margin-inline:auto}.site-header{position:relative;z-index:50;background:#050d18}.header-masthead{position:relative;min-height:300px;overflow:hidden;background:#050d18}.header-art{position:absolute;inset:0;background-image:url(../images/header-radio-space-v2.jpg);background-size:cover;background-position:center;pointer-events:none}.header-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,9,20,.96) 0%,rgba(3,9,20,.82) 31%,rgba(3,9,20,.24) 64%,rgba(3,9,20,.08) 100%),linear-gradient(180deg,rgba(3,9,20,.12),rgba(3,9,20,.08));pointer-events:none}.header-inner{position:relative;z-index:2;min-height:300px;display:flex;align-items:flex-start;justify-content:space-between;gap:34px;padding-top:30px}.header-brand-area{display:flex;flex-direction:column;align-items:flex-start}.brand{display:flex;flex-direction:column;gap:2px}.brand-mark{font-size:52px;font-weight:900;letter-spacing:.045em;line-height:.95;text-shadow:0 4px 24px rgba(0,0,0,.6)}.brand-sub{margin-top:18px;font-size:13px;font-weight:850;letter-spacing:.08em;color:var(--cyan)}.brand-tagline{margin-top:4px;font-size:13px;color:#e2edf5;letter-spacing:.01em}.station-chip{margin-top:22px;display:inline-grid;grid-template-columns:auto auto auto auto auto;align-items:center;gap:0;border:1px solid rgba(56,215,255,.62);border-radius:9px;background:rgba(4,15,27,.78);box-shadow:0 10px 35px rgba(0,0,0,.28),inset 0 0 28px rgba(19,164,213,.05);backdrop-filter:blur(8px);overflow:hidden;color:#fff}.station-chip>*{min-height:54px;display:flex;align-items:center;padding:0 15px;border-left:1px solid rgba(56,215,255,.16);white-space:nowrap}.station-chip>*:first-child{border-left:0}.station-chip-icon{font-size:22px;color:var(--cyan);padding-inline:14px}.station-chip-locator{font-size:20px;color:var(--cyan);letter-spacing:.04em}.station-chip-item{font-size:13px;font-weight:750;gap:7px}.station-chip-item span{color:var(--cyan);font-size:17px}.main-nav{padding-top:4px}.main-nav ul,.footer-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:30px;flex-wrap:wrap}.main-nav a{font-size:13px;font-weight:800;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.9)}.main-nav a:hover{color:var(--cyan)}.topic-bar{position:relative;z-index:3;border-top:1px solid rgba(90,210,255,.16);background:rgba(4,13,23,.97);box-shadow:0 -10px 30px rgba(0,0,0,.18)}.topic-bar-inner{min-height:58px;display:block;overflow:hidden}.topic-nav{display:grid;grid-template-columns:repeat(5,1fr);height:58px;overflow-x:auto;scrollbar-width:none}.topic-nav::-webkit-scrollbar{display:none}.topic-nav a{position:relative;display:flex;align-items:center;justify-content:center;gap:11px;padding:0 12px;font-size:12px;font-weight:850;letter-spacing:.045em;text-transform:uppercase;color:#e7f0f6;white-space:nowrap;border-right:1px solid rgba(56,215,255,.07)}.topic-nav a:last-child{border-right:0}.topic-nav a:hover{color:var(--cyan);background:rgba(56,215,255,.035)}.topic-nav a.is-primary-topic{color:var(--cyan);background:linear-gradient(180deg,rgba(56,215,255,.055),rgba(56,215,255,.015))}.topic-nav a.is-primary-topic:after{content:"";position:absolute;left:12%;right:12%;bottom:0;height:2px;background:var(--cyan);box-shadow:0 0 12px rgba(56,215,255,.65)}.topic-icon{font-size:19px;line-height:1;color:var(--cyan)}.header-accent{height:1px;background:linear-gradient(90deg,transparent,var(--cyan),transparent)}.site-content{min-height:65vh}.section-kicker{font-size:12px;font-weight:800;letter-spacing:.18em;color:var(--cyan);text-transform:uppercase}.hero-news{padding:42px 0 26px}.hero-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);gap:18px;margin-top:14px}.hero-lead,.hero-small,.post-card,.station-panel,.widget{background:linear-gradient(180deg,rgba(20,42,67,.94),rgba(12,26,43,.95));border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.hero-lead{position:relative;display:flex;flex-direction:column;min-height:520px}.hero-image{display:block;position:relative;height:330px;overflow:hidden;background:#081321}.hero-image img{width:100%;height:100%;object-fit:cover}.hero-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,9,18,.02),rgba(2,9,18,.18))}.hero-overlay{position:relative;left:auto;right:auto;bottom:auto;padding:24px 28px 28px;background:linear-gradient(180deg,rgba(16,34,55,.98),rgba(10,24,40,.99));z-index:2;flex:1}.hero-overlay h1{font-size:clamp(30px,3.2vw,44px);line-height:1.08;margin:10px 0 12px;max-width:900px;letter-spacing:-.02em}.hero-overlay h1 a{display:block}.hero-overlay p{max-width:780px;color:#c2d2df;margin:0 0 16px;font-size:15px;line-height:1.55}.read-more{display:inline-flex;color:var(--cyan);font-weight:800}.new-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:var(--red);color:#fff;font-size:11px;font-weight:900;letter-spacing:.12em}.new-badge.subtle{background:rgba(255,75,85,.15);border:1px solid rgba(255,75,85,.45);color:#ff8c94}.post-meta{font-size:12px;color:var(--muted)}.post-meta a{color:var(--muted)}.hero-side{display:grid;gap:18px}.hero-small{display:grid;grid-template-columns:1fr;min-height:250px}.hero-small-image img,.hero-small-image .media-placeholder{width:100%;height:150px;object-fit:cover}.hero-small-body{padding:18px}.hero-small h2{font-size:21px;line-height:1.15;margin:7px 0 0}.media-placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#0c2237,#173855);color:var(--cyan);font-size:32px;font-weight:900}.home-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px;padding:38px 0 70px}.section-block{margin-bottom:48px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.section-head h2{font-size:24px;margin:0}.section-head>a{color:var(--cyan);font-size:13px;font-weight:700}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.post-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.post-card{transition:transform .2s ease,border-color .2s ease}.post-card:hover{transform:translateY(-3px);border-color:rgba(56,215,255,.38)}.post-card-media img,.post-card-media .media-placeholder{width:100%;height:180px;object-fit:cover}.post-card-body{padding:18px}.post-card h3{font-size:19px;line-height:1.18;margin:7px 0 10px}.post-card p{margin:0;color:#aebfcd;font-size:14px}.home-sidebar{display:flex;flex-direction:column;gap:18px}.station-panel,.widget{padding:20px}.station-call{font-size:38px;font-weight:900;margin:8px 0 16px}.station-row{padding:11px 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:2px}.station-row span{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.12em}.station-row strong{font-size:14px}.widget-title{font-size:16px;margin:0 0 14px}.widget ul{margin:0;padding-left:18px}.widget li{margin:7px 0}.archive-shell,.page-shell{padding:48px 0 70px}.archive-header{margin-bottom:25px}.archive-header h1,.page-content h1{font-size:42px;line-height:1.08;margin:7px 0}.archive-description{color:var(--muted);max-width:760px}.content-layout{display:grid;grid-template-columns:minmax(0,820px) 310px;gap:50px;padding:48px 0 80px}.single-header h1{font-size:clamp(38px,5vw,64px);line-height:1.02;margin:10px 0 26px}.single-hero{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);margin-bottom:32px}.entry-content{font-size:18px;color:#d7e3ec}.entry-content h2,.entry-content h3{color:#fff;margin-top:1.8em}.entry-content a{color:var(--cyan);text-decoration:underline}.entry-content img{border-radius:12px}.single-footer{margin-top:35px;padding-top:25px;border-top:1px solid var(--line)}.tags a{display:inline-flex;padding:5px 9px;border:1px solid var(--line);border-radius:999px;margin:0 6px 6px 0}.site-footer{border-top:1px solid var(--line);background:#050d18}.footer-grid{min-height:190px;display:grid;grid-template-columns:1.25fr 1fr .8fr auto;align-items:center;gap:34px;color:var(--muted)}.footer-brand{font-size:28px;font-weight:900;color:#fff}.footer-about p{margin:4px 0}.footer-station{color:var(--cyan);font-size:13px;font-weight:800;letter-spacing:.06em}.footer-legal{display:flex;flex-direction:column;gap:7px}.footer-legal strong{color:#fff;font-size:12px;letter-spacing:.12em;text-transform:uppercase}.footer-legal a:hover,.footer-nav a:hover{color:var(--cyan)}.pagination{margin-top:28px}.nav-links{display:flex;gap:8px;flex-wrap:wrap}.page-numbers{padding:8px 12px;border:1px solid var(--line);border-radius:8px}.page-numbers.current{background:var(--cyan);color:#03111c}
@media(max-width:980px){.header-masthead{min-height:255px}.header-inner{min-height:255px;padding-top:24px}.main-nav{display:none}.brand-mark{font-size:46px}.brand-sub{font-size:11px}.brand-tagline{font-size:12px}.station-chip{margin-top:18px}.station-chip>*{min-height:48px;padding-inline:12px}.station-chip-locator{font-size:18px}.topic-nav{grid-template-columns:repeat(5,minmax(160px,1fr))}.hero-grid,.home-layout,.content-layout{grid-template-columns:1fr}.hero-side{grid-template-columns:1fr 1fr}.home-sidebar,.content-sidebar{order:2}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{grid-template-columns:1fr;align-items:start;padding:35px 0}.footer-nav ul{gap:14px}}
@media(max-width:650px){.site-shell{width:min(100% - 24px,1200px)}.header-masthead{min-height:245px}.header-art{background-position:62% center}.header-shade{background:linear-gradient(90deg,rgba(3,9,20,.96) 0%,rgba(3,9,20,.82) 55%,rgba(3,9,20,.42) 100%)}.header-inner{min-height:245px;padding-top:20px}.brand-mark{font-size:38px}.brand-sub{display:block;font-size:9px;letter-spacing:.07em;margin-top:12px}.brand-tagline{display:block;font-size:11px;max-width:310px}.station-chip{grid-template-columns:auto auto auto auto auto;margin-top:16px;max-width:100%;overflow-x:auto}.station-chip>*{min-height:42px;padding-inline:9px}.station-chip-icon{font-size:16px}.station-chip-locator{font-size:15px}.station-chip-item{font-size:11px;gap:4px}.station-chip-item span{font-size:13px}.topic-bar-inner{width:100%}.topic-nav{display:flex;height:52px;padding-inline:12px}.topic-nav a{min-width:max-content;padding:0 18px;font-size:10px}.topic-icon{font-size:16px}.hero-news{padding-top:24px}.hero-grid{grid-template-columns:1fr}.hero-lead{min-height:0}.hero-image{height:260px}.hero-image img{height:100%}.hero-overlay{padding:20px}.hero-overlay h1{font-size:30px;line-height:1.1}.hero-side{grid-template-columns:1fr}.post-grid,.post-grid.compact{grid-template-columns:1fr}.post-card-media img,.post-card-media .media-placeholder{height:210px}.archive-header h1,.page-content h1{font-size:34px}.entry-content{font-size:17px}}


/* v0.1.7 approved DL7AG header */
.site-hero,
.dl7ag-hero,
.header-hero {
    background:
        linear-gradient(90deg, rgba(2,12,24,.90) 0%, rgba(2,12,24,.72) 28%, rgba(2,12,24,.18) 58%, rgba(2,12,24,.05) 100%),
        url('../images/header-space-radio-v2.jpg') center center / cover no-repeat !important;
    min-height: 330px;
}


/* v0.1.8 final header composition: preserve all motifs */
.site-hero,
.dl7ag-hero,
.header-hero {
    background-image:
        linear-gradient(90deg, rgba(1,9,19,.62) 0%, rgba(1,9,19,.24) 34%, rgba(1,9,19,.05) 100%),
        url('../images/header-radio-space-final.jpg') !important;
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 330px !important;
}

@media (max-width: 1200px) {
    .site-hero,
    .dl7ag-hero,
    .header-hero {
        background-size: auto 100% !important;
        background-position: center center !important;
    }
}

@media (max-width: 760px) {
    .site-hero,
    .dl7ag-hero,
    .header-hero {
        background-size: auto 100% !important;
        background-position: 58% center !important;
        min-height: 300px !important;
    }
}


/* v0.1.9 approved photorealistic header */
.site-hero,
.dl7ag-hero,
.header-hero {
    background-image:
        linear-gradient(90deg, rgba(1,8,18,.82) 0%, rgba(1,8,18,.52) 29%, rgba(1,8,18,.08) 55%, rgba(1,8,18,.02) 100%),
        url('../images/header-radio-space-photo.jpg') !important;
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 330px !important;
}

@media (max-width: 1200px) {
    .site-hero,
    .dl7ag-hero,
    .header-hero {
        background-size: cover !important;
        background-position: 58% center !important;
    }
}

@media (max-width: 760px) {
    .site-hero,
    .dl7ag-hero,
    .header-hero {
        background-position: 55% center !important;
        min-height: 300px !important;
    }
}


/* v0.2.0 exact approved header: image element, zero cropping */
.dl7ag-approved-header {
    width: 100%;
    background: #020b16;
    border-bottom: 1px solid rgba(43, 209, 255, .18);
}
.dl7ag-approved-header__visual {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.dl7ag-approved-header__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.dl7ag-overlay-links {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.dl7ag-overlay-links .hit {
    position: absolute;
    display: block;
    pointer-events: auto;
    background: transparent;
    border-radius: 6px;
}
.dl7ag-overlay-links .hit:focus-visible {
    outline: 2px solid #25d8ff;
    outline-offset: 2px;
}

/* Top navigation hit areas based on the approved 1680px composition */
.hit-home    { left: 77.1%; top: 3.0%; width: 7.1%; height: 8.2%; }
.hit-logbook { left: 84.7%; top: 3.0%; width: 9.8%; height: 8.2%; }
.hit-contact { left: 94.3%; top: 3.0%; width: 5.3%; height: 8.2%; }

/* Topic navigation hit areas */
.hit-amateurfunk { left: 6.9%;  top: 84.0%; width: 15.8%; height: 13.8%; }
.hit-satelliten  { left: 23.8%; top: 84.0%; width: 16.2%; height: 13.8%; }
.hit-raumfahrt   { left: 41.2%; top: 84.0%; width: 16.2%; height: 13.8%; }
.hit-antennen    { left: 58.1%; top: 84.0%; width: 15.8%; height: 13.8%; }
.hit-computer    { left: 75.1%; top: 84.0%; width: 23.5%; height: 13.8%; }

.dl7ag-mobile-header { display: none; }

@media (max-width: 760px) {
    .dl7ag-approved-header__visual { display: none; }
    .dl7ag-mobile-header {
        display: block;
        padding: 22px 18px;
        background:
            radial-gradient(circle at 80% 0%, rgba(28,150,220,.15), transparent 38%),
            #020b16;
    }
    .dl7ag-mobile-logo {
        display: inline-block;
        color: #fff;
        font-size: 2.1rem;
        line-height: 1;
        font-weight: 800;
        text-decoration: none;
    }
    .dl7ag-mobile-topics {
        margin-top: 10px;
        color: #27d8ff;
        font-size: .77rem;
        font-weight: 700;
        letter-spacing: .08em;
    }
    .dl7ag-mobile-subtitle {
        margin-top: 6px;
        color: rgba(255,255,255,.82);
        font-size: .88rem;
    }
    .dl7ag-mobile-station {
        display: inline-block;
        margin-top: 14px;
        padding: 8px 10px;
        border: 1px solid rgba(39,216,255,.45);
        border-radius: 7px;
        color: #fff;
        font-size: .82rem;
    }
    .dl7ag-mobile-menu { margin-top: 18px; }
}

/* Hide obsolete header structures if an older CSS selector still catches them */
.site-hero,
.dl7ag-hero,
.header-hero,
.topic-strip {
    background-image: none;
}


/* v0.2.2 restore real topic navigation below header image */
.dl7ag-topic-nav {
    width: 100%;
    background: rgba(2, 12, 24, .98);
    border-top: 1px solid rgba(42, 211, 255, .14);
    border-bottom: 1px solid rgba(42, 211, 255, .22);
}
.dl7ag-topic-nav__inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr .95fr 1.35fr;
}
.dl7ag-topic-nav__item {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    color: rgba(255,255,255,.9);
    font-size: .88rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-decoration: none;
    border-right: 1px solid rgba(255,255,255,.055);
    transition: background .18s ease, color .18s ease;
}
.dl7ag-topic-nav__item:first-child {
    border-left: 1px solid rgba(255,255,255,.055);
}
.dl7ag-topic-nav__item:hover,
.dl7ag-topic-nav__item:focus-visible {
    color: #35dbff;
    background: rgba(31, 189, 232, .045);
}
.dl7ag-topic-nav__item.is-active {
    color: #35dbff;
    background: linear-gradient(180deg, rgba(25,155,195,.07), rgba(25,155,195,.025));
}
.dl7ag-topic-nav__item.is-active::after {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: 0;
    height: 2px;
    background: #35dbff;
    box-shadow: 0 0 10px rgba(53,219,255,.35);
}
.dl7ag-topic-nav__icon {
    color: #35dbff;
    font-size: 1.25rem;
    line-height: 1;
}

@media (max-width: 900px) {
    .dl7ag-topic-nav__inner {
        overflow-x: auto;
        display: flex;
        width: 100%;
        scrollbar-width: thin;
    }
    .dl7ag-topic-nav__item {
        flex: 0 0 auto;
        min-width: 180px;
        padding: 0 20px;
    }
}


/* v0.2.3 fluid portal width
   Header and editorial content now follow the same responsive width logic. */
:root {
    --portal-max: 1680px;
    --portal-gutter: clamp(18px, 3.2vw, 64px);
}

.site-shell {
    width: min(var(--portal-max), calc(100% - (var(--portal-gutter) * 2))) !important;
    max-width: none !important;
    margin-inline: auto !important;
}

/* Start page: use the extra room instead of leaving a narrow 1200px island. */
.hero-grid {
    grid-template-columns: minmax(0, 1.75fr) minmax(330px, .72fr);
    gap: clamp(18px, 1.5vw, 28px);
}

.home-layout {
    grid-template-columns: minmax(0, 1fr) clamp(310px, 20vw, 360px);
    gap: clamp(26px, 2.2vw, 42px);
}

.post-grid {
    gap: clamp(18px, 1.4vw, 26px);
}

/* Internal pages may grow with the browser as well,
   while keeping the sidebar at a sensible width. */
.content-layout {
    grid-template-columns: minmax(0, 1fr) clamp(300px, 20vw, 350px);
    gap: clamp(34px, 3vw, 58px);
}

/* Keep long article text readable even on ultrawide monitors. */
.content-layout > main .entry-content,
.content-layout > article .entry-content {
    max-width: 920px;
}

/* Topic navigation aligns with the same portal width. */
.dl7ag-topic-nav__inner {
    width: min(var(--portal-max), calc(100% - (var(--portal-gutter) * 2))) !important;
}

/* On very large desktops the news cards may use a little more image height,
   so the proportions don't look flattened. */
@media (min-width: 1500px) {
    .hero-image {
        height: 370px;
    }

    .hero-lead {
        min-height: 570px;
    }

    .hero-small-image img,
    .hero-small-image .media-placeholder {
        height: 175px;
    }

    .post-card-media img,
    .post-card-media .media-placeholder {
        height: 205px;
    }
}

/* Tablet and below: retain the existing single-column behaviour. */
@media (max-width: 980px) {
    :root {
        --portal-gutter: clamp(12px, 3vw, 28px);
    }

    .hero-grid,
    .home-layout,
    .content-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .site-shell {
        width: calc(100% - 24px) !important;
    }
}


/* v0.2.4: style existing coffee/support blocks without changing their function */
.dl7ag-support-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(35, 187, 230, .10), transparent 42%),
        linear-gradient(145deg, #10263d 0%, #0a1a2c 100%) !important;
    border: 1px solid rgba(57, 211, 255, .28) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .20) !important;
    color: #eaf5ff !important;
}

.dl7ag-support-card,
.dl7ag-support-card p,
.dl7ag-support-card span,
.dl7ag-support-card div,
.dl7ag-support-card strong,
.dl7ag-support-card b,
.dl7ag-support-card h1,
.dl7ag-support-card h2,
.dl7ag-support-card h3,
.dl7ag-support-card h4 {
    color: #eaf5ff !important;
}

.dl7ag-support-card p {
    color: #c5d6e5 !important;
}

.dl7ag-support-card h2,
.dl7ag-support-card h3,
.dl7ag-support-card h4,
.dl7ag-support-card strong {
    color: #ffffff !important;
}

.dl7ag-support-card a,
.dl7ag-support-card button,
.dl7ag-support-card input[type="button"],
.dl7ag-support-card input[type="submit"] {
    color: #ffffff !important;
}

.dl7ag-support-card a.dl7ag-coffee-action,
.dl7ag-support-card button.dl7ag-coffee-action,
.dl7ag-support-card .dl7ag-coffee-action {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: .5em;
    background: linear-gradient(135deg, #146bea 0%, #2459f5 100%) !important;
    border: 1px solid rgba(92, 179, 255, .65) !important;
    color: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 9px 22px rgba(31, 100, 235, .25) !important;
    text-decoration: none !important;
}

.dl7ag-support-card a.dl7ag-coffee-action:hover,
.dl7ag-support-card button.dl7ag-coffee-action:hover,
.dl7ag-support-card .dl7ag-coffee-action:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* Article-bottom version can stay wider; sidebar version stays compact. */
.entry-content .dl7ag-support-card,
.single-post .dl7ag-support-card {
    padding: clamp(24px, 3vw, 38px) !important;
}

aside .dl7ag-support-card,
.sidebar .dl7ag-support-card,
.widget-area .dl7ag-support-card {
    padding: 26px 24px !important;
}


/* v0.2.5: dedicated sidebar coffee card */
.dl7ag-support-card--sidebar {
    position: relative !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(48, 210, 255, .14), transparent 34%),
        linear-gradient(180deg, #112b45 0%, #0a1a2c 100%) !important;
    border: 1px solid rgba(55, 215, 255, .38) !important;
    border-radius: 20px !important;
    padding: 34px 28px 30px !important;
    text-align: center !important;
    box-shadow: 0 18px 40px rgba(0,0,0,.24) !important;
    color: #eaf7ff !important;
}

.dl7ag-support-card--sidebar::before {
    content: "☕";
    display: block;
    font-size: 5.2rem;
    line-height: 1;
    margin: 0 auto 18px;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,.22));
}

.dl7ag-support-card--sidebar::after {
    content: "";
    position: absolute;
    inset: auto 14% 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(60,220,255,.45), transparent);
}

.dl7ag-support-card--sidebar,
.dl7ag-support-card--sidebar * {
    background-color: transparent !important;
}

.dl7ag-support-card--sidebar h1,
.dl7ag-support-card--sidebar h2,
.dl7ag-support-card--sidebar h3,
.dl7ag-support-card--sidebar h4,
.dl7ag-support-card--sidebar strong,
.dl7ag-support-card--sidebar b {
    color: #ffffff !important;
}

.dl7ag-support-card--sidebar p,
.dl7ag-support-card--sidebar div,
.dl7ag-support-card--sidebar span {
    color: #c9dceb !important;
}

.dl7ag-support-card--sidebar .dl7ag-coffee-action,
.dl7ag-support-card--sidebar a.dl7ag-coffee-action,
.dl7ag-support-card--sidebar button.dl7ag-coffee-action {
    width: 100% !important;
    min-height: 62px !important;
    margin-top: 18px !important;
    padding: 14px 18px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #1677ff 0%, #2458f2 100%) !important;
    color: #fff !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    box-shadow: 0 10px 25px rgba(35, 103, 235, .28) !important;
}

.dl7ag-support-card--sidebar .dl7ag-coffee-action::before {
    content: "☕";
    margin-right: .45em;
}

@media (max-width: 980px) {
    .dl7ag-support-card--sidebar {
        max-width: 520px;
        margin-inline: auto !important;
    }
}


/* v0.2.8 automatic column-height balancing on the homepage */
.auto-balance-section[hidden],
.auto-balance-item[hidden] {
    display: none !important;
}

.auto-balance-section {
    margin-top: clamp(28px, 2.5vw, 44px);
}

.auto-balance-grid {
    align-items: stretch;
}

.auto-balance-item {
    min-width: 0;
}

.auto-balance-item > .post-card {
    height: 100%;
}

/* Height balancing is only useful while the homepage has two columns. */
@media (max-width: 980px) {
    .auto-balance-section {
        display: none !important;
    }
}


/* v0.2.9: allow homepage columns to keep their real content height */
.home-layout {
    align-items: start !important;
}

.home-main,
.home-sidebar {
    align-self: start !important;
    min-height: 0 !important;
}

.auto-balance-section[hidden],
.auto-balance-item[hidden] {
    display: none !important;
}

.auto-balance-section {
    margin-top: clamp(24px, 2vw, 34px);
}




/* v0.3.1: sidebar top offset is calculated from the real image positions */
.home-sidebar {
    padding-top: 0 !important;
    margin-top: var(--sidebar-image-align-offset, 0px) !important;
}

@media (max-width: 980px) {
    .home-sidebar {
        margin-top: 0 !important;
    }
}


/* v0.3.2: first visual sidebar widget starts exactly on the article-image line */
@media (min-width: 981px) {
    .home-sidebar .widget.dl7ag-first-media-widget {
        padding: 0 !important;
        overflow: hidden !important;
    }

    .home-sidebar .widget.dl7ag-first-media-widget > :first-child,
    .home-sidebar .widget.dl7ag-first-media-widget a:first-child {
        margin-top: 0 !important;
    }

    .home-sidebar .widget.dl7ag-first-media-widget img.dl7ag-first-sidebar-image {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }
}
