/* Novasask Blog — public theme (recreates the Soledad look of the old WordPress blog) */

@font-face { font-family: "BA"; src: url(../fonts/BuenosAires-Regular.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "BA"; src: url(../fonts/BuenosAires-SemiBold.woff) format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "BA"; src: url(../fonts/BuenosAires-Black.woff) format("woff"); font-weight: 800; font-display: swap; }

:root {
  --primary: #19557d;
  --primary-dark: #123f5d;
  --topbar: #11001e;
  --ticker: #1e73be;
  --gold: #c59859;
  --text: #000;
  --heading: #313131;
  --muted: #888;
  --border: #dedede;
  --light: #f5f5f5;
  --container: 1200px;
  --font: "BA", "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.8; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); font-weight: 800; color: var(--primary); line-height: 1.35; margin: 0 0 .6em; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 15px; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ top bar */
.topbar { background: var(--topbar); color: #fff; font-size: 12px; }
.topbar-inner { display: flex; align-items: center; gap: 18px; min-height: 40px; }
.topbar-date { white-space: nowrap; opacity: .9; }
.ticker { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.ticker-label { background: var(--ticker); color: #fff; font-weight: 800; padding: 0 12px; line-height: 30px; position: relative; margin-right: 12px; white-space: nowrap; }
.ticker-label::after { content: ""; position: absolute; right: -10px; top: 0; border: 15px solid transparent; border-left: 10px solid var(--ticker); border-right: 0; }
.ticker-nav { background: none; border: 0; color: #fff; padding: 0 4px; font-size: 14px; opacity: .8; }
.ticker-nav:hover { opacity: 1; }
.ticker-items { position: relative; flex: 1; min-width: 0; height: 30px; overflow: hidden; }
.ticker-item { position: absolute; inset: 0; color: #fff; font-weight: 800; line-height: 30px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; pointer-events: none; }
.ticker-item.active { opacity: 1; transform: none; pointer-events: auto; }
.ticker-item:hover { color: var(--gold); }
.topbar-social { display: flex; gap: 6px; margin-left: auto; }
.soc { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; border-radius: 2px; }
.soc:hover { color: #fff; opacity: .85; }
.soc-facebook { background: #3b5998; } .soc-instagram { background: #c13584; } .soc-linkedin { background: #0077b5; }
.soc-twitter { background: #000; } .soc-pinterest { background: #bd081c; } .soc-whatsapp { background: #25d366; }

/* ------------------------------------------------------------------ header */
.site-header { border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 28px; padding-bottom: 28px; }
.logo img { width: 240px; height: auto; }
.header-banner img { width: 728px; max-width: 100%; height: auto; }

.main-nav { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; transition: box-shadow .2s; }
.main-nav.stuck { box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.nav-inner { display: flex; align-items: center; min-height: 54px; position: relative; }
.nav-logo { display: none; }
.main-nav.stuck .nav-logo { display: block; margin-right: 22px; }
.nav-logo img { height: 34px; width: auto; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; flex: 1; }
.menu > li { position: relative; }
.menu > li > a { display: block; padding: 0 16px; line-height: 54px; font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--heading); letter-spacing: .2px; }
.menu > li:first-child > a { padding-left: 0; }
.menu > li > a:hover, .menu > li.current > a { color: var(--gold); }
.menu .fa-angle-down { font-size: 11px; margin-left: 2px; }
.sub-toggle { display: none; }
.sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border-top: 2px solid var(--primary); box-shadow: 0 6px 18px rgba(0, 0, 0, .1); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 60; }
.menu > li:hover > .sub-menu, .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 7px 20px; font-size: 13px; color: var(--heading); text-transform: none; font-weight: 600; }
.sub-menu a:hover { color: var(--gold); background: var(--light); }
.search-toggle, .nav-toggle { background: none; border: 0; font-size: 15px; color: var(--heading); padding: 10px 4px; }
.nav-toggle { display: none; }
.nav-search { position: absolute; right: 15px; top: 100%; width: 320px; background: #fff; padding: 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); display: none; }
.nav-search.open { display: block; }
.nav-search input { width: 100%; border: 1px solid var(--border); padding: 9px 12px; outline: none; }

/* ------------------------------------------------------------------ featured slider */
.featured { position: relative; margin-top: 30px; margin-bottom: 30px; }
.slides { position: relative; }
.slide { display: none; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: 500px; }
.slide.active { display: grid; animation: fadeIn .6s; }
@keyframes fadeIn { from { opacity: .3; } to { opacity: 1; } }
.feat-item { position: relative; overflow: hidden; background: #ddd; }
.feat-big { grid-row: 1 / span 2; }
.slide .feat-item:only-child { grid-column: 1 / span 2; }
.feat-img, .feat-img img { display: block; width: 100%; height: 100%; }
.feat-img img { object-fit: cover; transition: transform .6s; }
.feat-item:hover .feat-img img { transform: scale(1.04); }
.feat-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 16px; background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .78)); pointer-events: none; }
.feat-overlay a { pointer-events: auto; }
.feat-overlay h3 { margin: 0; font-size: 16px; line-height: 1.35; }
.feat-big .feat-overlay h3 { font-size: 24px; }
.feat-overlay h3 a { color: #fff; }
.feat-overlay h3 a:hover { color: var(--gold); }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: rgba(0, 0, 0, .45); color: #fff; font-size: 18px; z-index: 5; opacity: 0; transition: .2s; }
.featured:hover .slider-nav { opacity: 1; }
.slider-nav.prev { left: 25px; } .slider-nav.next { right: 25px; }

/* ------------------------------------------------------------------ categories & meta */
.cat { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; text-transform: none; margin-bottom: 6px; line-height: 1.5; }
.cat a { color: var(--primary); }
.cat a + a::before { content: ""; display: inline-block; width: 4px; height: 4px; border: 1px solid currentColor; transform: rotate(45deg); margin: 0 9px 2px; opacity: .6; }
.cat-light a { color: #fff; }
.cat-dots { text-transform: uppercase; font-size: 12px; }
.meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0 14px; }
.meta a { color: var(--heading); }
.meta time::before { content: "|"; margin-right: 14px; color: #ccc; }

/* ------------------------------------------------------------------ layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 40px; margin-top: 30px; margin-bottom: 50px; }
.content-area { min-width: 0; }

/* section headings ("CANADA STUDENT VISA" label on a line) */
.block-title { position: relative; margin-bottom: 26px; border-bottom: 1px solid var(--border); }
.block-title span, .block-title a { display: inline-block; }
.block-title span { background: var(--gold); color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; padding: 6px 15px 4px; position: relative; top: 1px; letter-spacing: .3px; }
.block-title a:hover span { background: var(--primary); }

.home-block { margin-bottom: 44px; }
.block-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.thumb { display: block; overflow: hidden; background: #eee; aspect-ratio: 3 / 2; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.thumb:hover img { transform: scale(1.05); }
.block-main .thumb { margin-bottom: 16px; }
.entry-title { font-size: 18px; margin: 0 0 8px; }
.entry-title a { color: var(--primary); }
.entry-title a:hover { color: var(--gold); }
.excerpt { margin: 10px 0 0; color: #333; }
.block-list { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.small-item { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: start; }
.small-item h3 { font-size: 14px; margin: 0 0 4px; line-height: 1.4; }
.small-item h3 a { color: var(--primary); }
.small-item h3 a:hover { color: var(--gold); }
.small-item time { font-size: 12px; color: var(--muted); }

.post-list { display: flex; flex-direction: column; gap: 34px; }
.list-post { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: start; }
.list-post .entry-title { font-size: 19px; }
.load-more { display: block; margin: 34px auto 0; min-width: 240px; padding: 11px 20px; text-align: center; border: 1px solid var(--border); background: #fff; color: var(--heading); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.load-more:hover { border-color: var(--primary); color: var(--primary); }
.load-more.loading i { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ sidebar */
.sidebar .widget { margin-bottom: 36px; }
.widget-title { background: var(--primary); color: #fff; font-size: 15px; text-transform: uppercase; padding: 9px 15px 7px; margin: 0 0 20px; border-bottom: 2px solid var(--heading); }
.follow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.follow { display: flex; flex-direction: column; align-items: center; padding: 12px 6px; color: #fff; font-size: 12px; gap: 4px; }
.follow i { font-size: 18px; }
.follow:hover { color: #fff; opacity: .9; }
.side-search { position: relative; display: flex; }
.side-search input { flex: 1; border: 1px solid #e9e9e9; padding: 11px 44px 11px 14px; outline: none; width: 100%; }
.side-search input:focus { border-color: var(--primary); }
.side-search button { position: absolute; right: 0; top: 0; bottom: 0; width: 44px; border: 0; background: none; color: var(--heading); }
.inquiry-form { background: #f1efff; padding: 20px; font-family: Arial, sans-serif; }
.inquiry-intro { margin: 0 0 14px; font-size: 15px; line-height: 1.6; }
.inquiry-form label { display: block; font-size: 14px; margin-bottom: 12px; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; border: 1px solid #ccc; background: #fff; border-radius: 2px; }
.inquiry-form button { width: 100%; padding: 11px; border: 0; background: var(--primary); color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.inquiry-form button:hover { background: var(--primary-dark); }
.inquiry-form button[disabled] { opacity: .6; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin-top: 10px; font-size: 14px; }
.form-msg.ok { color: #1a7f37; } .form-msg.err { color: #c62828; }
.mini-post { display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: start; margin-bottom: 16px; color: var(--primary); }
.mini-post img { width: 100px; height: 66px; object-fit: cover; }
.mini-post strong { display: block; font-size: 14px; line-height: 1.4; }
.mini-post time { font-size: 12px; color: var(--muted); }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { border-bottom: 1px solid #eee; }
.cat-list a { display: block; padding: 7px 0; color: var(--heading); }
.cat-list a:hover { color: var(--gold); }

/* ------------------------------------------------------------------ promo / hiring */
.promo { display: grid; grid-template-columns: 2fr 1fr; gap: 6px; margin-bottom: 50px; }
.promo-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.promo-tile img { width: 100%; height: 100%; object-fit: cover; }
.hiring { background: #f0f0f0; padding: 30px; color: var(--primary); }
.hiring-icon { font-size: 36px; color: #e05c4b; margin-bottom: 14px; }
.hiring h3 { font-size: 24px; }
.hiring p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; }
.btn-dark { display: inline-block; margin-top: 14px; background: var(--primary); color: #fff; padding: 9px 18px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.btn-dark:hover { background: var(--topbar); color: #fff; }

/* ------------------------------------------------------------------ archive */
.breadcrumb { font-size: 13px; padding-top: 22px; color: var(--heading); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.breadcrumb a { color: var(--primary); }
.breadcrumb i { font-size: 10px; color: var(--heading); }
.layout { margin-top: 22px; }
.archive-header { margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.archive-label { font-size: 12px; text-transform: uppercase; color: var(--gold); font-weight: 800; letter-spacing: .5px; }
.archive-header h1 { font-size: 28px; margin: 4px 0 0; }
.archive-desc { margin-top: 10px; color: #444; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); color: var(--heading); font-size: 13px; gap: 6px; }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .dots { border: 0; }
.empty, .error-box { padding: 20px 0 40px; }
.error-box h1 { font-size: 90px; margin: 0; color: var(--primary); }
.error-box .side-search { max-width: 420px; margin-top: 20px; }

/* ------------------------------------------------------------------ single post */
.post-header { margin-bottom: 20px; }
.post-title { font-size: 30px; margin: 4px 0 6px; }
.post-subtitle { font-weight: 800; font-size: 14px; margin: 0 0 8px; color: var(--text); }
.post-meta { font-size: 13px; color: var(--gold); display: flex; flex-wrap: wrap; gap: 4px 0; }
.post-meta > * + *::before { content: "|"; margin: 0 12px; color: #ccc; }
.post-meta a { color: var(--gold); }
.post-image { margin: 0 0 26px; }
.post-image img { width: 100%; }
.draft-note { background: #fff4e5; border: 1px solid #f0c36d; padding: 8px 14px; margin-bottom: 16px; }
.toc { border: 1px solid var(--border); background: #fafafa; padding: 14px 20px; margin: 0 0 26px; }
.toc summary { font-weight: 800; color: var(--primary); cursor: pointer; font-size: 15px; }
.toc ol { margin: 10px 0 0; padding-left: 20px; }
.toc ul { margin: 2px 0 4px; padding-left: 18px; list-style: circle; }
.toc a { color: var(--heading); } .toc a:hover { color: var(--gold); }

.entry-content { font-size: 14px; line-height: 2; word-wrap: break-word; }
.entry-content > :first-child { margin-top: 0; }
.entry-content p { margin: 0 0 17px; }
.entry-content h2 { font-size: 22px; margin: 30px 0 14px; scroll-margin-top: 70px; }
.entry-content h3 { font-size: 19px; margin: 26px 0 12px; scroll-margin-top: 70px; }
.entry-content h4 { font-size: 17px; margin: 22px 0 10px; }
.entry-content h5, .entry-content h6 { font-size: 15px; }
.entry-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.entry-content a:hover { color: var(--gold); }
.entry-content ul, .entry-content ol { margin: 0 0 17px; padding-left: 24px; }
.entry-content li { margin-bottom: 4px; }
.entry-content img { margin: 10px auto; }
.entry-content figure { margin: 0 0 20px; }
.entry-content figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.entry-content blockquote { margin: 24px 0; padding: 14px 24px; border-left: 4px solid var(--gold); background: #faf7f2; font-style: italic; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content hr { border: 0; border-top: 1px solid var(--border); margin: 30px 0; }
.entry-content pre { background: #f5f5f5; padding: 14px; overflow-x: auto; }
.table-wrap { overflow-x: auto; margin: 0 0 20px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; vertical-align: top; }
.entry-content th, .entry-content thead td { background: var(--primary); color: #fff; }
.entry-content tbody tr:nth-child(even) { background: #f8f8f8; }
.video-embed, .entry-content .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; margin: 0 0 20px; }
.video-embed iframe, .entry-content .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.entry-content iframe { max-width: 100%; }
/* WordPress block/classic classes kept in imported content */
.aligncenter { display: block; margin-left: auto !important; margin-right: auto !important; text-align: center; }
.alignleft { float: left; margin: 6px 22px 12px 0; }
.alignright { float: right; margin: 6px 0 12px 22px; }
.entry-content .has-text-align-center { text-align: center; }
.entry-content .has-text-align-right { text-align: right; }
.wp-block-image img { height: auto; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.wp-block-button__link { display: inline-block; background: var(--primary); color: #fff !important; padding: 10px 22px; text-decoration: none !important; border-radius: 3px; }
.wp-block-columns { display: flex; gap: 24px; flex-wrap: wrap; }
.wp-block-column { flex: 1 1 0; min-width: 220px; }
.wp-block-separator { border: 0; border-top: 1px solid var(--border); }
.entry-content::after { content: ""; display: table; clear: both; }

.post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 28px 0 0; }
.post-tags a { font-size: 12px; padding: 4px 10px; background: var(--light); color: var(--heading); text-transform: uppercase; }
.post-tags a:hover { background: var(--primary); color: #fff; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 26px 0; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.share span { font-weight: 800; margin-right: 8px; color: var(--heading); }
.share a { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.share a:hover { color: #fff; opacity: .85; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.post-nav a { display: block; color: var(--primary); }
.post-nav small { display: block; color: var(--muted); text-transform: uppercase; font-size: 11px; margin-bottom: 4px; }
.post-nav strong { font-size: 15px; line-height: 1.4; display: block; }
.post-nav .next { text-align: right; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related h3 { font-size: 14px; margin: 10px 0 2px; line-height: 1.4; }
.related h3 a { color: var(--primary); }
.related time { font-size: 12px; color: var(--muted); }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--primary); color: #fff; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr 1fr 1fr; gap: 30px; padding-top: 40px; padding-bottom: 30px; }
.footer-logo { width: 210px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.site-footer p { margin: 0 0 18px; line-height: 1.7; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 10px; margin-bottom: 12px; line-height: 1.6; }
.contact-list i { margin-top: 4px; width: 14px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold); }
.footer-title { color: #fff; font-size: 14px; text-transform: uppercase; margin: 0 0 18px; }
.footer-title.boxed { background: var(--gold); padding: 7px 12px 5px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.site-footer .mini-post { color: #fff; grid-template-columns: 90px 1fr; font-size: 13px; line-height: 1.5; }
.site-footer .mini-post img { width: 90px; height: 60px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.footer-social { display: flex; gap: 14px; font-size: 15px; }

.back-top { position: fixed; right: 18px; bottom: 18px; width: 40px; height: 40px; border: 0; background: var(--gold); color: #fff; font-size: 18px; opacity: 0; visibility: hidden; transition: .25s; z-index: 70; }
.back-top.show { opacity: 1; visibility: visible; }
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: rgba(255, 255, 255, .97); box-shadow: 0 -2px 10px rgba(0, 0, 0, .08); padding: 10px 70px 10px 15px; display: flex; justify-content: center; align-items: center; gap: 16px; font-size: 13px; flex-wrap: wrap; }
.cookie-bar button { background: #222; color: #fff; border: 0; padding: 6px 16px; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .list-post { grid-template-columns: 240px 1fr; }
}
@media (max-width: 960px) {
  .header-inner { flex-direction: column; gap: 18px; padding-top: 20px; padding-bottom: 20px; }
  .nav-toggle { display: block; }
  .main-nav .nav-logo { display: block; margin: 0 auto; }
  .main-nav .nav-logo img { height: 30px; }
  .site-header .logo { display: none; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; box-shadow: 0 8px 18px rgba(0, 0, 0, .12); padding: 6px 15px 12px; max-height: 75vh; overflow-y: auto; }
  .menu.open { display: flex; }
  .menu > li { border-bottom: 1px solid #f0f0f0; }
  .menu > li > a { padding: 0; line-height: 44px; }
  .menu > li > a .fa-angle-down { display: none; }
  .sub-toggle { display: block; position: absolute; right: 0; top: 0; width: 44px; height: 44px; background: none; border: 0; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 0 0 8px 12px; min-width: 0; }
  .menu > li.sub-open > .sub-menu { display: block; }
  .layout { grid-template-columns: 1fr; }
  .slide { height: 420px; }
  .promo { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .topbar-date { display: none; }
  .topbar-social { display: none; }
  .header-banner { display: none; }
  .site-header { display: none; }
  .slide { grid-template-columns: 1fr; grid-template-rows: 260px; height: auto; }
  .feat-big { grid-row: auto; }
  .feat-small { display: none; }
  .feat-big .feat-overlay h3 { font-size: 18px; }
  .block-grid { grid-template-columns: 1fr; gap: 20px; }
  .list-post { grid-template-columns: 1fr; gap: 12px; }
  .post-title { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
  .promo-tiles { grid-template-columns: 1fr; }
  .nav-search { left: 15px; right: 15px; width: auto; }
  .alignleft, .alignright { float: none; margin: 10px auto; }
  .cookie-bar { padding-right: 15px; }
}

/* inquiry form placed inside a page with [inquiry_form] */
.page-inquiry { max-width: 560px; margin: 10px 0 24px; }
.page-inquiry .inquiry-form { line-height: 1.5; }
.entry-content .page-inquiry label { display: block; }

/* ------------------------------------------------------------------ OTP + comments */
.otp-row { display: flex; gap: 8px; align-items: stretch; margin: 0 0 12px; flex-wrap: wrap; }
.otp-row input { flex: 1; min-width: 120px; letter-spacing: 3px; margin: 0 !important; }
.otp-send { border: 1px solid var(--primary); background: #fff; color: var(--primary); padding: 8px 12px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.otp-send:hover { background: var(--primary); color: #fff; }
.otp-send[disabled] { opacity: .6; cursor: default; background: #fff; color: var(--primary); }
.inquiry-form .otp-row input { display: block; width: auto; padding: 9px 10px; border: 1px solid #ccc; }

.comments { margin: 40px 0 10px; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: 56px; }
.comment-body { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid #eee; }
.c-avatar { flex: 0 0 42px; height: 42px; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.comment-main { flex: 1; min-width: 0; }
.comment-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.comment-head strong { color: var(--primary); font-size: 15px; }
.comment-head time { font-size: 12px; color: var(--muted); }
.c-badge { background: var(--gold); color: #fff; font-size: 10px; padding: 1px 6px; text-transform: uppercase; font-weight: 800; }
.by-admin > .comment-body { background: #fbf8f2; padding-left: 12px; padding-right: 12px; }
.comment-text { margin-top: 6px; line-height: 1.75; word-wrap: break-word; }
.c-reply { background: none; border: 0; padding: 0; margin-top: 6px; color: var(--gold); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.c-reply:hover { color: var(--primary); }
.comment-respond { margin-top: 24px; }
.comment-list .comment-respond { margin: 0 0 20px 56px; }
.respond-title { font-size: 18px; display: flex; align-items: center; gap: 14px; }
.c-cancel { background: none; border: 0; color: var(--muted); font-size: 12px; text-decoration: underline; }
.comment-note { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.comment-form textarea, .comment-form input:not([type=hidden]) { width: 100%; border: 1px solid #ddd; padding: 11px 14px; outline: none; font-size: 14px; }
.comment-form textarea:focus, .comment-form input:focus { border-color: var(--primary); }
.comment-form textarea { margin-bottom: 12px; resize: vertical; }
.comment-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.comment-submit { background: var(--primary); color: #fff; border: 0; padding: 11px 26px; font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .5px; }
.comment-submit:hover { background: var(--topbar); }
.comments-closed { color: var(--muted); font-style: italic; }
@media (max-width: 680px) {
  .comment-fields { grid-template-columns: 1fr; }
  .comment-list .children, .comment-list .comment-respond { margin-left: 22px; }
}

/* ------------------------------------------------------------------ mock test results */
.result-box { margin: 10px 0 30px; }
.result-search { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; background: #f1efff; padding: 18px; }
.result-search label { font-size: 13px; font-weight: 600; color: var(--heading); line-height: 1.6; }
.result-search input { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid #ccc; background: #fff; }
.result-search button { background: var(--primary); color: #fff; border: 0; padding: 11px 18px; font-weight: 800; text-transform: uppercase; font-size: 12px; white-space: nowrap; }
.result-msg { margin: 16px 0; padding: 12px 16px; background: #f5f7fa; border-left: 4px solid var(--primary); line-height: 1.6; }
.result-msg.err { border-color: #c62828; background: #fdecea; color: #8c1d18; }
.result-card { margin-top: 22px; border: 1px solid var(--border); }
.result-head { padding: 16px 18px; background: var(--primary); color: #fff; }
.result-head h3 { color: #fff; margin: 2px 0; font-size: 20px; }
.result-head .muted { color: #cfe0ec; font-size: 13px; }
.result-type { background: var(--gold); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 8px; text-transform: uppercase; }
.result-card .table-wrap { margin: 0; }
.results-table { width: 100%; border-collapse: collapse; line-height: 1.5; }
.entry-content .results-table th { background: #f1f4f7; color: var(--heading); font-size: 12px; text-transform: uppercase; text-align: center; }
.entry-content .results-table td { text-align: center; }
.entry-content .results-table td:first-child { text-align: left; }
.results-table .overall { color: var(--primary); font-size: 17px; }
.results-table .remarks-row td { text-align: left !important; background: #faf7f2; font-size: 13px; }
@media (max-width: 680px) { .result-search { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ ads, header options, footer links */
.main-nav.not-sticky { position: relative; }
.ad-unit { margin: 22px 0; text-align: center; min-height: 90px; overflow: hidden; }
.ad-label { display: block; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #aaa; margin-bottom: 4px; }
.ad-sidebar { margin: 0; }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-bottom-links a { color: #fff; opacity: .85; }

/* ------------------------------------------------------------------ newsletter (Sendy) */
.newsletter { background: #f1efff; padding: 18px; font-family: inherit; }
.nl-text { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.nl-text i { font-size: 26px; color: var(--primary); margin-top: 3px; }
.nl-text strong { display: block; color: var(--primary); font-size: 16px; line-height: 1.4; }
.nl-text p { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: #333; }
.nl-fields { display: flex; flex-wrap: wrap; gap: 8px; }
.nl-fields input { flex: 1 1 180px; padding: 10px 12px; border: 1px solid #ccc; background: #fff; outline: none; min-width: 0; }
.nl-fields input:focus { border-color: var(--primary); }
.nl-fields button { background: var(--primary); color: #fff; border: 0; padding: 10px 20px; font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .5px; }
.nl-fields button:hover { background: var(--topbar); }
.nl-note { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.newsletter-sidebar .nl-text { display: block; } .newsletter-sidebar .nl-text i { display: none; }
.newsletter-sidebar .nl-fields { flex-direction: column; }
.newsletter-sidebar .nl-fields input, .newsletter-sidebar .nl-fields button { flex: none; width: 100%; }
.newsletter-post { margin: 26px 0; border-left: 4px solid var(--gold); }
.newsletter-band { background: var(--light); border-top: 1px solid var(--border); padding: 28px 0; }
.newsletter-band .newsletter { background: transparent; padding: 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px 30px; align-items: center; }
.newsletter-band .nl-text { margin: 0; }
.newsletter-band .form-msg, .newsletter-band .nl-note { grid-column: 2; margin-top: 0; }
@media (max-width: 760px) { .newsletter-band .newsletter { grid-template-columns: 1fr; } .newsletter-band .form-msg, .newsletter-band .nl-note { grid-column: 1; } }

/* ------------------------------------------------------------------ score progress chart */
.score-chart { position: relative; padding: 16px 18px 6px; border-bottom: 1px solid var(--border); background: #fff; }
.sc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 16px; margin-bottom: 6px; line-height: 1.5; }
.sc-head strong { display: block; color: var(--heading); font-size: 15px; }
.sc-summary { font-size: 13px; color: #555; }
.sc-legend { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.sc-key { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid transparent; border-radius: 12px; padding: 2px 8px; font-size: 12px; color: #333; cursor: pointer; }
.sc-key:hover { border-color: var(--border); }
.sc-key[aria-pressed="false"] { color: #999; }
.sc-key[aria-pressed="false"] .sc-swatch { opacity: .25; }
.sc-key[disabled] { cursor: default; }
.sc-swatch { display: inline-block; width: 16px; height: 2px; border-radius: 2px; }
.sc-plot { width: 100%; }
.sc-svg { display: block; width: 100%; height: auto; overflow: visible; }
.sc-grid { stroke: #ececec; stroke-width: 1; }
.sc-axis { fill: #777; font-size: 11px; font-family: Arial, sans-serif; }
.sc-endlabel { fill: #222; font-size: 13px; font-weight: 700; font-family: Arial, sans-serif; }
.sc-hair { stroke: #999; stroke-width: 1; stroke-dasharray: 3 3; }
.sc-hit { cursor: crosshair; outline: none; }
.sc-hit:focus-visible { outline: 2px solid var(--primary); }
.sc-tip { position: absolute; z-index: 5; min-width: 150px; background: #fff; border: 1px solid #ddd; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.12); padding: 8px 10px; font-size: 12px; line-height: 1.5; pointer-events: none; }
.sc-tip-head { color: #555; margin-bottom: 4px; white-space: nowrap; }
.sc-tip-row { display: flex; align-items: center; gap: 8px; color: #555; }
.sc-tip-row strong { color: #111; font-size: 13px; min-width: 28px; }
.sc-tip-row.main strong { font-size: 14px; }
.sc-tip-key { width: 12px; height: 2px; border-radius: 2px; flex: none; }
.sc-tip-row.main .sc-tip-key { height: 3px; }

/* sidebar: popular posts, promo banner, contact card, announcements */
.mini-thumb { position: relative; display: block; }
.popular-posts .rank { position: absolute; left: -6px; top: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.promo-banner img { display: block; width: 100%; height: auto; border-radius: 4px; }
.promo-banner a:hover img { opacity: .92; }
.contact-card ul, .announcements ul { list-style: none; margin: 0; padding: 0; }
.contact-card li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid #eee; font-size: 14px; line-height: 1.5; }
.contact-card li i { color: var(--primary); margin-top: 3px; }
.contact-card li a { color: var(--heading); }
.wa-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 11px; background: #25d366; color: #fff; font-weight: 700; border-radius: 4px; }
.wa-btn:hover { background: #1ebe5b; color: #fff; }
.wa-btn i { font-size: 20px; }
.contact-map { display: block; width: 100%; height: 200px; border: 0; margin-top: 14px; }
.announcements li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid #eee; font-size: 14px; line-height: 1.5; }
.announcements li i { color: var(--gold); margin-top: 3px; }
.announcements li a { color: var(--heading); font-weight: 600; }
.announcements li a:hover { color: var(--gold); }
