/*
Theme Name: gobyukey
Theme URI: https://example.com/
Author: friedrice
Description: Lightweight, responsive WordPress theme with editable brand colours and an HTML-first Theme Builder for multiple conditional headers and footers. Built for clean typography, fast loading and Elementor compatibility.
Version: 1.2.7
Requires at least: 6.0
Tested up to: 6.8
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: editable-brand-theme
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, one-column, two-columns, full-width-template
*/

:root {
  --ebt-primary: #1f6fb2;
  --ebt-accent: #19b5c5;
  --ebt-bg: #ffffff;
  --ebt-surface: #f5f7f9;
  --ebt-text: #1f2933;
  --ebt-muted: #5f6b76;
  --ebt-header-bg: #1f6fb2;
  --ebt-header-text: #ffffff;
  --ebt-footer-bg: #18242f;
  --ebt-footer-text: #ffffff;
  --ebt-button-text: #ffffff;
  --ebt-border: #d8dee4;
  --ebt-content-width: 1180px;
  --ebt-radius: 6px;
  --ebt-font: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ebt-bg);
  color: var(--ebt-text);
  font-family: var(--ebt-font);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--ebt-primary); text-decoration-thickness: .08em; text-underline-offset: .14em; }
a:hover { text-decoration-thickness: .13em; }
button, input, select, textarea { font: inherit; }
button, .button, input[type="submit"], .wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .7rem 1.1rem;
  border: 2px solid var(--ebt-primary);
  border-radius: var(--ebt-radius);
  background: var(--ebt-primary);
  color: var(--ebt-button-text);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}
button:hover, .button:hover, input[type="submit"]:hover, .wp-element-button:hover { opacity: .92; transform: translateY(-1px); }
:focus-visible { outline: 3px solid var(--ebt-accent); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .55em;
  color: var(--ebt-text);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.2rem, 6vw, 4.7rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 3vw, 2rem); }
p, ul, ol, blockquote { margin-top: 0; margin-bottom: 1.25rem; }

.ebt-container { width: min(calc(100% - 2rem), var(--ebt-content-width)); margin-inline: auto; }
.ebt-narrow { width: min(calc(100% - 2rem), 780px); margin-inline: auto; }
.site-main { min-height: 60vh; }

.site-header {
  position: relative;
  z-index: 50;
  background: var(--ebt-header-bg);
  color: var(--ebt-header-text);
}
.site-header a { color: inherit; }
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-branding { display: flex; align-items: center; min-width: 0; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 48px; width: auto; }
.site-title {
  margin: 0;
  color: var(--ebt-header-text);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.025em;
}
.site-title a { text-decoration: none; }
.site-description { margin: .35rem 0 0; font-size: .9rem; opacity: .86; }

.primary-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.15rem; }
.primary-navigation a { font-weight: 700; text-decoration: none; }
.primary-navigation a:hover { text-decoration: underline; text-underline-offset: .2em; }
.menu-toggle { display: none; }

.ebt-hero {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ebt-primary) 9%, white), var(--ebt-bg));
}
.ebt-hero .eyebrow { margin: 0 0 .7rem; color: var(--ebt-primary); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.ebt-hero p { max-width: 720px; color: var(--ebt-muted); font-size: clamp(1.05rem, 2.4vw, 1.35rem); }
.ebt-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.button-secondary { background: transparent; color: var(--ebt-primary); }

.content-area { padding: 3.5rem 0 5rem; }
.entry-card {
  background: var(--ebt-bg);
  border: 1px solid var(--ebt-border);
  border-radius: calc(var(--ebt-radius) + 2px);
  overflow: hidden;
}
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.entry-card__content { padding: 1.35rem; }
.entry-card h2, .entry-card h3 { font-size: 1.4rem; }
.entry-card h2 a, .entry-card h3 a { color: inherit; text-decoration: none; }
.entry-meta { color: var(--ebt-muted); font-size: .88rem; margin-bottom: .85rem; }
.entry-thumbnail img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.entry-header { padding: 3.5rem 0 1.5rem; }
.entry-content { padding-bottom: 4rem; }
.entry-content > * { max-width: 780px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: var(--ebt-content-width); }
.entry-content > .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }
.entry-content img { border-radius: var(--ebt-radius); }

.wp-block-quote, blockquote { border-left: 5px solid var(--ebt-primary); margin-left: 0; padding: .3rem 0 .3rem 1.2rem; color: var(--ebt-muted); }
.wp-block-table table, table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid var(--ebt-border); padding: .75rem; text-align: left; }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="number"], textarea, select {
  width: 100%;
  border: 2px solid var(--ebt-border);
  border-radius: var(--ebt-radius);
  background: #fff;
  color: var(--ebt-text);
  padding: .7rem .8rem;
}

