/* =========================================================
   NÚCLEO JUS — FOLHA DE ESTILOS PRINCIPAL
   Sumário:
   1. Reset e variáveis
   2. Tipografia base
   3. Utilitários e layout
   4. Acessibilidade (skip link, foco)
   5. Barra superior
   6. Cabeçalho principal
   7. Menu principal e menu mobile
   8. Breadcrumbs
   9. Grade de destaques da home
   10. Cabeçalho de seção ("Ver todas")
   11. Cartão de publicação
   12. Grades de seção
   13. Barra lateral (widgets)
   14. Newsletter
   15. Artigo individual
   16. Comentários
   17. Formulários (contato)
   18. Paginação
   19. Página 404
   20. Rodapé
   21. Media queries
   ========================================================= */

/* ---------- 1. RESET E VARIÁVEIS ---------- */
:root {
	--navy: #0b2340;
	--navy-2: #123a63;
	--blue: #1d5fae;
	--blue-light: #eaf1fb;
	--gold: #b8912f;
	--bg: #ffffff;
	--bg-alt: #f4f6f8;
	--text: #1b2430;
	--text-muted: #5b6472;
	--border: #e3e7ed;
	--white: #ffffff;
	--radius: 8px;
	--container: 1240px;
	--font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
	--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--shadow: 0 4px 16px rgba(11, 35, 64, 0.08);
	--shadow-lg: 0 12px 32px rgba(11, 35, 64, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-sans);
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
	font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-serif);
	color: var(--navy);
	line-height: 1.25;
	margin: 0 0 0.5em;
	font-weight: 700;
}
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ---------- 2. TIPOGRAFIA BASE ---------- */
.eyebrow {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--blue);
}

/* ---------- 3. UTILITÁRIOS E LAYOUT ---------- */
.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}
.section { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 48px;
	align-items: start;
}
.layout__sidebar { position: sticky; top: 24px; }
.section-block { margin-bottom: 48px; }
.category-badge {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--blue);
	background: var(--blue-light);
	padding: 4px 10px;
	border-radius: 999px;
}
.meta-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 0.82rem;
	color: var(--text-muted);
}
.meta-line span:not(:last-child)::after { content: "·"; margin-left: 6px; color: var(--border); }
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 22px;
	border-radius: var(--radius);
	font-weight: 600;
	font-size: 0.92rem;
	border: 1px solid transparent;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-2); box-shadow: var(--shadow); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { transform: translateY(-1px); }
.btn--outline { background: transparent; border-color: var(--border); color: var(--navy); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- 4. ACESSIBILIDADE ---------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link {
	position: fixed;
	top: -60px;
	left: 12px;
	z-index: 10000;
	background: var(--navy);
	color: var(--white);
	padding: 12px 18px;
	border-radius: var(--radius);
	transition: top 0.2s ease;
}
.skip-link:focus {
	top: 12px;
	width: auto;
	height: auto;
	clip: auto;
	overflow: visible;
	text-decoration: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 2px;
}

/* ---------- 5. BARRA SUPERIOR ---------- */
.topbar {
	background: var(--navy-2);
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.78rem;
}
.topbar .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 6px;
	padding-bottom: 6px;
}
.topbar__date { text-transform: capitalize; }
.topbar__links { display: flex; gap: 16px; }
.topbar__links a { color: rgba(255, 255, 255, 0.85); }
.topbar__links a:hover { color: var(--white); }

