/*
Theme Name: Mango Thoughts
Theme URI: https://mangothoughts.com
Author: Mango Thoughts
Description: Simple, clean digital magazine theme for Mango Thoughts. Orange and navy brand colours, Latest sidebar, category sections, fast and lightweight (no page builder, no external fonts).
Version: 1.0.23
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mango-thoughts
*/

:root {
  --orange: #ff9900;
  --orange-dark: #925700;
  --navy: #212733;
  --text: #1c2230;
  --muted: #6b7280;
  --line: #e6e8ec;
  --tint: #f4f5f7;
  --band: #eaf0f8;
  --navy-soft: #2c3444;
  --bg: #ffffff;
  --radius: 8px;
  --wrap: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange-dark); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--navy); }
ul { margin: 0; padding: 0; list-style: none; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
/* Keyboard navigation: visually hidden until focused. */
.skip-link {
  position: fixed; left: 12px; top: -100px; z-index: 1000;
  padding: 10px 16px; background: #fff; color: var(--navy);
  border: 2px solid var(--orange); border-radius: 6px; font-weight: 700;
}
.skip-link:focus { top: 12px; }
:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--orange); outline-offset: 3px;
}
#content:focus { outline: none; }


/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand { flex: 0 0 auto; }
.brand img, .brand .custom-logo { height: 38px; width: auto; max-width: none; }
.brand-text { font-size: 24px; font-weight: 800; color: var(--orange); }
.brand-text span { color: var(--navy); }

.primary-nav { flex: 1; }
.primary-nav ul { display: flex; flex-wrap: nowrap; align-items: center; gap: 0; }
.primary-nav li { position: relative; white-space: nowrap; }
.primary-nav a {
  display: block; padding: 8px 9px; font-size: 12.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .01em; color: var(--navy); border-radius: 6px;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current-cat > a { background: var(--orange); color: #fff; }
.primary-nav .menu-item-has-children > a::after {
  content: ""; display: inline-block; margin-left: 6px; width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.primary-nav .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 190px; flex-direction: column;
  align-items: stretch; gap: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.08); padding: 6px; z-index: 20;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu { display: flex; }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
  width: 40px; height: 40px; border: 0; background: transparent; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--navy);
}
.icon-btn:hover { background: var(--tint); }
.icon-btn svg { width: 20px; height: 20px; }
.nav-toggle { display: none; }

.search-panel { display: none; background: var(--tint); border-bottom: 1px solid var(--line); padding: 14px 0; }
.search-panel.is-open { display: block; }
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] {
  flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 16px; font-family: inherit; background: #fff;
}
.search-form button, .btn {
  padding: 11px 20px; border: 0; border-radius: var(--radius); background: var(--orange);
  color: #fff; font-weight: 700; cursor: pointer; font-family: inherit; font-size: 15px;
}
.search-form button:hover, .btn:hover { background: var(--orange-dark); color: #fff; }

/* ---------- Cards ---------- */
.card { display: block; }
.card-media {
  display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius); background: var(--tint);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 800; color: #fff;
  background: var(--navy);
}
.card-body { padding-top: 10px; }
.card-title { font-size: 16px; font-weight: 700; margin: 4px 0 4px; overflow-wrap: anywhere; }
.card-excerpt { color: var(--muted); font-size: 14.5px; margin: 6px 0 0; }
.meta { font-size: 12.5px; color: var(--muted); margin: 0; }
.cat-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--orange-dark);
}

