/*
 * thestatesmanonline.com - restoration of the archived Astra 4.11 look (2026-03-01):
 * global palette, typography, header, boxed listings + sidebar, footer bands, buttons, forms.
 * Values taken from the archived computed styles / Astra global colours.
 */

:root {
	--c-primary: #046bd2;     /* Astra global colour 0 */
	--c-primary-dk: #045cb4;  /* colour 1 (hover, menu current) */
	--c-heading: #1e293b;     /* colour 2 */
	--c-text: #334155;        /* colour 3 */
	--c-bg-soft: #f9fafb;     /* colour 4 (boxed layout background) */
	--c-border: #e2e8f0;      /* colour 6 */
	--c-muted: #64748b;
	--f-body: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--f-head: "Montserrat", "Source Sans Pro", Arial, sans-serif;
	--container: 1200px;
	--gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--c-text);
	background: #fff;
	overflow-wrap: break-word;
}
body.layout-boxed { background: var(--c-bg-soft); }
img, svg, video { max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-dk); }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-head); font-weight: 600; color: var(--c-heading); margin: 0 0 20px; }
h1 { font-size: 48px; line-height: 1.2; }
h2 { font-size: 40px; line-height: 1.3; }
h3 { font-size: 32px; line-height: 1.3; }
h4 { font-size: 24px; line-height: 1.2; }
h5 { font-size: 20px; line-height: 1.2; }
h6 { font-size: 16px; line-height: 1.25; }
h1 a, h2 a, h3 a, h4 a { color: inherit; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover { color: var(--c-primary); }
p { margin: 0 0 1.75em; }
ul, ol { margin: 0 0 1.5em 3em; padding: 0; }

.sr-only,
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.sr-only-focusable:focus {
	position: fixed !important; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; margin: 0;
	clip: auto; padding: 10px 16px; background: #fff; color: var(--c-heading); box-shadow: 0 0 0 2px var(--c-primary);
}

.ast-container { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.ast-button,
.search-submit,
.contact-form button {
	display: inline-block;
	font-family: var(--f-body);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	padding: 15px 30px;
	color: #fff;
	background: var(--c-primary);
	border: 1px solid var(--c-primary);
	border-radius: 0;
	cursor: pointer;
	text-align: center;
}
.ast-button:hover, .search-submit:hover, .contact-form button:hover { color: #fff; background: var(--c-primary-dk); border-color: var(--c-primary-dk); }
.ast-button--outline { border-radius: 2px; }
.ast-button--light { background: #fff; color: #151515; border-color: #fff; border-radius: 9999px; }
.ast-button--light:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.ast-button--pill { background: var(--c-primary-dk); border-color: var(--c-primary-dk); border-radius: 9999px; }
.ast-button--pill:hover { background: var(--c-heading); border-color: var(--c-heading); }
.ast-button--dark { background: var(--c-primary-dk); border-color: var(--c-primary-dk); border-radius: 2px; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid #eaeaea; position: relative; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 98px; gap: 20px; }
.site-branding { flex: 0 0 auto; line-height: 0; }
.custom-logo { width: 255px; height: auto; display: block; }
.brand--text { font-family: var(--f-head); font-weight: 700; font-size: 26px; color: var(--c-heading); line-height: 1.2; }
.main-navigation { display: flex; }
.main-header-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; list-style: none; margin: 0; padding: 0; }
.main-header-menu li { position: relative; }
.main-header-menu a {
	display: block; padding: 0 1em; line-height: 80px; font-size: 17px; color: var(--c-text);
}
.main-header-menu a:hover,
.main-header-menu .current-menu-item > a,
.main-header-menu .current_page_item > a,
.main-header-menu .current-menu-ancestor > a { color: var(--c-primary-dk); }
.main-header-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 230px; margin: 0; padding: 0; list-style: none;
	background: #fff; border-top: 2px solid var(--c-primary); box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .1);
	visibility: hidden; opacity: 0; transition: opacity .2s;
}
.main-header-menu li:hover > .sub-menu, .main-header-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; }
.main-header-menu .sub-menu a { line-height: 1.5; padding: .9em 1em; border-bottom: 1px solid #eaeaea; }
.menu-toggle { display: none; }

@media (max-width: 1100px) {
	.main-header-menu a { padding: 0 .7em; }
}
@media (max-width: 921px) {
	.site-header__inner { min-height: 80px; flex-wrap: wrap; }
	.custom-logo { width: 200px; }
	.menu-toggle {
		display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
		padding: 0; background: transparent; border: 0; color: var(--c-heading); cursor: pointer;
	}
	.menu-toggle__close { display: none; }
	.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
	.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }
	.main-navigation { display: none; flex-basis: 100%; margin: 0 calc(-1 * var(--gutter)); }
	.main-navigation.is-open { display: block; }
	.main-header-menu { display: block; border-top: 1px solid #eaeaea; }
	.main-header-menu a { line-height: 1.5; padding: .9em var(--gutter); border-bottom: 1px solid #eaeaea; }
	.main-header-menu .sub-menu { position: static; visibility: visible; opacity: 1; box-shadow: none; border: 0; }
	.main-header-menu .sub-menu a { padding-left: calc(var(--gutter) + 1em); }
}

/* ---------- Boxed layout: content + right sidebar ---------- */
.content-wrap { display: flex; align-items: flex-start; padding-top: 4em; padding-bottom: 4em; }
.layout-boxed .content-area { flex: 0 0 70%; max-width: 70%; min-width: 0; }
.layout-plain .content-area { flex: 1 1 auto; min-width: 0; }
.widget-area { flex: 0 0 30%; max-width: 30%; padding-left: 60px; min-width: 0; }

.ast-article-post,
.ast-article-single,
.ast-single-related-posts-container,
.ast-archive-description,
.post-navigation { background: #fff; }
.layout-boxed .ast-article-post,
.layout-boxed .ast-article-single { padding: 3em; }
.ast-article-post + .ast-article-post { margin-top: 2px; }
.ast-archive-description { padding: 3em; margin-bottom: 2em; }
.ast-archive-description .page-title { font-size: 40px; margin: 0; }
.ast-archive-description .archive-description { margin-top: 1em; }
.ast-archive-description .archive-description p:last-child { margin-bottom: 0; }

.entry-title { font-size: 32px; line-height: 1.2; margin: 0 0 .5em; }
.ast-article-post .entry-title { font-size: 26px; line-height: 1.3; margin-bottom: .5em; }
.entry-meta { font-size: 15px; color: var(--c-primary); margin-bottom: 1.5em; }
.entry-meta a { color: var(--c-primary); }
.entry-meta a:hover { color: var(--c-primary-dk); }
.ast-article-post .post-thumb { margin: -3em -3em 2em; }
.ast-article-post .post-thumb img { display: block; width: 100%; }
.ast-article-post .entry-content p { margin-bottom: 1.2em; font-size: 16px; }
.ast-article-post .entry-content .read-more { margin: 1.5em 0 0; }
.no-results { padding: 3em; }

/* Pagination ("1 2 … 7 Next →") */
.pagination { margin-top: 2em; }
.pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pagination .page-numbers {
	display: inline-block; min-width: 2.5em; height: 2.5em; line-height: 2.5em; padding: 0 .5em;
	text-align: center; color: var(--c-text); border-radius: 2px;
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--c-primary); color: #fff; }
.pagination .prev, .pagination .next { padding: 0 .9em; }

/* Sidebar widgets */
.widget { margin-bottom: 2.8em; font-size: 16px; }
.widget-title { font-size: 26px; line-height: 1.3; margin-bottom: .7em; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { margin-bottom: .75em; line-height: 1.5; }
.widget ul.children { margin: .5em 0 0 1em; }

/* Search form */
.search-form__label { display: block; font-size: 15px; margin-bottom: .4em; }
.search-form__row { display: flex; gap: 6px; }
.search-field,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
	width: 100%; min-width: 0; font: inherit; font-size: 16px; color: var(--c-text); background: #fff;
	border: 1px solid var(--c-border); border-radius: 2px; padding: .65em .8em;
}
.search-field:focus, .contact-form :is(input, select, textarea):focus { border-color: var(--c-primary); outline: 1px solid var(--c-primary); }
.search-submit { padding: 12px 20px; flex: 0 0 auto; border-radius: 2px; }

/* ---------- Footer ---------- */
.site-footer { font-size: 16px; }
.site-above-footer-wrap { background: #eee; padding: 20px 0; }
.footer-latest {
	list-style: none; margin: 30px 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px 40px;
}
.footer-latest a { color: var(--c-primary); line-height: 1.6; }
.footer-latest a:hover { color: var(--c-primary-dk); }
.site-primary-footer-wrap { background: #f9f9f9; padding: 45px 0; text-align: center; }
.footer-logo { display: flex; justify-content: center; padding: 40px 0 30px; }
.footer-logo .custom-logo { width: 290px; }
.footer-nav__list { list-style: none; margin: 1em 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5em 1.5em; }
.site-primary-footer-wrap .widget { margin-bottom: 0; }
.footer-sponsors { display: flex; align-items: center; justify-content: center; gap: 60px; flex-wrap: wrap; padding: 40px 0; }
.footer-sponsors img { display: block; width: auto; }
.site-below-footer-wrap { background: #fff; padding: 20px 0; text-align: center; font-size: 15px; }
.copyright { margin: 20px 0; }
.scroll-top {
	position: fixed; right: 30px; bottom: 30px; z-index: 60; width: 2.1em; height: 2.1em;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--c-primary); color: #fff; border-radius: 2px; font-size: 15px;
	opacity: 0; visibility: hidden; transition: opacity .2s;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; }
.scroll-top:hover, .scroll-top:focus { color: #fff; background: var(--c-primary-dk); }
.scroll-top:focus-visible { opacity: 1; visibility: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 921px) {
	.content-wrap { display: block; padding-top: 2em; padding-bottom: 2em; }
	.layout-boxed .content-area, .widget-area { max-width: none; }
	.widget-area { padding: 2.5em 0 0; }
	.footer-latest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 544px) {
	:root { --gutter: 16px; }
	h1 { font-size: 34px; }
	h2 { font-size: 30px; }
	h3 { font-size: 25px; }
	h4 { font-size: 21px; }
	.layout-boxed .ast-article-post,
	.layout-boxed .ast-article-single,
	.ast-archive-description,
	.no-results { padding: 1.5em 1em; }
	.ast-article-post .post-thumb { margin: -1.5em -1em 1.5em; }
	.content-wrap { padding-left: 0; padding-right: 0; }
	.content-wrap > .content-area, .content-wrap > .widget-area { padding-left: var(--gutter); padding-right: var(--gutter); }
	.layout-boxed .content-wrap > .content-area { padding-left: 0; padding-right: 0; }
	.entry-title { font-size: 26px; }
	.ast-article-post .entry-title { font-size: 22px; }
	.footer-latest { grid-template-columns: 1fr; }
	.scroll-top { right: 16px; bottom: 16px; }
}