/* ---------- 6. CABEÇALHO PRINCIPAL ---------- */
.site-header { background: var(--navy); color: var(--white); }
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 20px 0;
}
.site-branding { display: flex; flex-direction: column; }
.site-branding a { color: var(--white); text-decoration: none; }
.site-branding__logo-img { max-height: 52px; width: auto; }
.site-title {
	font-family: var(--font-serif);
	font-size: 1.9rem;
	font-weight: 700;
	color: var(--white);
	margin: 0;
	letter-spacing: 0.01em;
}
.site-title .accent { color: var(--gold); }
.site-subtitle {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.72);
	margin-top: 2px;
	font-family: var(--font-sans);
}
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-search { position: relative; }
.header-search__toggle {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: var(--white);
	border-radius: 999px;
	width: 40px; height: 40px;
	display: flex; align-items: center; justify-content: center;
}
.header-search__toggle:hover { border-color: var(--gold); }
.header-search__form {
	position: absolute;
	top: 52px;
	right: 0;
	width: 300px;
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	padding: 10px;
	display: none;
	gap: 8px;
}
.header-search__form.is-open { display: flex; }
.header-search__form input[type="search"] {
	flex: 1;
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 8px 12px;
	color: var(--text);
}
.header-social { display: flex; gap: 10px; }
.header-social a {
	width: 34px; height: 34px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: var(--white);
}
.header-social a:hover { background: var(--gold); color: var(--navy); }
.header-social svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- 7. MENU PRINCIPAL E MOBILE ---------- */
.site-nav-wrap { background: var(--white); border-bottom: 1px solid var(--border); }
.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.primary-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}
.primary-menu > li > a {
	display: block;
	padding: 14px 14px;
	color: var(--navy);
	font-weight: 600;
	font-size: 0.9rem;
	border-bottom: 3px solid transparent;
}
.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a {
	color: var(--blue);
	border-bottom-color: var(--gold);
	text-decoration: none;
}
.nav-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: 6px;
	width: 42px; height: 42px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 4px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); display: block; }

/* ---------- 8. BREADCRUMBS ---------- */
.breadcrumbs { padding: 14px 0; font-size: 0.82rem; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs__item:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--text-muted); }
.breadcrumbs__item a { color: var(--text-muted); }
.breadcrumbs__item[aria-current="page"] { color: var(--navy); font-weight: 600; }

/* ---------- 9. GRADE DE DESTAQUES DA HOME ---------- */
.featured-grid { padding-top: 32px; }

.featured-post {
	display: block;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	margin-bottom: 32px;
}
.featured-post__image { display: block; width: 100%; height: 420px; overflow: hidden; }
.featured-post__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-post__body { padding: 26px 30px 30px; }
.featured-post__title {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	margin: 12px 0 12px;
}
.featured-post__title a { color: var(--navy); }
.featured-post__excerpt { color: var(--text-muted); font-size: 1.05rem; max-width: 70ch; margin-bottom: 14px; }
.featured-post .meta-line { margin-bottom: 18px; }

/* ---------- 10. CABEÇALHO DE SEÇÃO ---------- */
.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	border-bottom: 2px solid var(--navy);
	padding-bottom: 10px;
	margin-bottom: 24px;
}
.section-head__title {
	font-size: 1.4rem;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}
.section-head__title::before {
	content: "";
	width: 5px; height: 20px;
	background: var(--gold);
	display: inline-block;
	border-radius: 2px;
}
.section-head__link { font-size: 0.85rem; font-weight: 600; white-space: nowrap; }

/* ---------- 11. CARTÃO DE PUBLICAÇÃO ---------- */
.post-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	height: 100%;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card__image { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-alt); }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.post-card__image--placeholder {
	display: flex; align-items: center; justify-content: center;
	color: var(--text-muted);
	font-size: 0.8rem;
}
.post-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__title { font-size: 1.05rem; margin: 0; line-height: 1.35; }
.post-card__title a { color: var(--navy); }
.post-card__excerpt { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.post-card__meta { margin-top: auto; padding-top: 8px; }
.post-card__readmore { font-size: 0.82rem; font-weight: 600; }

/* Lista horizontal compacta (usada em "mais lidos" e listas menores) */
.post-list { display: flex; flex-direction: column; gap: 16px; }
.post-list__item { display: flex; gap: 12px; align-items: flex-start; }
.post-list__rank {
	font-family: var(--font-serif);
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--gold);
	width: 28px;
	flex-shrink: 0;
}
.post-list__image { flex: 0 0 72px; aspect-ratio: 4/3; border-radius: 6px; overflow: hidden; }
.post-list__image img { width: 100%; height: 100%; object-fit: cover; }
.post-list__title { font-size: 0.92rem; margin: 0 0 4px; line-height: 1.35; }
.post-list__title a { color: var(--navy); }

/* Variante em grade — usada na seção "Mais Lidas" da home, fora da barra lateral */
.post-list--grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px 32px;
}
.post-list--grid .post-list__item {
	padding-bottom: 18px;
	border-bottom: 1px solid var(--border);
}