/* ---------- Home top ---------- */
.home-top { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; padding-top: 28px; padding-bottom: 40px; }
.hero { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--navy); aspect-ratio: 16 / 9; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero .ph { font-size: 90px; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,14,22,.94) 0%, rgba(10,14,22,.72) 38%, rgba(10,14,22,0) 78%); }
.hero-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; z-index: 2; color: #fff; }
.hero-text .meta { color: #e5e7eb; margin-bottom: 6px; }
.hero-title { color: #fff; font-size: 30px; font-weight: 800; margin: 0; }
.hero:hover .hero-title { color: #fff; text-decoration: underline; text-underline-offset: .12em; }
.hero-text .cat-label { color: var(--orange); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.hero-title { text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.sub-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }

.latest-box h2, .section-head h2 { font-size: 24px; margin: 0; }
.latest-box > h2 { padding-bottom: 8px; border-bottom: 2px solid var(--navy); position: relative; margin-bottom: 4px; }
.latest-box > h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 2px; background: var(--orange); }
.latest-item { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.latest-item time { font-size: 12.5px; color: var(--muted); padding-top: 2px; }
.latest-item h3 { font-size: 15px; font-weight: 700; margin: 2px 0 0; overflow-wrap: anywhere; }
.show-all { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--orange-dark); }

/* ---------- Category sections ---------- */
.cat-section { padding: 34px 0 40px; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 8px; border-bottom: 2px solid var(--navy); position: relative; margin-bottom: 20px; }
.section-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 3px; background: var(--accent, var(--orange)); }
.section-head a { font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--orange-dark); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ---------- Archive / listing ---------- */
.page-head { padding: 34px 0 10px; }
.page-head h1 { font-size: 34px; margin: 0; }
.page-head p { color: var(--muted); margin: 6px 0 0; }
.page-head .bar { width: 64px; height: 4px; background: var(--orange); margin-top: 14px; border-radius: 2px; }
.listing { padding: 24px 0 50px; }
.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; font-weight: 600; font-size: 14px;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.empty { padding: 40px 0; color: var(--muted); }

/* ---------- Single ---------- */
.single-wrap { max-width: 820px; margin: 0 auto; padding: 28px 20px 20px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--orange-dark); font-weight: 600; }
.breadcrumb .sep { margin: 0 6px; }
.entry-title { font-size: 38px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 12px; }
.entry-meta { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 22px; }
.entry-meta strong { color: var(--navy); }
.entry-image { margin: 0 0 24px; }
.entry-image img { width: 100%; border-radius: var(--radius); }
.entry-image figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.entry-content { font-size: 18px; line-height: 1.75; }
.entry-content p { margin: 0 0 1.2em; }
.entry-content h2 { font-size: 28px; margin-top: 1.6em; }
.entry-content h3 { font-size: 22px; margin-top: 1.4em; }
.entry-content a { color: var(--orange-dark); text-decoration: underline; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--orange); color: var(--navy); font-style: italic; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.2em; font-size: 16px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.entry-content th { background: var(--tint); }
.tags { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font-size: 13px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; }
.tags a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0 10px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.share a { padding: 6px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; }
.share a:hover { background: var(--orange); color: #fff; }
.related { padding: 20px 0 50px; }
.comments-area { max-width: 820px; margin: 0 auto; padding: 10px 20px 40px; }

/* ---------- Article reading experience (v1.0.3) ---------- */
.entry-content { overflow-wrap: break-word; }
.entry-content :is(img, video, iframe) { max-width: 100%; }
.entry-content :is(iframe, video) { display: block; }
.entry-content :is(pre, .wp-block-table) { max-width: 100%; overflow-x: auto; }
.entry-content pre { padding: 16px; border-radius: var(--radius); background: #f4f5f7; font-size: 14px; }
.entry-content figure { max-width: 100%; margin-left: 0; margin-right: 0; }
.entry-content figcaption { font-size: 13px; color: var(--muted); text-align: center; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.article-pages { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 24px 0; font-size: 15px; }
.article-pages-label { font-weight: 700; }
.article-pages a, .article-pages > span:not(.article-pages-label) { padding: 4px 10px; border: 1px solid var(--line); border-radius: 5px; }
.article-author { display: flex; gap: 16px; align-items: flex-start; margin: 30px 0 0; padding: 22px 0; border-top: 1px solid var(--line); }
.article-author-avatar { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; }
.article-author-details { min-width: 0; }
.article-author-kicker { display: block; font-size: 12px; color: var(--muted); }
.article-author-name { display: inline-block; font-size: 17px; font-weight: 700; color: var(--navy); }
.article-author-details p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.article-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 4px; }
.article-navigation-link { min-width: 0; display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.article-navigation-link span { display: block; margin-bottom: 5px; color: var(--orange-dark); font-size: 12px; font-weight: 700; }
.article-navigation-link strong { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; line-height: 1.45; }
.article-navigation-link:hover, .article-navigation-link:focus-visible { border-color: var(--orange); }
@media (max-width: 580px) {
  .article-navigation { grid-template-columns: 1fr; }
  .article-author-avatar { width: 48px; height: 48px; }
  .entry-content h2 { font-size: 24px; }
  .entry-content h3 { font-size: 20px; }
}

/* ---------- WordPress native comments form ---------- */
.comments-area #comments { width: 100%; }
.comments-area .comment-reply-title,
.comments-area .comments-title { font-size: 23px; margin: 0 0 12px; }
.comments-area .comment-notes,
.comments-area .logged-in-as,
.comments-area .comment-form-cookies-consent { font-size: 14px; color: var(--muted); }
.comments-area .comment-form { display: grid; gap: 14px; }
.comments-area .comment-form > p { margin: 0; }
.comments-area .comment-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.comments-area .comment-form input[type="text"],
.comments-area .comment-form input[type="email"],
.comments-area .comment-form input[type="url"],
.comments-area .comment-form textarea {
  display: block; width: 100%; max-width: 100%; border: 1px solid var(--line);
  background: #fff; color: var(--text); border-radius: 6px;
  padding: 12px 14px; font: inherit; line-height: 1.5;
}
.comments-area .comment-form textarea { min-height: 150px; resize: vertical; }
.comments-area .comment-form input:focus-visible,
.comments-area .comment-form textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.comments-area .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; }
.comments-area .comment-form-cookies-consent label { display: inline; margin: 0; font-weight: 400; }
.comments-area .comment-form-cookies-consent input { margin-top: 5px; }
.comments-area .form-submit input[type="submit"] {
  appearance: none; cursor: pointer; border: 0; border-radius: 6px;
  background: var(--orange); color: var(--navy); font: inherit;
  font-size: 14px; font-weight: 700; padding: 11px 20px;
}
.comments-area .form-submit input[type="submit"]:hover { background: #e68a00; }
.comments-area .comment-list { list-style: none; padding: 0; margin: 16px 0 25px; }
.comments-area .comment-list li.comment { border-bottom: 1px solid var(--line); padding: 14px 0; }
.comments-area .comment-list .children { list-style: none; padding-left: 22px; }
.comments-area .comment-body { overflow-wrap: anywhere; }

/* ---------- Pages / 404 ---------- */
.page-wrap { max-width: 820px; margin: 0 auto; padding: 34px 20px 50px; }
.notfound { text-align: center; padding: 70px 20px; }
.notfound h1 { font-size: 72px; color: var(--orange); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cfd4de; margin-top: 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-top: 44px; padding-bottom: 30px; }
.footer-brand img { height: 36px; width: auto; background: #fff; padding: 6px 10px; border-radius: 6px; }
.footer-brand p { margin: 14px 0 0; font-size: 14.5px; max-width: 380px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 14.5px; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 16px; padding-bottom: 16px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .home-top { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .header-inner { flex-wrap: wrap; gap: 8px; }
  .primary-nav { order: 5; flex-basis: 100%; display: none; padding-bottom: 12px; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; }
  .primary-nav .sub-menu { display: flex; position: static; border: 0; box-shadow: none; padding: 0 0 0 14px; }
  .primary-nav .menu-item-has-children > a::after { display: none; }
}
@media (max-width: 700px) {
  .sub-row { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-title { font-size: 22px; }
  .hero-text { padding: 16px; }
  .entry-title { font-size: 28px; }
  .entry-content { font-size: 17px; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 480px) {
  .grid-4 { gap: 16px 12px; }
}

/* v1.0.4 — editorial polish without changing the magazine layout. */
.card-title a, .latest-item h3 a { text-decoration-thickness: .08em; text-underline-offset: .15em; }
.card-title a:hover, .latest-item h3 a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
  .card-media img { transition: none; }
  .card:hover .card-media img { transform: none; }
}

/* v1.0.7 — tighten the article author/share rhythm without changing the layout. */
.article-author { margin-top: 22px; padding: 18px 0; }
.article-author + .share { margin-top: 8px; }
.article-navigation { margin-top: 18px; }
/* Make long search/archive headings and card titles robust on narrow screens. */
.page-head h1 { overflow-wrap: anywhere; }
.card-title { line-height: 1.4; }
@media (max-width: 700px) {
  .page-head h1 { font-size: 27px; }
  .article-author { margin-top: 18px; padding: 16px 0; }
}

/* v1.0.9 — prevent long URLs and code samples from spilling out of articles. */
.entry-content { overflow-wrap: break-word; }
.entry-content pre { max-width: 100%; overflow-x: auto; }
.entry-content :is(iframe, video) { max-width: 100%; }
.entry-content figure { max-width: 100%; }

/* v1.0.11 — TechJuice-style homepage: wide rows, 3-column blocks, compact lists, category accents. */
/* Category accent colours are switched off: every heading underline uses brand orange.
   To bring one back, add e.g. .acc-sports { --accent: #e03131; } */

.cols { display: grid; gap: 36px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-1 { grid-template-columns: minmax(0, 1fr); }
.col-block { min-width: 0; }
.col-block .section-head { margin-bottom: 16px; }
.col-block .section-head h2 { font-size: 22px; }
.card-lead .card-title { font-size: 18px; line-height: 1.35; }
.compact-list { margin-top: 14px; }
.compact {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.compact-thumb {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  border: 1px solid var(--line); border-radius: 6px; background: var(--tint);
}
.compact-thumb img { width: 100%; height: 100%; object-fit: cover; }
.compact-thumb .ph { font-size: 24px; }
.compact-title { font-size: 14.5px; font-weight: 700; line-height: 1.38; margin: 0 0 4px; overflow-wrap: anywhere; }
.compact-title a { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.compact-title a:hover { text-decoration: underline; text-underline-offset: .15em; }
.compact-body .meta { font-size: 12px; }
.cols-1 .compact-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
.cols-1 .col-block { display: grid; }

/* Footer extras and back-to-top */
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-social a { padding: 5px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: 13px; color: #fff; }
.footer-social a:hover { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  border: 0; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--orange); color: var(--navy); }
.to-top svg { width: 20px; height: 20px; }

@media (max-width: 1024px) {
  .cols, .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-1 .compact-list { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .cols, .cols-2, .cols-3 { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .compact { grid-template-columns: 88px minmax(0, 1fr); }
}

/* Phones: keep the homepage short. Wide rows become 2 columns, secondary top stories become rows. */
@media (max-width: 700px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 .card-title { font-size: 14.5px; }
  .sub-row { gap: 0; margin-top: 8px; }
  .sub-row .card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .sub-row .card-body { padding-top: 0; }
  .sub-row .card-title { font-size: 15px; margin-top: 2px; }
  .cat-section { padding: 26px 0 30px; }
}

/* v1.0.12 — black, white and grey only (plus brand orange and navy). No tinted section bands. */

/* v1.0.13 — more contrast. Ideas taken from TechJuice (alternate tinted bands, colour per category)
   and Parhlo (bold heading bars). Everything is our own CSS. */

/* Section heading = solid navy bar with a coloured block on the left. */
.section-head, .latest-box > h2 {
  background: var(--navy); color: #fff; border: 0; border-left: 6px solid var(--accent, var(--orange));
  border-radius: 4px; padding: 9px 14px; margin-bottom: 18px; align-items: center;
}
.section-head::after, .latest-box > h2::after { display: none; }
.section-head h2, .latest-box > h2 { color: #fff; font-size: 20px; margin: 0; }
.section-head a { color: #ffc766; font-size: 12.5px; }
.section-head a:hover { color: #fff; }
.col-block .section-head h2 { font-size: 19px; }
.latest-box > h2 { margin-bottom: 4px; }

/* Alternate bands: every second category block sits on a soft blue-grey background. */
.cat-section { border-top: 0; }
.cat-section.is-band { background: var(--band); }
.cat-section.is-band .compact { border-top-color: #d3dcea; }
.cat-section.is-band .compact-thumb,
.cat-section.is-band .card-media { background: #fff; }
.cat-section.is-band .meta { color: #55606f; }

/* Category colours (bars and dots only, so text keeps good contrast). */
.acc-news, .acc-pakistan { --accent: #0b7a43; }
.acc-sports { --accent: #d12e2e; }
.acc-technology { --accent: #1c7ed6; }
.acc-startups-business { --accent: #7048e8; }
.acc-mobile-telecom { --accent: #0c8599; }
.acc-education { --accent: #e67700; }
.acc-ai { --accent: #ae3ec9; }
.acc-entertainment { --accent: #d6336c; }
.cat-label[class*="acc-"]::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px;
  border-radius: 2px; background: var(--accent, var(--orange)); vertical-align: 0;
}
.hero .cat-label[class*="acc-"]::before { box-shadow: 0 0 0 1px rgba(255,255,255,.5); }

/* Hero and cards: a little more definition. */
.hero { border-bottom: 4px solid var(--orange); }
.card-media { box-shadow: inset 0 0 0 1px rgba(33,39,51,.08); }

/* Latest sidebar: tighter date column, light panel so it reads as one block. */
.latest-box { align-self: start; }
.latest-item { grid-template-columns: 62px 1fr; gap: 10px; }
.latest-item time { padding-top: 1px; line-height: 1.4; white-space: nowrap; font-size: 12px; }
.latest-item:hover { background: var(--tint); }

/* Footer: orange edge on top. */
.site-footer { border-top: 4px solid var(--orange); margin-top: 0; }
.cat-section:last-of-type { padding-bottom: 44px; }

@media (max-width: 700px) {
  .section-head, .latest-box > h2 { padding: 8px 12px; }
  .section-head h2, .latest-box > h2 { font-size: 18px; }
}

/* ============================================================
   v1.0.15 — article page: built to be read to the end.
   Layout, byline, contents box, body typography, author box, sidebar, progress bar.
   ============================================================ */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }

.post-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start;
  max-width: 1140px; margin: 0 auto; padding: 26px 20px 10px;
}
.post-article { min-width: 0; max-width: 764px; }
.post-sidebar { min-width: 0; }
.post-sidebar-inner { position: sticky; top: 86px; display: grid; gap: 30px; }

/* Header */
.post-head .breadcrumb { margin-bottom: 14px; }
.post-article .entry-title { font-size: 40px; line-height: 1.15; font-weight: 800; letter-spacing: -.012em; margin: 0 0 14px; color: var(--navy); text-wrap: balance; }
.post-standfirst { margin: 0 0 20px; font-size: 20px; line-height: 1.55; color: #3a4252; }
.post-byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 0; margin: 0 0 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-byline-avatar img { display: block; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); }
.post-byline-text { min-width: 0; flex: 1 1 220px; }
.post-byline-text p { margin: 0; }
.post-byline-author { font-size: 15px; color: var(--muted); }
.post-byline-author a { color: var(--navy); font-weight: 800; }
.post-byline-author a:hover { text-decoration: underline; text-underline-offset: .15em; }
.post-byline-author span { display: inline-block; margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--line); font-size: 13px; }
.post-byline-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.post-byline-actions { display: flex; gap: 8px; }
.chip-btn { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.chip-btn:hover, .chip-btn:focus-visible { border-color: var(--orange); }
.chip-btn[hidden] { display: none; }
.post-article .entry-image { margin: 0 0 26px; }
.post-article .entry-image img { width: 100%; height: auto; border-radius: 10px; }
.post-article .entry-image figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* Contents box */
.toc { margin: 0 0 30px; border: 1px solid var(--line); border-left: 4px solid var(--accent, var(--orange)); border-radius: 8px; background: #fff; }
.toc summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; cursor: pointer; font-size: 16px; font-weight: 800; color: var(--navy); list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 8px; height: 8px; margin: -3px 2px 0 0; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s; }
.toc[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.toc-count { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.toc ol { margin: 0; padding: 0 20px 16px 44px; list-style: decimal; }
.toc li { padding: 5px 0 5px 4px; font-size: 15.5px; line-height: 1.4; }
.toc li::marker { color: var(--orange-dark); font-weight: 700; }
.toc a { color: var(--navy); font-weight: 600; }
.toc a:hover { color: var(--orange-dark); text-decoration: underline; text-underline-offset: .15em; }

/* Article body */
.post-article .entry-content { font-size: 19px; line-height: 1.8; color: var(--ink, #1c2230); }
.post-article .entry-content > p:first-child { font-size: 1.07em; color: var(--navy); }
.post-article .entry-content p { margin: 0 0 1.4em; }
.post-article .entry-content h2 { position: relative; scroll-margin-top: 88px; margin: 2.1em 0 .65em; padding-top: 18px; font-size: 29px; line-height: 1.25; color: var(--navy); }
.post-article .entry-content h2::before { content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 4px; border-radius: 2px; background: var(--accent, var(--orange)); }
.post-article .entry-content h3 { scroll-margin-top: 88px; margin: 1.7em 0 .5em; font-size: 22px; line-height: 1.3; color: var(--navy); }
.post-article .entry-content a { color: var(--orange-dark); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
.post-article .entry-content a:hover { color: var(--navy); }
.post-article .entry-content strong { color: var(--navy); }
.post-article .entry-content ul, .post-article .entry-content ol { margin: 0 0 1.5em 1.3em; padding: 0; }
.post-article .entry-content li { margin: .45em 0; padding-left: .2em; }
.post-article .entry-content li::marker { color: var(--accent, var(--orange-dark)); font-weight: 700; }
.post-article .entry-content figure { margin: 1.9em 0; }
.post-article .entry-content img { height: auto; border-radius: 8px; }
.post-article .entry-content figcaption { margin-top: 8px; font-size: 13.5px; text-align: left; color: var(--muted); }
.post-article .entry-content blockquote { margin: 1.9em 0; padding: 18px 22px; background: var(--band); border-left: 5px solid var(--accent, var(--orange)); border-radius: 0 8px 8px 0; font-style: normal; color: var(--navy); }
.post-article .entry-content blockquote p { margin: 0 0 .7em; }
.post-article .entry-content blockquote p:last-child { margin: 0; }
.post-article .entry-content blockquote cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; color: var(--muted); }
.post-article .entry-content hr { margin: 2.2em auto; width: 80px; border: 0; border-top: 4px solid var(--line); }
.post-article .entry-content table { font-size: 16px; }
.post-article .entry-content th { background: var(--navy); color: #fff; border-color: var(--navy); }
.post-article .entry-content tbody tr:nth-child(even) td { background: #f7f8fa; }

/* Block styles chosen in the editor */
.entry-content .wp-block-group.is-style-takeaways { margin: 0 0 1.9em; padding: 20px 24px 10px; background: var(--band); border-top: 4px solid var(--navy); border-radius: 0 0 10px 10px; }
.entry-content .wp-block-group.is-style-takeaways::before { content: "Key takeaways"; display: block; margin-bottom: 10px; font-size: 14px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--navy); }
.entry-content .wp-block-group.is-style-takeaways > :last-child { margin-bottom: .9em; }
.entry-content .wp-block-group.is-style-takeaways ul { margin-bottom: .5em; }
.entry-content .wp-block-group.is-style-note { margin: 1.9em 0; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--orange); border-radius: 8px; }
.entry-content .wp-block-group.is-style-note::before { content: "Good to know"; display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--orange-dark); }
.entry-content .wp-block-group.is-style-note > :last-child { margin-bottom: 0; }
.entry-content .wp-block-quote.is-style-pull { margin: 2.2em 0; padding: 24px 10px; background: none; border: 0; border-top: 4px solid var(--orange); border-bottom: 4px solid var(--orange); border-radius: 0; text-align: center; font-size: 1.35em; line-height: 1.45; font-weight: 700; color: var(--navy); }

/* "Also read" strip inside the article */
.also-read { display: flex; align-items: baseline; gap: 12px; margin: 2em 0; padding: 14px 18px; background: var(--band); border-left: 4px solid var(--orange); border-radius: 0 8px 8px 0; font-size: 17px; line-height: 1.45; }
.also-read-label { flex: none; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--orange-dark); }
.post-article .entry-content .also-read a { color: var(--navy); font-weight: 700; text-decoration: none; }
.post-article .entry-content .also-read a:hover { color: var(--orange-dark); text-decoration: underline; }

/* Share row */
.share { margin-top: 30px; }
.share-copy { padding: 6px 14px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.share-copy:hover, .share-copy:focus-visible { background: var(--orange); }

/* Author box */
.author-box { display: flex; gap: 22px; align-items: flex-start; margin: 30px 0; padding: 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 10px; }
.author-box-photo { flex: none; }
.author-box-avatar { display: block; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--line); }
.author-box-body { min-width: 0; }
.author-box-body p { margin: 0; }
.author-box-kicker { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-dark); }
.author-box-name { margin-top: 2px; font-size: 21px; font-weight: 800; line-height: 1.25; color: var(--navy); }
.author-box-name a:hover { text-decoration: underline; text-underline-offset: .15em; }
.author-box-role { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--muted); }
.author-box-bio { margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: #3a4252; }
.author-box-hint { padding: 10px 12px; border: 1px dashed var(--orange); border-radius: 6px; font-size: 14px; }
.author-box-topics { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.author-box-topics li { padding: 3px 11px; border-radius: 999px; background: var(--band); font-size: 12.5px; font-weight: 600; color: var(--navy); }
.author-box-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 14px; font-weight: 700; }
.author-box-links:empty { display: none; }
.author-box-links a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: .18em; }
.author-box-links a:hover { color: var(--navy); }
.author-box-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.author-box-note a { color: var(--orange-dark); text-decoration: underline; }
.author-box.is-compact { margin: 0 0 24px; border-top-width: 1px; border-left: 4px solid var(--orange); }

/* Sidebar */
.post-sidebar .latest-box { margin: 0; }
.post-sidebar .compact-list { margin-top: 0; }
.post-sidebar .side-block .section-head { margin-bottom: 8px; }
.post-sidebar .side-block .compact:first-child { border-top: 0; }

/* Article page: comments and previous/next sit in the article column */
.post-article .comments-area { max-width: none; padding: 14px 0 30px; }

@media (max-width: 1000px) {
  .post-layout { display: block; padding-top: 20px; }
  .post-article { max-width: 720px; margin: 0 auto; }
  .post-sidebar { display: none; }
}
@media (max-width: 700px) {
  .post-layout { padding: 16px 16px 4px; }
  .post-article .entry-title { font-size: 29px; }
  .post-standfirst { font-size: 18px; }
  .post-byline-actions { width: 100%; }
  .post-article .entry-image { margin-left: -16px; margin-right: -16px; }
  .post-article .entry-image img { border-radius: 0; }
  .post-article .entry-image figcaption { padding: 0 16px; }
  .post-article .entry-content { font-size: 18px; line-height: 1.75; }
  .post-article .entry-content h2 { font-size: 24px; }
  .post-article .entry-content h3 { font-size: 20px; }
  .post-article .entry-content table { display: block; overflow-x: auto; }
  .also-read { flex-direction: column; gap: 4px; }
  .author-box { gap: 16px; padding: 18px; }
  .author-box-avatar { width: 72px; height: 72px; }
  .author-box-name { font-size: 19px; }
}
@media (max-width: 520px) {
  .author-box { flex-direction: column; }
}

/* Initials circle used when an author has no profile photo */
.avatar-initials { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; letter-spacing: .02em; border: 2px solid var(--line); }
.post-byline-avatar .avatar-initials, .post-byline-avatar img { width: 46px; height: 46px; font-size: 17px; flex: none; }
.author-box-photo .avatar-initials { width: 96px; height: 96px; font-size: 34px; border-width: 3px; }
@media (max-width: 700px) { .author-box-photo .avatar-initials { width: 72px; height: 72px; font-size: 26px; } }
.article-navigation { margin-bottom: 34px; }

/* v1.0.17 — smaller article headline, one row of round share icons, image viewer, author social icons. */
.post-article .entry-title { font-size: 31px; line-height: 1.22; font-weight: 700; letter-spacing: -.008em; margin-bottom: 12px; }
.post-standfirst { font-size: 18px; line-height: 1.6; margin-bottom: 18px; }
@media (max-width: 700px) {
  .post-article .entry-title { font-size: 24px; line-height: 1.25; }
  .post-standfirst { font-size: 16.5px; }
}

/* Share icons: shown once, directly under the byline. */
.post-byline { margin-bottom: 0; border-bottom: 0; padding-bottom: 10px; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 4px 0 16px; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.share-ico {
  width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: var(--tint); color: var(--navy); cursor: pointer; font: inherit;
  transition: background .15s, color .15s;
}
.share-ico[hidden] { display: none; }
.share-ico:hover, .share-ico:focus-visible { background: var(--navy); color: #fff; }
.share-ico.is-whatsapp { background: #1f9d55; color: #fff; }
.share-ico.is-whatsapp:hover, .share-ico.is-whatsapp:focus-visible { background: #17803f; }
.share-ico.is-done { background: #1f9d55; color: #fff; }
.share-ico .ico { display: block; }
.share-status { margin-left: 4px; font-size: 13px; font-weight: 600; color: #17803f; }
.share-status:empty { display: none; }
@media (max-width: 420px) { .share-ico { width: 36px; height: 36px; } .share-row { gap: 6px; } }
/* v1.0.18 — all share icons stay on one line on phones. */
@media (max-width: 480px) {
  .share-row { flex-wrap: nowrap; gap: 4px; justify-content: space-between; }
  .share-ico { flex: 0 1 34px; width: 34px; height: 34px; min-width: 0; }
  .share-ico .ico { width: 17px; height: 17px; }
  .share-status { display: none; }
}
@media (max-width: 360px) { .share-ico { flex-basis: 30px; width: 30px; height: 30px; } }

/* Author box: round social icons beside the name (like many magazines), bio below. */
.author-box-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.author-box-role { margin-top: 0; }
.author-social { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.social-ico { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--tint); color: var(--navy); }
.social-ico:hover, .social-ico:focus-visible { background: var(--navy); color: #fff; }
.author-box-more { margin-top: 12px; font-size: 14px; font-weight: 700; }
.author-box-more a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: .18em; }
.author-box-more a:hover { color: var(--navy); }

/* Image viewer (opens when an article image or banner is clicked). */
.post-article img.zoomable { cursor: zoom-in; }
.post-article img.zoomable:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
html.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 56px 64px 64px; background: rgba(10,14,22,.97); }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 6px; background: #fff; }
.lb-figure figcaption { max-width: 760px; text-align: center; font-size: 14px; line-height: 1.5; color: #d5dae3; }
.lb-figure figcaption[hidden] { display: none; }
.lb-close, .lb-nav { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,.12); border-radius: 50%; line-height: 1; font-family: inherit; }
.lb-close:hover, .lb-nav:hover, .lb-close:focus-visible, .lb-nav:focus-visible { background: var(--orange); color: var(--navy); }
.lb-close { top: 14px; right: 14px; width: 44px; height: 44px; font-size: 30px; }
.lb-nav { top: 50%; width: 46px; height: 46px; margin-top: -23px; font-size: 34px; padding-bottom: 4px; }
.lb-nav[hidden] { display: none; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-count { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center; font-size: 13px; color: #aeb6c4; }
@media (max-width: 700px) {
  .lightbox { padding: 56px 10px 60px; }
  .lb-nav { top: auto; bottom: 10px; margin-top: 0; width: 42px; height: 42px; }
  .lb-prev { left: 14px; }
  .lb-next { right: 14px; }
}

/* v1.0.18 — a category block that sits alone on its row (e.g. News) is laid out side by side
   instead of one huge full-width image; article text is a little smaller with tighter spacing. */
@media (min-width: 701px) {
  .cols-1 .col-block { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 0 32px; align-items: start; }
  .cols-1 .col-block .section-head { grid-column: 1 / -1; }
  .cols-1 .compact-list { grid-template-columns: 1fr; margin-top: 0; align-content: start; }
  .cols-1 .compact:first-child { border-top: 0; padding-top: 0; }
}
.post-article .entry-content { font-size: 17px; line-height: 1.7; }
.post-article .entry-content p { margin: 0 0 1.05em; }
.post-article .entry-content > p:first-child { font-size: 1.04em; }
.post-article .entry-content h2 { margin: 1.6em 0 .5em; padding-top: 14px; font-size: 24px; }
.post-article .entry-content h3 { margin: 1.3em 0 .4em; font-size: 19px; }
.post-article .entry-content ul, .post-article .entry-content ol { margin-bottom: 1.1em; }
.post-article .entry-content li { margin: .3em 0; }
.post-article .entry-content figure { margin: 1.4em 0; }
.toc { margin-bottom: 22px; }
@media (max-width: 700px) {
  .post-article .entry-content { font-size: 16.5px; line-height: 1.65; }
  .post-article .entry-content p { margin-bottom: .95em; }
  .post-article .entry-content h2 { margin: 1.4em 0 .45em; padding-top: 12px; font-size: 21px; }
  .post-article .entry-content h3 { font-size: 18px; }
  .post-article .entry-content figure { margin: 1.2em 0; }
  .toc { margin-bottom: 18px; }
}

/* v1.0.19 — footer: logo link, Company and Quick Links columns (no category list); contact form. */
.footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
.footer-logo { display: inline-block; line-height: 0; }
.footer-logo:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.footer-links { grid-template-columns: 1fr; gap: 9px; }
.site-footer nav h4 { margin-top: 0; }
.footer-bottom .container { justify-content: center; text-align: center; }
@media (max-width: 1024px) and (min-width: 701px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

.contact-form-wrap { margin-top: 28px; }
.contact-form p { margin: 0 0 16px; }
.contact-form label { display: block; margin-bottom: 6px; font-size: 14.5px; font-weight: 700; color: var(--navy); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form select, .contact-form textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 16px; color: var(--navy);
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid rgba(255,153,0,.35); border-color: var(--orange); }
.contact-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn-primary { padding: 12px 26px; border: 0; border-radius: 8px; background: var(--orange); color: var(--navy); font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.contact-form .btn-primary:hover, .contact-form .btn-primary:focus-visible { background: var(--navy); color: #fff; }
.form-note { margin: 0 0 18px; padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.form-note.is-ok { background: #e8f6ee; border: 1px solid #1f9d55; color: #17603a; }
.form-note.is-bad { background: #fdecec; border: 1px solid #d64545; color: #8f2424; }

/* v1.0.20 — footer branding: bigger logo, tagline, orange heading marks, round social icons at the bottom. */
.footer-top { grid-template-columns: 1.7fr 1fr 1fr; gap: 48px; padding-top: 54px; padding-bottom: 40px; }
.footer-brand img { height: 64px; padding: 10px 18px; border-radius: 10px; }
.footer-brand .footer-tagline { margin: 22px 0 0; max-width: 420px; font-size: 20px; line-height: 1.3; font-weight: 800; color: #fff; }
.footer-brand .footer-about { margin: 10px 0 0; max-width: 420px; font-size: 15px; line-height: 1.65; color: #b9c0cd; }
.site-footer nav h4 { margin: 0 0 16px; padding-bottom: 10px; position: relative; font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.site-footer nav h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 2px; background: var(--orange); }
.footer-links { font-size: 15px; }
.footer-links a { color: #cfd4de; }
.footer-bottom .container { justify-content: space-between; text-align: left; align-items: center; }
.footer-social { display: flex; gap: 8px; margin: 0; }
.footer-social-ico { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; }
.footer-social-ico:hover, .footer-social-ico:focus-visible { background: var(--orange); color: var(--navy); }
@media (max-width: 1024px) and (min-width: 701px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 700px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-top: 38px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { height: 52px; }
  .footer-brand .footer-tagline { font-size: 18px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}
