/* GG Daengku v1.3.0 — borderless editorial spotlight.
   Loaded AFTER all inherited GGtheme and Daengku styles.
   Home Featured section only; login, header, author template and article pages unchanged. */
body.gtheme-body .gd-home .gd-featured {
    padding-top: clamp(42px, 5vw, 72px);
    padding-bottom: clamp(44px, 5vw, 70px);
}
body.gtheme-body .gd-home .gd-featured .gd-section-header {
    margin-bottom: clamp(29px, 3.5vw, 48px) !important;
}
body.gtheme-body .gd-home .gd-featured-grid {
    counter-reset: featuredItems;
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
    grid-template-rows: repeat(3, auto);
    column-gap: clamp(38px, 5.8vw, 94px);
    row-gap: 0;
    align-items: stretch;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible;
}
body.gtheme-body .gd-home .gd-feature-card {
    counter-increment: featuredItems;
    position: relative;
    padding: 20px 0 20px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-bottom: 1px solid #dfe8ec !important;
    border-radius: 0 !important;
    min-width: 0;
    transition: none;
}
body.gtheme-body .gd-home .gd-feature-card:hover {
    background: transparent !important;
}
body.gtheme-body .gd-home .gd-feature-card:not(.gd-feature-card--lead):first-of-type {
    padding-top: 0 !important;
}
body.gtheme-body .gd-home .gd-feature-card:last-child:not(.gd-feature-card--lead) {
    border-bottom: 0 !important;
}
body.gtheme-body .gd-home .gd-feature-card--lead {
    grid-column: 1;
    grid-row: 1 / span 3;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    padding: clamp(26px, 3vw, 43px) clamp(26px, 3.5vw, 48px) clamp(28px, 3vw, 42px) !important;
    border: 0 !important;
    background: linear-gradient(143deg, #f0f7f8 0%, #f7fafb 60%, #fff 100%) !important;
    border-top: 3px solid #16818e !important;
}
body.gtheme-body .gd-home .gd-feature-card--lead:hover {
    background: linear-gradient(143deg, #edf6f7 0%, #f7fafb 60%, #fff 100%) !important;
}
body.gtheme-body .gd-home .gd-feature-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
}
body.gtheme-body .gd-home .gd-feature-number {
    flex: 0 0 auto;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    line-height: 1;
    color: #98a9b5;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
}
body.gtheme-body .gd-home .gd-feature-number::before {
    content: counter(featuredItems, decimal-leading-zero);
}
body.gtheme-body .gd-home .gd-feature-card--lead .gd-feature-number {
    font-size: 32px;
    color: #21828b;
}
body.gtheme-body .gd-home .gd-feature-eyebrow {
    color: #16818e !important;
    font-size: 10px !important;
    line-height: 1.6 !important;
    letter-spacing: .11em !important;
    font-weight: 760 !important;
    text-transform: uppercase;
    margin: 0 !important;
}
body.gtheme-body .gd-home .gd-feature-meta-sep {
    display: inline;
    padding-inline: 5px;
    color: #a0acb4;
}
body.gtheme-body .gd-home .gd-feature-card h3 {
    max-width: 100%;
    margin: 0 0 11px !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: clamp(17px, 1.5vw, 21px) !important;
    line-height: 1.42 !important;
    font-weight: 650 !important;
    letter-spacing: -.018em !important;
    color: #1b3448 !important;
    overflow-wrap: break-word;
}
body.gtheme-body .gd-home .gd-feature-card--lead h3 {
    font-size: clamp(23px, 2.3vw, 33px) !important;
    line-height: 1.29 !important;
    letter-spacing: -.024em !important;
    margin-top: clamp(8px, 1vw, 19px) !important;
    margin-bottom: 19px !important;
}
body.gtheme-body .gd-home .gd-feature-card h3 a {
    color: #1b3448 !important;
    text-decoration: none !important;
    transition: color .16s ease;
}
body.gtheme-body .gd-home .gd-feature-card h3 a:hover,
body.gtheme-body .gd-home .gd-feature-card h3 a:focus-visible {
    color: #076986 !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}
body.gtheme-body .gd-home .gd-feature-card .gd-feature-authors {
    color: #596a79 !important;
    font-size: 12.5px !important;
    line-height: 1.65 !important;
    margin: 0 0 6px !important;
}
body.gtheme-body .gd-home .gd-feature-card .gd-feature-date {
    color: #82909b !important;
    font-size: 11.5px !important;
    margin: 0 !important;
}
body.gtheme-body .gd-home .gd-feature-card--lead .gd-feature-authors {
    font-size: 13.5px !important;
}
body.gtheme-body .gd-home .gd-feature-read {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 30px;
    color: #075b87 !important;
    font-size: 12.5px;
    letter-spacing: .02em;
    font-weight: 750;
    text-decoration: none !important;
}
body.gtheme-body .gd-home .gd-feature-read:hover { text-decoration: underline !important; }
body.gtheme-body .gd-home .gd-feature-read span { font-size: 17px; font-weight: 400; }
body.gtheme-body .gd-home .gd-feature-card:focus-within {
    outline: 2px solid #86b9c8;
    outline-offset: 5px;
}
body.gtheme-body .gd-home .gd-featured-grid .gd-empty {
    grid-column: 1 / -1;
}
/* Dark mode: preserve contrast on both the spotlight and quiet side list. */
html.dark body.gtheme-body .gd-home .gd-feature-card--lead,
html.dark body.gtheme-body .gd-home .gd-feature-card--lead:hover {
    background: linear-gradient(145deg, #1b3946 0%, #1b3041 70%, #1a2c3e 100%) !important;
    border-top-color: #5fbdc2 !important;
}
html.dark body.gtheme-body .gd-home .gd-feature-card:not(.gd-feature-card--lead) {
    background: transparent !important;
    border-bottom-color: #385166 !important;
}
html.dark body.gtheme-body .gd-home .gd-feature-number { color: #9db3c4; }
html.dark body.gtheme-body .gd-home .gd-feature-card--lead .gd-feature-number { color: #80d3d4; }
html.dark body.gtheme-body .gd-home .gd-feature-card h3 a { color: #e2f2f7 !important; }
html.dark body.gtheme-body .gd-home .gd-feature-card h3 a:hover { color: #8ee0eb !important; }
html.dark body.gtheme-body .gd-home .gd-feature-eyebrow { color: #85d3d8 !important; }
html.dark body.gtheme-body .gd-home .gd-feature-card .gd-feature-authors { color: #c1d2df !important; }
html.dark body.gtheme-body .gd-home .gd-feature-card .gd-feature-date { color: #9fb4c5 !important; }
html.dark body.gtheme-body .gd-home .gd-feature-read { color: #a4e1ee !important; }
@media (max-width: 900px) {
    body.gtheme-body .gd-home .gd-featured-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, .98fr);
        column-gap: 30px;
    }
    body.gtheme-body .gd-home .gd-feature-card--lead { padding: 25px !important; }
    body.gtheme-body .gd-home .gd-feature-card--lead h3 { font-size: 23px !important; }
}
@media (max-width: 680px) {
    body.gtheme-body .gd-home .gd-featured-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    body.gtheme-body .gd-home .gd-feature-card--lead { padding: 25px 21px !important; margin-bottom: 10px; }
    body.gtheme-body .gd-home .gd-feature-card--lead h3 { font-size: clamp(22px, 5.6vw, 28px) !important; }
    body.gtheme-body .gd-home .gd-feature-card:not(.gd-feature-card--lead) { padding: 22px 3px !important; }
    body.gtheme-body .gd-home .gd-feature-card h3 { font-size: 19px !important; }
    body.gtheme-body .gd-home .gd-feature-read { margin-top: 14px; padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    body.gtheme-body .gd-home .gd-feature-card h3 a { transition: none; }
}