.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 2rem; }
.page-numbers { padding: .45rem .7rem; border: 1px solid var(--ebt-border); border-radius: var(--ebt-radius); text-decoration: none; }
.page-numbers.current { background: var(--ebt-primary); color: #fff; border-color: var(--ebt-primary); }

.site-footer { margin-top: auto; background: var(--ebt-footer-bg); color: var(--ebt-footer-text); }
.site-footer a { color: inherit; }
.footer-html-content { padding: 2.5rem 0 2rem; }
.footer-html-content > :last-child { margin-bottom: 0; }
.site-footer #footer-menu { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; }
.site-footer #footer-menu a { font-weight: 700; text-decoration: none; }
.site-footer #footer-menu a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-widgets { padding: 3rem 0 2rem; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; }
.site-info { padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.18); font-size: .9rem; opacity: .9; }
.widget-title { color: var(--ebt-footer-text); font-size: 1.05rem; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { margin: .4rem 0; }

.error-404 { padding: 6rem 0; text-align: center; }
.error-404 .error-code { font-size: clamp(4rem, 15vw, 10rem); line-height: .8; font-weight: 700; color: var(--ebt-primary); letter-spacing: -.06em; }

.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; }
.screen-reader-text:focus { width: auto; height: auto; clip: auto; background: #fff; color: #000; padding: .8rem; margin: .5rem; z-index: 999999; }

@media (max-width: 900px) {
  body { font-size: 17px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .menu-toggle { display: inline-flex; min-height: 42px; padding: .5rem .75rem; border-color: currentColor; background: transparent; color: var(--ebt-header-text); }
  .primary-navigation { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ebt-header-bg); border-top: 1px solid rgba(255,255,255,.18); }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { display: block; padding: .75rem 1rem 1rem; }
  .primary-navigation li { margin: .15rem 0; }
  .primary-navigation a { display: block; padding: .7rem 0; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .ebt-container, .ebt-narrow { width: min(calc(100% - 1.25rem), var(--ebt-content-width)); }
  .header-inner { min-height: 68px; }
  .site-title { font-size: 1.3rem; }
  .post-grid { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: 1fr; }
  .ebt-actions { flex-direction: column; align-items: stretch; }
  .ebt-actions .button { width: 100%; }
}



/* Blog page: true Elementor full-width layout */
body.page-id-35 .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
body.page-id-35 .entry-content > * {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
body.page-id-35 article#post-35,
body.page-id-35 article#post-35 > .entry-content,
body.page-id-35 .entry-content > .elementor,
body.page-id-35 .entry-content > .elementor > .elementor-element,
body.page-id-35 .elementor-page,
body.page-id-35 .elementor {
  width: 100%;
  max-width: none;
}
body.page-id-35 .elementor-element-5d5eca40,
body.page-id-35 .elementor-element-5d5eca40 > .e-con-inner,
body.page-id-35 .elementor-element-490ec2d9 {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}



/* =========================================================
   Single blog posts — editorial reading layout
   ========================================================= */
.single-post {
  background: #f6f8fa;
}

.single-post article.post {
  background: #fff;
  width: min(calc(100% - 32px), 960px);
  margin: 42px auto 56px;
  border: 1px solid #e4eaf0;
  border-radius: 14px;
  box-shadow: 0 12px 38px rgba(13,34,53,.06);
  overflow: hidden;
}

.single-post .entry-header {
  width: min(calc(100% - 48px), 800px);
  padding: 58px 0 28px;
  text-align: center;
  border-bottom: 1px solid #edf1f4;
}

.single-post .entry-header .entry-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin: 0 0 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eef6fc;
  color: #1f6fb2;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .04em;
}

.single-post .entry-header h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -.04em;
  color: #132638;
}

.single-post .entry-content {
  width: 100%;
  padding: 34px 0 58px;
}

.single-post .entry-content > * {
  width: min(calc(100% - 48px), 760px);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.single-post .entry-content p,
.single-post .entry-content li {
  font-size: 18px;
  line-height: 1.78;
}

.single-post .entry-content p {
  margin-bottom: 1.35rem;
}

.single-post .entry-content h2 {
  margin-top: 52px;
  margin-bottom: 16px;
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.12;
  letter-spacing: -.03em;
  color: #132638;
}

.single-post .entry-content h3 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: clamp(22px, 2.7vw, 27px);
  line-height: 1.18;
  color: #132638;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
  padding-left: 1.35rem;
  margin-bottom: 1.6rem;
}

.single-post .entry-content li + li {
  margin-top: .45rem;
}

.single-post .entry-content blockquote,
.single-post .entry-content .wp-block-quote {
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 20px 24px;
  border: 0;
  border-left: 4px solid var(--ebt-primary);
  border-radius: 0 10px 10px 0;
  background: #f4f8fb;
}

/* Keep editorial images smaller than the copy column and centered. */
.single-post .entry-content figure,
.single-post .entry-content .wp-block-image,
.single-post .entry-content .wp-block-gallery,
.single-post .entry-content > p > img,
.single-post .entry-content > img {
  width: min(calc(100% - 48px), 640px);
  max-width: 640px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.single-post .entry-content figure img,
.single-post .entry-content .wp-block-image img,
.single-post .entry-content > p > img,
.single-post .entry-content > img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 10px;
}

/* Featured image: larger than inline images, still restrained and centred. */
.single-post .entry-content > .alignwide:first-child {
  width: min(calc(100% - 48px), 720px);
  max-width: 720px;
  margin: 0 auto 36px !important;
}

.single-post .entry-content > .alignwide:first-child img {
  display: block;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
  border-radius: 12px;
}

/* Override wide/full image classes on posts so old content cannot blow out. */
.single-post .entry-content figure.alignwide,
.single-post .entry-content figure.alignfull,
.single-post .entry-content .wp-block-image.alignwide,
.single-post .entry-content .wp-block-image.alignfull {
  width: min(calc(100% - 48px), 640px);
  max-width: 640px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.single-post figcaption,
.single-post .wp-element-caption {
  max-width: 620px;
  margin: 9px auto 0;
  color: #738392;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

/* Keep custom HTML article wrappers readable without forcing full-bleed layouts. */
.single-post .entry-content > div[id],
.single-post .entry-content > section {
  width: min(calc(100% - 48px), 760px);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.single-post .post-navigation {
  width: min(calc(100% - 32px), 960px);
  margin: 0 auto 48px;
}

.single-post .post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
}

.single-post .post-navigation a {
  display: block;
  min-height: 100%;
  padding: 18px 20px;
  border: 1px solid #dfe7ee;
  border-radius: 10px;
  background: #fff;
  color: #132638;
  text-decoration: none;
}

.single-post .post-navigation a:hover {
  border-color: #b8ccdc;
  background: #f8fbfd;
}

.single-post .comments-area {
  width: min(calc(100% - 32px), 760px);
  margin: 0 auto 56px;
  padding: 28px;
  border: 1px solid #e4eaf0;
  border-radius: 12px;
  background: #fff;
}

@media (max-width: 720px) {
  .single-post article.post {
    width: 100%;
    margin: 0 auto 34px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .single-post .entry-header {
    width: min(calc(100% - 36px), 800px);
    padding: 40px 0 24px;
  }

  .single-post .entry-header h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .single-post .entry-content {
    padding-top: 26px;
  }

  .single-post .entry-content > *,
  .single-post .entry-content > div[id],
  .single-post .entry-content > section {
    width: min(calc(100% - 36px), 760px);
  }

  .single-post .entry-content figure,
  .single-post .entry-content .wp-block-image,
  .single-post .entry-content .wp-block-gallery,
  .single-post .entry-content > p > img,
  .single-post .entry-content > img,
  .single-post .entry-content figure.alignwide,
  .single-post .entry-content figure.alignfull,
  .single-post .entry-content .wp-block-image.alignwide,
  .single-post .entry-content .wp-block-image.alignfull {
    width: min(calc(100% - 36px), 560px);
    max-width: 560px;
  }

  .single-post .entry-content > .alignwide:first-child {
    width: min(calc(100% - 36px), 640px);
    max-width: 640px;
  }

  .single-post .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }
}



/* Blog comments disabled visually */
.single-post .comments-area,
.single-post .comment-respond,
.single-post .comments-link {
  display: none !important;
}



/* Services page: true Elementor full-width layout */
body.page-id-43 .entry-header {
  display: none;
}
body.page-id-43 article#post-43,
body.page-id-43 article#post-43 > .entry-content,
body.page-id-43 .entry-content,
body.page-id-43 .entry-content > *,
body.page-id-43 .entry-content > .elementor,
body.page-id-43 .entry-content > .elementor > .elementor-element,
body.page-id-43 .elementor,
body.page-id-43 .elementor-page {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.page-id-43 .entry-content {
  padding: 0 !important;
}
body.page-id-43 article#post-43 {
  overflow: visible;
}



/* =========================================================
   Single blog posts — global editorial masthead
   ========================================================= */
.single-post .post-masthead {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #dce8f0;
  background:
    radial-gradient(circle at 88% 18%, rgba(25,181,197,.14), transparent 34%),
    linear-gradient(135deg, #eef7fb 0%, #f8fbfd 58%, #ffffff 100%);
}

.single-post .post-masthead::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ebt-primary), var(--ebt-accent));
}

.single-post .post-masthead__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
  min-height: 420px;
  padding-top: clamp(58px, 7vw, 88px);
  padding-bottom: clamp(58px, 7vw, 88px);
}