/* ---------- 12. GRADES DE SEÇÃO ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- 13. BARRA LATERAL ---------- */
.widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.widget__title {
	font-size: 1.02rem;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--gold);
	display: inline-block;
}
.widget--ad { text-align: center; color: var(--text-muted); background: var(--bg-alt); border-style: dashed; }
.widget-categories li { border-bottom: 1px solid var(--border); }
.widget-categories li:last-child { border-bottom: none; }
.widget-categories a {
	display: flex; justify-content: space-between;
	padding: 9px 2px;
	color: var(--text);
	font-size: 0.9rem;
}
.widget-categories a:hover { color: var(--blue); text-decoration: none; }
.widget-categories .count { color: var(--text-muted); font-size: 0.8rem; }
.widget-social { display: flex; gap: 10px; }
.widget-social a {
	width: 38px; height: 38px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: var(--bg-alt);
	color: var(--navy);
}
.widget-social a:hover { background: var(--navy); color: var(--white); }
.widget-social svg { width: 17px; height: 17px; fill: currentColor; }
.sidebar-search input[type="search"] {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 10px 12px;
	margin-bottom: 10px;
}

/* ---------- 14. NEWSLETTER (formulário reutilizado na barra lateral) ---------- */
.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
	flex: 1;
	min-width: 200px;
	padding: 12px 14px;
	border-radius: var(--radius);
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.08);
	color: var(--white);
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.55); }
.newsletter__note { font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); margin-top: 10px; }
.form-feedback { padding: 10px 14px; border-radius: 6px; font-size: 0.88rem; margin-bottom: 14px; }
.form-feedback--success { background: #e5f6ea; color: #1c6b34; }
.form-feedback--error { background: #fdeaea; color: #9c2626; }

/* ---------- 15. ARTIGO INDIVIDUAL ---------- */
.article-header { padding: 28px 0 10px; }
.article-header__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 12px 0 12px; }
.article-header__subtitle { font-size: 1.15rem; color: var(--text-muted); font-family: var(--font-serif); margin-bottom: 18px; }
.article-header__meta { padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.article-header__author { font-weight: 600; color: var(--navy); }
.article-featured-image { border-radius: var(--radius); overflow: hidden; margin: 24px 0; box-shadow: var(--shadow); }
.article-featured-image img { width: 100%; }
.article-body {
	font-size: 1.08rem;
	max-width: 74ch;
	color: var(--text);
}
.article-body h2 { font-size: 1.5rem; margin-top: 1.6em; }
.article-body h3 { font-size: 1.25rem; margin-top: 1.4em; }
.article-body p { margin-bottom: 1.2em; }
.article-body ul, .article-body ol { margin: 0 0 1.2em 1.4em; list-style: revert; }
.article-body blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--gold);
	font-family: var(--font-serif);
	font-style: italic;
	color: var(--navy);
	font-size: 1.1rem;
}
.article-body a { text-decoration: underline; }
.article-disclaimer {
	margin: 32px 0;
	padding: 16px 20px;
	background: var(--bg-alt);
	border-left: 4px solid var(--blue);
	border-radius: 4px;
	font-size: 0.9rem;
	color: var(--text-muted);
}
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.article-tags a {
	font-size: 0.78rem;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--bg-alt);
	color: var(--text);
}
.article-tags a:hover { background: var(--blue-light); color: var(--blue); text-decoration: none; }

.share-bar { display: flex; align-items: center; gap: 10px; margin: 24px 0; flex-wrap: wrap; }
.share-bar__label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.share-bar a {
	display: flex; align-items: center; justify-content: center;
	width: 38px; height: 38px;
	border-radius: 50%;
	background: var(--bg-alt);
	color: var(--navy);
}
.share-bar a:hover { background: var(--navy); color: var(--white); }
.share-bar svg { width: 16px; height: 16px; fill: currentColor; }

