/* INLINE BLOCK 1 */
:root {
    --dw-yellow: #b7ff36;
    --dw-dark: #1f1f1f;
    --dw-light: #f8f9fa;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.75;
    color: #212529;
}

.navbar-brand {
    letter-spacing: .2px;
}

.hero {
    min-height: 62vh;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.72)),
        #2a2a2a;
}

.section {
    padding: 80px 0;
}

.section-title {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.blog-card {
    background: var(--dw-yellow);
    color: #212529;
    border: 0;
    border-radius: 16px;
    padding: 28px;
    height: 100%;
    box-shadow: 0 8px 20px rgba(0,0,0,.14);
    transition: transform .3s ease, box-shadow .3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0,0,0,.22);
}

.blog-card h2 {
    font-weight: 700;
}

.blog-card .meta {
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.blog-card .btn {
    margin-top: auto;
}

.blog-card-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.blog-card.upcoming {
    background: #f1f3f5;
    box-shadow: 0 5px 16px rgba(0,0,0,.08);
}

.blog-card.upcoming:hover {
    transform: none;
    box-shadow: 0 5px 16px rgba(0,0,0,.08);
}

.cta {
    background: var(--dw-dark);
    color: #fff;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Blog accent aligned with the approved site design */
.text-warning {
    color: var(--dw-yellow);
}

.btn-warning {
    background-color: var(--dw-yellow);
    border-color: var(--dw-yellow);
    color: #111821;
}

.btn-warning:hover,
.btn-warning:focus {
    background-color: #c5ff58;
    border-color: #c5ff58;
    color: #111821;
}

@media (max-width: 991.98px) {
    .hero {
        min-height: 52vh;
    }
}

/* Exact site-green for the articles button */
a.btn[href="#cikkek"] {
    background-color: #c8ff3d;
    border-color: #c8ff3d;
    color: #111821;
}
a.btn[href="#cikkek"]:hover,
a.btn[href="#cikkek"]:focus {
    background-color: #d4ff6a;
    border-color: #d4ff6a;
    color: #111821;
}

/* INLINE BLOCK 2 */
.blog-card[data-href]{cursor:pointer;position:relative;}
.blog-card[data-href]:focus-visible{outline:3px solid #0b2c5d;outline-offset:4px;}
.blog-card[data-href] a,.blog-card[data-href] button{position:relative;z-index:2;}

/* INLINE BLOCK 3 */
body.blog-page header.hero.subhero-unified .blog-hero-container{width:min(calc(100% - 32px),1180px);max-width:1180px;margin-inline:auto;padding-inline:0;display:block;text-align:left;}
body.blog-page header.hero.subhero-unified .blog-hero-container>*{text-align:left;margin-left:0;margin-right:auto;}
body.blog-page header.hero.subhero-unified .blog-hero-container h1,body.blog-page header.hero.subhero-unified .blog-hero-container .lead{max-width:820px;}