.single-post .post-masthead.no-media .post-masthead__inner {
  grid-template-columns: minmax(0, 860px);
  min-height: 360px;
}

.single-post .post-masthead.no-media .post-masthead__copy {
  max-width: 860px;
}

.single-post .post-masthead__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--ebt-primary);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.single-post .post-masthead__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--ebt-accent);
}

.single-post .post-masthead__meta {
  margin-bottom: 14px;
  color: #667b8c;
  font-size: 14px;
  font-weight: 700;
}

.single-post .post-masthead h1 {
  max-width: 820px;
  margin: 0;
  color: #102638;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.single-post .post-masthead__excerpt {
  max-width: 720px;
  margin: 22px 0 0;
  color: #566f82;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.single-post .post-masthead__media {
  position: relative;
}

.single-post .post-masthead__media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(31,111,178,.16);
  border-radius: 20px;
  background: rgba(255,255,255,.45);
}

.single-post .post-masthead__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(13,34,53,.14);
}

.single-post article.post {
  margin-top: 36px;
}

.single-post article.post > .entry-content {
  padding-top: 48px;
}

@media (max-width: 900px) {
  .single-post .post-masthead__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 34px;
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .single-post .post-masthead__copy {
    max-width: 820px;
  }

  .single-post .post-masthead__media {
    width: min(100%, 720px);
  }

  .single-post .post-masthead__media img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 620px) {
  .single-post .post-masthead__inner {
    width: min(calc(100% - 28px), var(--ebt-content-width));
    padding-top: 42px;
    padding-bottom: 46px;
  }

  .single-post .post-masthead h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .single-post .post-masthead__excerpt {
    margin-top: 18px;
    font-size: 17px;
  }

  .single-post .post-masthead__media::before {
    inset: 10px -8px -10px 8px;
    border-radius: 16px;
  }

  .single-post .post-masthead__media img {
    border-radius: 14px;
  }

  .single-post article.post {
    margin-top: 0;
  }

  .single-post article.post > .entry-content {
    padding-top: 32px;
  }
}



