:root {
	--bg: #fff;
	--panel: #ffffff;
	--panel-soft: #f9f9f9;
	--line: #ecd8d1;
	--text: #142033;
	--muted: #64748b;
	--brand: #e96443;
	--brand-strong: #c94b2d;
	--accent: #ffe4db;
	--shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
	background: radial-gradient(circle at top left, #ffffff 0, #f0f0f0 30%, var(--bg) 100%);
	color: var(--text);
	font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: #fff;
    border-bottom: 1px solid rgba(219, 228, 240, 0.85);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 132px;
    height: auto;
    display: block;
}

.brand-copy strong {
    display: block;
    font-size: 14px;
    letter-spacing: 0.01em;
}

.brand-copy small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.header-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.header-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    transition: 0.2s ease;
}

.header-nav a:hover,
.header-nav a.is-active,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.is-active {
    background: var(--panel);
    color: var(--brand-strong);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    transition: 0.2s ease;
    cursor: pointer;
    font: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-caret {
    font-size: 12px;
    line-height: 1;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 220px;
    padding: 10px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: none;
}

.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -8px;
    height: 8px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: grid;
    gap: 4px;
}

.nav-dropdown-menu a {
    border-radius: 12px;
}

.main-content {
    padding: 34px 0 70px;
}

.hero {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 22px;
    margin-bottom: 28px;
}

.hero-copy,
.hero-panel,
.section-block,
.article-detail,
.sidebar-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.hero-copy {
	padding: 32px;
	padding-top: 57px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--brand-strong);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(30px, 4.2vw, 46px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero p {
    margin: 0;
    max-width: 720px;
    color: var(--muted);
    font-size: 15px;
}

.hero-panel {
    display: grid;
    gap: 14px;
    padding: 22px;
    align-content: center;
    background: linear-gradient(180deg, #e96443, #cf4d2d);
    color: #fff;
}

.stat-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-card span {
    display: block;
    font-size: 13px;
    opacity: 0.82;
}

.stat-card strong {
    display: block;
    margin-top: 8px;
    font-size: 34px;
}

.section-block {
    padding: 24px;
    margin-bottom: 24px;
}

.search-block {
    padding: 18px 20px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--text);
    padding: 14px 16px;
    font: inherit;
}

.search-input:focus {
    outline: none;
    border-color: rgba(233, 100, 67, 0.55);
    box-shadow: 0 0 0 4px rgba(233, 100, 67, 0.12);
}

.search-button {
    appearance: none;
    border: 0;
    border-radius: 16px;
    background: var(--brand);
    color: #fff;
    padding: 14px 18px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.search-button:hover {
    background: var(--brand-strong);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.section-head h2,
.detail-head h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.section-head p,
.detail-head p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.featured-grid,
.article-grid {
    display: grid;
    gap: 16px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.featured-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article-grid {
    grid-template-columns: 1fr;
}

.featured-card,
.article-card {
    border-radius: 6px;
    overflow: hidden;
    background: #fff9f9;
    border: 1px solid var(--line);
}

.article-card {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    align-items: center;
}

.category-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	text-align: center;
	min-height: 95px;
	padding: 14px 12px;
	border-radius: 22px;
	background: #fff9f9;
	border: 1px solid var(--line);
	transition: 0.2s ease;
}
.category-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: rgba(233, 100, 67, 0.35);
}

.category-card-count {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--accent);
    color: var(--brand-strong);
    font-size: 12px;
    font-weight: 700;
}

.category-card strong {
    display: block;
    font-size: 13px;
    line-height: 1.25;
}

.featured-image,
.article-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e2e8f0;
}

.article-card .article-image {
    aspect-ratio: auto;
    height: 82px;
    min-height: 82px;
    align-self: center;
    border-right: 1px solid var(--line);
}

.article-card .article-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-image img,
.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-body,
.article-body {
    padding: 18px;
}
article.article-card {
    background: #fffdfd!important;
}
.featured-body h3,
.article-body h3 {
    margin: 12px 0 0px;
    font-size: 17px;
    line-height: 1.2;
}
.article-body h3 {
    margin: -26px 0 0px!important;
}
.featured-body p,
.article-body p,
.related-item span {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--brand-strong);
    font-size: 11px;
    font-weight: 700;
}

.meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.article-card .meta-row {
    justify-content: flex-end;
}

.meta-date {
    color: var(--muted);
    font-size: 13px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--brand-strong);
    font-weight: 700;
}

.text-link::after {
    content: "->";
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
    gap: 22px;
}

.article-detail {
    padding: 30px;
}

.detail-head {
    margin-bottom: 22px;
}

.detail-head .pill {
    margin-bottom: 14px;
}

.detail-hero-image {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 22px;
    background: #e2e8f0;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 24px;
    background: #020617;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.rich-content {
    color: var(--text);
}

.rich-content > *:first-child {
    margin-top: 0;
}

.rich-content img {
    border-radius: 20px;
}

.rich-content a {
    color: var(--brand-strong);
    text-decoration: underline;
}

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4 {
    line-height: 1.15;
}

.article-sidebar {
    display: grid;
    gap: 16px;
    align-content: start;
}

.sidebar-card {
    padding: 22px;
}

.sidebar-card h3 {
    margin: 0 0 14px;
    font-size: 17px;
}

.sidebar-links,
.related-list {
    display: grid;
    gap: 10px;
}

.sidebar-links a,
.related-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e5edf5;
    color: var(--text);
}

.sidebar-links a span {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--accent);
    color: var(--brand-strong);
    font-size: 12px;
    font-weight: 700;
}

.related-item {
    align-items: flex-start;
    justify-content: flex-start;
}

.related-item img {
    width: 84px;
    height: 64px;
    border-radius: 14px;
    object-fit: cover;
    flex: 0 0 auto;
}

.related-item strong {
    display: block;
    margin-bottom: 4px;
    line-height: 1.25;
}

.sidebar-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 16px;
    background: var(--accent);
    color: var(--brand-strong);
    font-weight: 700;
    transition: 0.2s ease;
}

.sidebar-more-link:hover {
    filter: brightness(0.98);
}

.empty-state {
    padding: 44px 28px;
    text-align: center;
    background: var(--panel-soft);
    border: 1px dashed #b8c8dc;
    border-radius: 24px;
    color: var(--muted);
}

.empty-state h1,
.empty-state p {
    margin: 0 0 10px;
}

@media (max-width: 1080px) {
    .hero,
    .article-layout,
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 20px, 1180px);
    }

    .header-row,
    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .brand {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-copy,
    .hero-panel,.pill {
        display: none;
    }

    .header-nav {
        width: 100%;
        overflow: visible;
    }

    .nav-dropdown {
        z-index: 30;
    }

    .nav-dropdown-menu {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        right: auto;
        margin-top: 0;
        min-width: 220px;
        max-width: min(280px, calc(100vw - 40px));
    }

    .nav-agentis-link {
        display: none;
    }

    .hero-copy,
    .hero-panel,
    .section-block,
    .article-detail,
    .sidebar-card {
        border-radius: 22px;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-detail {
        padding: 22px;
    }

    .article-card {
        grid-template-columns: 145px minmax(0, 1fr)!important;
        border-radius: 12px!important;
    }

    .article-card .article-image {
        height: 95px;
        min-height: 95px;
    }
}
.site-footer {
    text-align: center;
    font-size: 13px;
    color: #615e5e;
}