.related-articles { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.read-also { margin: 32px 0; padding: 20px; background: var(--bg-alt); border-radius: var(--radius); }
.read-also__title { font-size: 0.95rem; margin-bottom: 12px; }
.read-also ul { display: flex; flex-direction: column; gap: 8px; }
.read-also a { color: var(--navy); font-weight: 600; font-size: 0.94rem; }

.author-box {
	display: flex;
	gap: 16px;
	padding: 20px;
	background: var(--bg-alt);
	border-radius: var(--radius);
	margin: 32px 0;
	align-items: center;
}
.author-box__avatar img { border-radius: 50%; width: 56px; height: 56px; }
.author-box__name { margin: 0 0 4px; font-size: 1rem; }

/* ---------- 16. COMENTÁRIOS ---------- */
.comments-area { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.comment-list { display: flex; flex-direction: column; gap: 20px; }
.comment-body { padding: 16px; background: var(--bg-alt); border-radius: var(--radius); }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--border);
	border-radius: 6px;
	margin-bottom: 12px;
}
.comments-closed-note { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- 17. FORMULÁRIOS ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.form-field input,
.form-field select,
.form-field textarea {
	padding: 11px 13px;
	border: 1px solid var(--border);
	border-radius: 6px;
	color: var(--text);
}
.form-field--checkbox { flex-direction: row; align-items: flex-start; gap: 10px; grid-column: 1 / -1; }
.form-field--checkbox label { font-weight: 400; color: var(--text); font-size: 0.88rem; }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 18px; }
.contact-panel { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; }
.contact-panel h3 { font-size: 1.05rem; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; margin-top: 24px; }

/* ---------- 18. PAGINAÇÃO ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span {
	display: flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px;
	padding: 0 10px;
	border-radius: 6px;
	border: 1px solid var(--border);
	color: var(--navy);
	font-size: 0.88rem;
}
.pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pagination a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }

/* ---------- 19. PÁGINA 404 ---------- */
.error-404 { text-align: center; padding: 80px 0; }
.error-404__code { font-family: var(--font-serif); font-size: 5rem; color: var(--gold); margin: 0; }
.error-404__actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.error-404 .header-search__form { position: static; display: flex; width: 100%; max-width: 420px; margin: 24px auto 0; box-shadow: none; border: 1px solid var(--border); }

/* ---------- 20. RODAPÉ (compacto) ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.82); margin-top: 32px; }
.site-footer a { color: rgba(255, 255, 255, 0.82); }
.site-footer a:hover { color: var(--gold); text-decoration: none; }
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 18px;
	padding: 24px 0 16px;
}
.footer-brand__title { color: var(--white); font-size: 1.4rem; margin-bottom: 6px; }
.footer-brand__desc { font-size: 0.88rem; max-width: 32ch; }
.footer-heading { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.footer-list { display: flex; flex-direction: column; gap: 5px; font-size: 0.9rem; }
.footer-social { display: flex; gap: 8px; margin-top: 8px; }
.footer-social a {
	width: 28px; height: 28px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-social svg { width: 13px; height: 13px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 10px 0; font-size: 0.82rem; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }

/* ---------- 21. MEDIA QUERIES ---------- */
@media (max-width: 1080px) {
	.layout { grid-template-columns: 1fr; }
	.layout__sidebar { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	.topbar__links a:not(:first-child) { display: none; }
	.featured-post__image { height: 320px; }
	.card-grid, .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.form-grid { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
	.site-title { font-size: 1.5rem; }
	.site-subtitle { display: none; }
	.nav-toggle { display: flex; }
	.primary-menu {
		display: none;
		flex-direction: column;
		width: 100%;
		background: var(--white);
		border-top: 1px solid var(--border);
		padding: 8px 0;
	}
	.primary-menu.is-open { display: flex; }
	.primary-menu > li > a { padding: 12px 4px; border-bottom: 1px solid var(--border); }
	.site-nav { flex-wrap: wrap; }
	.header-social a:nth-child(n+4) { display: none; }
	.card-grid, .card-grid--3 { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr; padding: 20px 0 12px; }
	.footer-bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
	.container { padding: 0 16px; }
	.featured-post__image { height: 240px; }
	.card-grid, .card-grid--3 { grid-template-columns: 1fr; }
	.post-list--grid { grid-template-columns: 1fr; }
	.header-search__form { width: 100%; right: -16px; }
	.section { padding: 40px 0; }
	.form-field--checkbox { flex-direction: row; }
}