/* =========================================================
   Single posts — actual server-rendered masthead
   Uses the existing date + H1 from single.php.
   ========================================================= */
.single-post article.post {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.single-post .entry-header {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 360px;
  margin: 0;
  padding:
    clamp(68px, 8vw, 104px)
    max(24px, calc((100vw - 1100px) / 2))
    clamp(72px, 8vw, 108px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  border: 0;
  background:
    radial-gradient(circle at 86% 16%, rgba(25,181,197,.17), transparent 31%),
    radial-gradient(circle at 72% 88%, rgba(31,111,178,.10), transparent 32%),
    linear-gradient(135deg, #edf7fb 0%, #f7fbfd 58%, #ffffff 100%);
}

.single-post .entry-header::before {
  content: "Home Office Translators · Guides";
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  color: #1f6fb2;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.single-post .entry-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ebt-primary), var(--ebt-accent));
}

.single-post .entry-header .entry-meta {
  order: 1;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 16px;
  padding: 5px 11px;
  border: 1px solid rgba(31,111,178,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #567084;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  backdrop-filter: blur(5px);
}

.single-post .entry-header h1 {
  order: 2;
  width: min(100%, 920px);
  max-width: 920px;
  margin: 0;
  color: #102638;
  font-size: clamp(44px, 5.8vw, 72px);
  line-height: 1.01;
  letter-spacing: -.047em;
  text-wrap: balance;
}

.single-post .entry-content {
  width: min(calc(100% - 32px), 960px);
  max-width: 960px;
  margin: 36px auto 56px;
  padding: 48px 0 58px;
  border: 1px solid #e4eaf0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(13,34,53,.06);
  overflow: hidden;
}

.single-post .entry-content > .alignwide:first-child {
  margin-top: 0 !important;
}

@media (max-width: 720px) {
  .single-post .entry-header {
    min-height: 290px;
    padding: 48px 18px 54px;
  }

  .single-post .entry-header::before {
    margin-bottom: 13px;
    font-size: 11px;
  }

  .single-post .entry-header h1 {
    font-size: clamp(36px, 11vw, 48px);
    line-height: 1.04;
  }

  .single-post .entry-content {
    width: 100%;
    margin: 0 auto 34px;
    padding-top: 34px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

