/* =========================================================================
   GatewayVPN — blog single post
   Blocks: .gw-ph (hero) · .gw-pi (featured image) · .gw-pb (body: ToC + content)
           .gw-pf (footer: tags, share, author) · .gw-pr (related) · .gw-pc (CTA)
   Every selector is double-scoped so Elementor kit / theme styles can't win.
   ========================================================================= */

/* ---------- Shared base ---------- */
.gw-ph, .gw-pi, .gw-pb, .gw-pf, .gw-pr, .gw-pc {
  --gw-header-offset: 90px; /* height of the sticky site header */
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #424242;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  box-sizing: border-box;
}
.gw-ph *, .gw-ph *::before, .gw-ph *::after,
.gw-pi *, .gw-pi *::before, .gw-pi *::after,
.gw-pb *, .gw-pb *::before, .gw-pb *::after,
.gw-pf *, .gw-pf *::before, .gw-pf *::after,
.gw-pr *, .gw-pr *::before, .gw-pr *::after,
.gw-pc *, .gw-pc *::before, .gw-pc *::after { box-sizing: border-box; }

/* Remove the theme's focus box on mouse/touch clicks; keyboard focus keeps a purple ring */
.gw-ph a:focus:not(:focus-visible), .gw-pi a:focus:not(:focus-visible),
.gw-pb a:focus:not(:focus-visible), .gw-pb button:focus:not(:focus-visible), .gw-pb summary:focus:not(:focus-visible), .gw-pb [tabindex]:focus:not(:focus-visible),
.gw-pf a:focus:not(:focus-visible), .gw-pf button:focus:not(:focus-visible),
.gw-pr a:focus:not(:focus-visible), .gw-pc a:focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }
.gw-ph a:focus-visible, .gw-pi a:focus-visible,
.gw-pb a:focus-visible, .gw-pb button:focus-visible, .gw-pb summary:focus-visible, .gw-pb [tabindex]:focus-visible,
.gw-pf a:focus-visible, .gw-pf button:focus-visible,
.gw-pr a:focus-visible, .gw-pc a:focus-visible { outline: 3px solid #b9a6cf !important; outline-offset: 3px; }

/* =========================================================================
   Hero  .gw-ph
   ========================================================================= */
.gw-ph { padding: 56px 24px 40px; background: #FFFFFF; }
.gw-ph .gw-ph__inner { max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }


.gw-ph .gw-ph__labels { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gw-ph .gw-ph__tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 1px solid #DDDDDD; border-radius: 999px; background: #FFFFFF; color: #424242; font-size: 14px; font-weight: 500; line-height: 1.4; }
.gw-ph .gw-ph__cat { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: #f1edf6; color: #6e5092; font-size: 14px; font-weight: 600; line-height: 1.4; }

.gw-ph .gw-ph__title { margin: 0; font-family: inherit; font-size: clamp(42px, 6vw, 64px); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; text-transform: none; color: #424242; }
.gw-ph .gw-ph__em { color: #6e5092; }
.gw-ph .gw-ph__excerpt { margin: 0; max-width: 720px; font-size: 20px; line-height: 1.6; color: #5a5a5a; }

.gw-ph .gw-ph__meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px; font-size: 14px; line-height: 1.4; color: #6b6b6b; }
.gw-ph .gw-ph__author { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.4; }
.gw-ph .gw-ph__avatar { width: 36px; height: 36px; flex: none; display: block; }
.gw-ph .gw-ph__author-name { font-size: 14px; line-height: 1.4; font-weight: 600; color: #424242; }
.gw-ph .gw-ph__facts { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; font-size: 14px; line-height: 1.4; }
.gw-ph .gw-ph__date, .gw-ph .gw-ph__read, .gw-ph .gw-ph__dot { font-size: 14px; line-height: 1.4; color: #6b6b6b; }

/* =========================================================================
   Featured image  .gw-pi
   ========================================================================= */
.gw-pi { padding: 0 24px; background: #FFFFFF; }
.gw-pi .gw-pi__figure { display: block !important; width: 100% !important; max-width: 1240px !important; margin: 0 auto !important; padding: 0; float: none; text-align: center; }
.gw-pi .gw-pi__figure picture, .gw-pr .gw-pr__media picture { display: block; width: 100%; height: 100%; }
.gw-pi .gw-pi__img, .gw-pi .gw-pi__figure img { display: block; width: 100% !important; max-width: 100% !important; height: auto !important; float: none; aspect-ratio: 1200 / 630; object-fit: cover; margin: 0; border: 1px solid #DDDDDD; border-radius: 20px; background: #f1edf6; }
.gw-pi .gw-pi__caption { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: #6b6b6b; text-align: center; }

/* =========================================================================
   Body  .gw-pb  (ToC rail + content)
   ========================================================================= */
.gw-pb { padding: 56px 24px; background: #FFFFFF; }
.gw-pb .gw-pb__inner { max-width: 1240px; margin: 0 auto; display: flex; justify-content: center; align-items: flex-start; gap: 64px; }
.gw-pb .gw-pb__rail { flex: 0 0 260px; min-width: 0; align-self: stretch; }
.gw-pb .gw-pb__rail-sticky { position: sticky; top: calc(var(--gw-header-offset) + 34px); max-height: calc(100vh - var(--gw-header-offset) - 58px); overflow-y: auto; display: flex; flex-direction: column; gap: 24px; }
.gw-pb .gw-pb__content { flex: 1 1 auto; min-width: 0; max-width: 760px; }

/* ToC */
.gw-pb .gw-pb__toc { margin: 0; padding: 0; border: 0; }
.gw-pb .gw-pb__toc-summary { display: flex; align-items: center; justify-content: space-between; margin: 0 0 14px; padding: 0; list-style: none; cursor: default; }
.gw-pb .gw-pb__toc-summary::-webkit-details-marker { display: none; }
.gw-pb .gw-pb__toc-summary::marker { content: ''; }
.gw-pb .gw-pb__toc-label { font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6b6b6b; }
.gw-pb .gw-pb__toc-chevron { display: none; width: 18px; height: 18px; fill: none; stroke: #6e5092; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.gw-pb .gw-pb__toc-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.gw-pb .gw-pb__toc-item { margin: 0; padding: 0; line-height: 1.4; }
.gw-pb .gw-pb__toc-item::before { content: none; }
.gw-pb .gw-pb__toc-link { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 11px 12px; border-radius: 10px; color: #424242; font-size: 15px; font-weight: 500; line-height: 1.4; text-decoration: none; transition: background-color .2s, color .2s; }
.gw-pb .gw-pb__toc-link:hover { background: rgba(240,240,240,0.8); color: #424242; }
.gw-pb .gw-pb__toc-hex { width: 12px; height: 12px; flex: none; margin-top: 4px; fill: none; stroke: #bdbdbd; stroke-width: 2.5; }
.gw-pb .gw-pb__toc-text { font-size: 15px; line-height: 1.4; }
.gw-pb .gw-pb__toc-link.is-active { background: #f1edf6; color: #6e5092; font-weight: 600; }
.gw-pb .gw-pb__toc-link.is-active .gw-pb__toc-hex { fill: #6e5092; stroke: #6e5092; }

/* Share (rail) */
.gw-pb .gw-pb__share { padding-top: 20px; border-top: 1px solid #DDDDDD; display: flex; flex-direction: column; gap: 10px; }
.gw-pb .gw-pb__share:first-child { border-top: 0; padding-top: 0; } /* no ToC on short posts */
.gw-pb .gw-pb__share-label { margin: 0; font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6b6b6b; }

/* Share buttons (used in .gw-pb and .gw-pf) */
.gw-pb .gw-pb__share-btns, .gw-pf .gw-pf__share-btns { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.gw-pb .gw-pb__share-btn, .gw-pf .gw-pf__share-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 1px solid #DDDDDD; border-radius: 10px; background: #FFFFFF; color: #424242; font-size: 14px; line-height: 1.4; text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s; }
.gw-pb .gw-pb__share-btn[hidden], .gw-pf .gw-pf__share-btn[hidden] { display: none; }
.gw-pb .gw-pb__share-btn:hover, .gw-pf .gw-pf__share-btn:hover { border-color: #424242; color: #424242; background: #FFFFFF; }
.gw-pb .gw-pb__share-btn svg, .gw-pf .gw-pf__share-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gw-pb .gw-pb__share-btn svg.gw-pb__icon-brand, .gw-pf .gw-pf__share-btn svg.gw-pf__icon-brand { fill: currentColor; stroke: none; }
.gw-pb .gw-pb__share-btn svg.gw-pb__icon-x, .gw-pf .gw-pf__share-btn svg.gw-pf__icon-x { width: 16px; height: 16px; }
.gw-pb .gw-pb__share-btn svg.gw-pb__icon-li, .gw-pf .gw-pf__share-btn svg.gw-pf__icon-li { width: 18px; height: 18px; }
.gw-pb .gw-pb__icon-ok, .gw-pf .gw-pf__icon-ok { display: none; }
.gw-pb .gw-pb__share-btn.is-copied, .gw-pf .gw-pf__share-btn.is-copied { border-color: #6e5092; color: #6e5092; }
.gw-pb .gw-pb__share-btn.is-copied .gw-pb__icon-link, .gw-pf .gw-pf__share-btn.is-copied .gw-pf__icon-link { display: none; }
.gw-pb .gw-pb__share-btn.is-copied .gw-pb__icon-ok, .gw-pf .gw-pf__share-btn.is-copied .gw-pf__icon-ok { display: block; stroke-width: 2.4; }
.gw-pb .gw-pb__sr, .gw-pf .gw-pf__sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Gutenberg content typography ---------- */
.gw-pb .gw-pb__content { font-size: 18px; line-height: 1.7; color: #424242; overflow-wrap: break-word; }
.gw-pb .gw-pb__content > *:first-child { margin-top: 0; }
.gw-pb .gw-pb__content > *:last-child { margin-bottom: 0; }

.gw-pb .gw-pb__content p { margin: 0 0 24px; font-size: 18px; line-height: 1.7; color: #424242; }
.gw-pb .gw-pb__content h2,
.gw-pb .gw-pb__content h3,
.gw-pb .gw-pb__content h4 { font-family: inherit; text-transform: none; letter-spacing: 0; color: #424242; scroll-margin-top: calc(var(--gw-header-offset) + 16px); }
.gw-pb .gw-pb__content h2 { margin: 48px 0 20px; font-size: 36px; line-height: 1.2; font-weight: 700; }
.gw-pb .gw-pb__content h3 { margin: 36px 0 16px; font-size: 26px; line-height: 1.3; font-weight: 700; }
.gw-pb .gw-pb__content h4 { margin: 28px 0 12px; font-size: 20px; line-height: 1.4; font-weight: 700; }
.gw-pb .gw-pb__content h2 + h3 { margin-top: 24px; }

.gw-pb .gw-pb__content a { color: #6e5092; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
.gw-pb .gw-pb__content a:hover { color: #424242; }
.gw-pb .gw-pb__content strong, .gw-pb .gw-pb__content b { font-weight: 700; color: #424242; }

.gw-pb .gw-pb__content ul, .gw-pb .gw-pb__content ol { margin: 0 0 24px; padding: 0 0 0 24px; }
.gw-pb .gw-pb__content ul { list-style: disc; }
.gw-pb .gw-pb__content ol { list-style: decimal; }
.gw-pb .gw-pb__content li { margin: 0 0 8px; padding: 0 0 0 4px; font-size: 18px; line-height: 1.7; color: #424242; }
.gw-pb .gw-pb__content li::marker { color: #6e5092; font-weight: 700; }
.gw-pb .gw-pb__content li > ul, .gw-pb .gw-pb__content li > ol { margin: 8px 0 0; }

.gw-pb .gw-pb__content blockquote,
.gw-pb .gw-pb__content .wp-block-quote { margin: 32px 0; padding: 24px 28px; border: 1px solid #DDDDDD; border-radius: 16px; background: rgba(240,240,240,0.5); }
.gw-pb .gw-pb__content blockquote p { margin: 0 0 12px; font-size: 20px; line-height: 1.6; font-style: italic; }
.gw-pb .gw-pb__content blockquote p:last-child { margin-bottom: 0; }
.gw-pb .gw-pb__content blockquote cite { display: block; margin-top: 12px; font-size: 14px; line-height: 1.4; font-style: normal; font-weight: 600; color: #6b6b6b; }

.gw-pb .gw-pb__content figure { margin: 32px 0; padding: 0; }
.gw-pb .gw-pb__content img { max-width: 100%; height: auto; border-radius: 16px; }
.gw-pb .gw-pb__content figcaption,
.gw-pb .gw-pb__content .wp-element-caption { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: #6b6b6b; text-align: center; }
.gw-pb .gw-pb__content .alignwide, .gw-pb .gw-pb__content .alignfull { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
.gw-pb .gw-pb__content .alignleft { float: left; margin: 8px 24px 16px 0; max-width: 50%; }
.gw-pb .gw-pb__content .alignright { float: right; margin: 8px 0 16px 24px; max-width: 50%; }
.gw-pb .gw-pb__content .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }

.gw-pb .gw-pb__content hr,
.gw-pb .gw-pb__content .wp-block-separator { margin: 40px 0; border: 0; border-top: 1px solid #DDDDDD; background: none; height: 0; opacity: 1; }

.gw-pb .gw-pb__content code { padding: 2px 6px; border-radius: 6px; background: #f1edf6; color: #424242; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88em; line-height: 1.5; }
.gw-pb .gw-pb__content pre { margin: 32px 0; padding: 20px 24px; border-radius: 14px; background: #424242; color: #FFFFFF; overflow-x: auto; font-size: 15px; line-height: 1.6; }
.gw-pb .gw-pb__content pre code { padding: 0; background: none; color: inherit; font-size: inherit; }

/* Buttons block → site primary button */
.gw-pb .gw-pb__content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0; }
.gw-pb .gw-pb__content .wp-block-button { margin: 0; }
.gw-pb .gw-pb__content .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 10px; border: 1px solid #6e5092; background: #6e5092; color: #FFFFFF; font-size: 16px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.gw-pb .gw-pb__content .wp-block-button__link:hover { background: #424242; border-color: #424242; color: #FFFFFF; }
.gw-pb .gw-pb__content .is-style-outline .wp-block-button__link { background: #FFFFFF; border-color: #DDDDDD; color: #424242; }
.gw-pb .gw-pb__content .is-style-outline .wp-block-button__link:hover { border-color: #424242; color: #424242; }

/* Embeds */
.gw-pb .gw-pb__content .wp-block-embed { margin: 32px 0; }
.gw-pb .gw-pb__content iframe { max-width: 100%; border: 0; border-radius: 16px; }

/* Details block → site FAQ style */
.gw-pb .gw-pb__content details { margin: 0 0 10px; border: 1px solid #DDDDDD; border-radius: 16px; background: #FFFFFF; }
.gw-pb .gw-pb__content details[open] { border: 2px solid #6e5092; }
.gw-pb .gw-pb__content details > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 16px 20px; list-style: none; cursor: pointer; font-size: 17px; line-height: 1.4; font-weight: 600; color: #424242; }
.gw-pb .gw-pb__content details > summary::-webkit-details-marker { display: none; }
.gw-pb .gw-pb__content details > summary::after { content: ''; flex: none; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e5092' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.gw-pb .gw-pb__content details[open] > summary::after { transform: rotate(180deg); }
.gw-pb .gw-pb__content details > :not(summary) { margin: 0; padding: 0 20px 16px; font-size: 16px; line-height: 1.7; }
.gw-pb .gw-pb__content details + :not(details) { margin-top: 32px; }

/* Tables */
.gw-pb .gw-pb__content .wp-block-table { margin: 32px 0; overflow-x: auto; }
.gw-pb .gw-pb__content table { width: 100%; margin: 0; border: 1px solid #DDDDDD; border-collapse: separate; border-spacing: 0; border-radius: 16px; overflow: hidden; background: #FFFFFF; font-size: 16px; line-height: 1.5; text-align: left; }
.gw-pb .gw-pb__content th,
.gw-pb .gw-pb__content td { margin: 0; padding: 14px 16px; border: 0; border-bottom: 1px solid #DDDDDD; background: #FFFFFF; color: #424242; font-size: 16px; line-height: 1.5; text-align: left; vertical-align: top; }
.gw-pb .gw-pb__content th { background: #f7f7f7; font-weight: 700; }
.gw-pb .gw-pb__content tr:last-child > td { border-bottom: 0; }
.gw-pb .gw-pb__content tr:nth-child(odd) > td,
.gw-pb .gw-pb__content tr:nth-child(even) > td,
.gw-pb .gw-pb__content tr:hover > td { background: #FFFFFF; }
.gw-pb .gw-pb__content .wp-block-table thead { border: 0; }
.gw-pb .gw-pb__content .wp-block-table tfoot { border: 0; }

/* =========================================================================
   Footer  .gw-pf  (tags, share, author)
   ========================================================================= */
.gw-pf { padding: 0 24px 56px; background: #FFFFFF; }
.gw-pf .gw-pf__inner { max-width: 1240px; margin: 0 auto; display: flex; justify-content: center; gap: 64px; }
.gw-pf .gw-pf__spacer { flex: 0 0 260px; }
.gw-pf .gw-pf__col { flex: 1 1 auto; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 32px; }

.gw-pf .gw-pf__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; }
.gw-pf .gw-pf__tags, .gw-pf .gw-pf__share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gw-pf .gw-pf__share { margin-left: auto; }
.gw-pf .gw-pf__row-label { margin-right: 4px; font-size: 14px; line-height: 1.4; font-weight: 600; color: #6b6b6b; }
.gw-pf .gw-pf__tag { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid #DDDDDD; border-radius: 999px; background: #FFFFFF; color: #424242; font-size: 14px; font-weight: 500; line-height: 1.4; }

.gw-pf .gw-pf__author { display: flex; flex-wrap: wrap; gap: 20px 24px; padding: 28px; border: 1px solid #DDDDDD; border-radius: 20px; background: rgba(240,240,240,0.5); }
.gw-pf .gw-pf__avatar { width: 72px; height: 72px; flex: none; display: block; }
.gw-pf .gw-pf__author-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.gw-pf .gw-pf__author-label { margin: 0; font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6b6b6b; }
.gw-pf .gw-pf__author-name { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 700; color: #424242; }
.gw-pf .gw-pf__author-bio { margin: 0; font-size: 16px; line-height: 1.6; color: #5a5a5a; }

/* =========================================================================
   Related posts  .gw-pr
   ========================================================================= */
.gw-pr { padding: 56px 24px; background: rgba(240,240,240,0.5); }
.gw-pr .gw-pr__inner { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.gw-pr .gw-pr__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.gw-pr .gw-pr__title { margin: 0; font-family: inherit; font-size: 36px; line-height: 1.2; font-weight: 700; text-transform: none; color: #424242; }
.gw-pr .gw-pr__em { color: #6e5092; }
.gw-pr .gw-pr__all { font-size: 16px; line-height: 1.4; font-weight: 600; color: #6e5092; text-decoration: none; transition: color .2s; }
.gw-pr .gw-pr__all:hover { color: #424242; }

.gw-pr .gw-pr__grid { display: flex; flex-wrap: wrap; gap: 24px; }
.gw-pr .gw-pr__side { flex: 2 1 340px; display: flex; flex-direction: column; gap: 24px; }
.gw-pr .gw-pr__card { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid #DDDDDD; border-radius: 20px; overflow: hidden; color: #424242; text-decoration: none; transition: border-color .2s; }
.gw-pr .gw-pr__card:hover { border-color: #424242; color: #424242; }
.gw-pr .gw-pr__card--featured { flex: 3 1 520px; }
.gw-pr .gw-pr__card--small { flex: 1 1 auto; justify-content: center; gap: 10px; padding: 28px; }
.gw-pr .gw-pr__media { aspect-ratio: 1200 / 630; background: #f1edf6; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gw-pr .gw-pr__img { display: block; width: 100% !important; max-width: 100% !important; height: 100% !important; object-fit: cover; margin: 0; border-radius: 0; }
.gw-pr .gw-pr__placeholder { width: 56px; height: 56px; fill: none; stroke: #6e5092; stroke-width: 1.2; }
.gw-pr .gw-pr__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 28px 28px; }
.gw-pr .gw-pr__meta { font-size: 13px; line-height: 1.4; font-weight: 600; color: #6e5092; }
.gw-pr .gw-pr__card-title { margin: 0; font-family: inherit; font-size: 20px; line-height: 1.3; font-weight: 700; text-transform: none; color: #424242; }
.gw-pr .gw-pr__card--featured .gw-pr__card-title { font-size: 26px; line-height: 1.25; }
.gw-pr .gw-pr__excerpt { margin: 0; font-size: 15px; line-height: 1.6; color: #5a5a5a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gw-pr .gw-pr__card--featured .gw-pr__excerpt { font-size: 16px; }
.gw-pr .gw-pr__card--small .gw-pr__excerpt { -webkit-line-clamp: 4; }

/* =========================================================================
   CTA  .gw-pc
   ========================================================================= */
.gw-pc { padding: 56px 24px; background: #FFFFFF; }
.gw-pc .gw-pc__card { position: relative; max-width: 1240px; margin: 0 auto; padding: 56px 32px; border-radius: 24px; background: #6e5092; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.gw-pc .gw-pc__comb { position: absolute; width: 420px; height: 300px; fill: none; stroke: #FFFFFF; stroke-width: 2; opacity: 0.14; pointer-events: none; }
.gw-pc .gw-pc__comb--tr { right: -60px; top: -40px; }
.gw-pc .gw-pc__comb--bl { left: -80px; bottom: -110px; }
.gw-pc .gw-pc__title { position: relative; margin: 0; max-width: 760px; font-family: inherit; font-size: 36px; line-height: 1.2; font-weight: 700; text-transform: none; color: #FFFFFF; }
.gw-pc .gw-pc__text { position: relative; margin: 0; max-width: 620px; font-size: 18px; line-height: 1.6; color: #f1edf6; }
.gw-pc .gw-pc__actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.gw-pc .gw-pc__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 1px solid #FFFFFF; border-radius: 10px; background: #FFFFFF; color: #6e5092; font-size: 16px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.gw-pc .gw-pc__btn:hover { background: #424242; border-color: #424242; color: #FFFFFF; }
.gw-pc .gw-pc__btn:focus-visible { outline-color: #FFFFFF !important; }

/* =========================================================================
   Tablet: rail moves above the content, ToC becomes a collapsible box
   ========================================================================= */
@media (max-width: 1023px) {
  .gw-pb .gw-pb__inner { flex-direction: column; align-items: stretch; gap: 32px; }
  .gw-pb .gw-pb__rail, .gw-pb .gw-pb__content { flex: none; width: 100%; max-width: 760px; margin: 0 auto; }
  .gw-pb .gw-pb__rail-sticky { position: static; max-height: none; overflow: visible; }
  .gw-pb .gw-pb__share { display: none; } /* share lives in the post footer on smaller screens */

  .gw-pb .gw-pb__toc { border: 1px solid #DDDDDD; border-radius: 16px; background: #FFFFFF; }
  .gw-pb .gw-pb__toc[open] { padding-bottom: 8px; }
  .gw-pb .gw-pb__toc-summary { min-height: 56px; margin: 0; padding: 0 20px; cursor: pointer; }
  .gw-pb .gw-pb__toc-chevron { display: block; }
  .gw-pb .gw-pb__toc[open] .gw-pb__toc-chevron { transform: rotate(180deg); }
  .gw-pb .gw-pb__toc-list { padding: 0 8px 4px; }

  .gw-pf .gw-pf__spacer { display: none; }
  .gw-pf .gw-pf__col { margin: 0 auto; }
}

/* =========================================================================
   Mobile
   ========================================================================= */
@media (max-width: 760px) {
  .gw-ph { padding: 40px 20px 32px; }
  .gw-ph .gw-ph__inner { gap: 16px; }
  .gw-ph .gw-ph__excerpt { font-size: 18px; }
  .gw-ph .gw-ph__meta { flex-direction: column; gap: 8px; }
  .gw-ph .gw-ph__dot--lead { display: none; }

  .gw-pi { padding: 0 20px; }
  .gw-pi .gw-pi__img { border-radius: 16px; }

  .gw-pb { padding: 40px 20px; }
  .gw-pb .gw-pb__content, .gw-pb .gw-pb__content p, .gw-pb .gw-pb__content li { font-size: 17px; }
  .gw-pb .gw-pb__content h2 { margin-top: 40px; font-size: 30px; }
  .gw-pb .gw-pb__content h3 { font-size: 22px; }
  .gw-pb .gw-pb__content .alignleft, .gw-pb .gw-pb__content .alignright { float: none; max-width: 100%; margin: 24px 0; }

  /* Tables with a header row → one stacked block per row */
  .gw-pb .gw-pb__content table.gw-pb__table--stack,
  .gw-pb .gw-pb__content table.gw-pb__table--stack tbody,
  .gw-pb .gw-pb__content table.gw-pb__table--stack tr,
  .gw-pb .gw-pb__content table.gw-pb__table--stack td { display: block; width: 100%; }
  .gw-pb .gw-pb__content table.gw-pb__table--stack { border: 0; border-radius: 0; overflow: visible; background: transparent; }
  .gw-pb .gw-pb__content table.gw-pb__table--stack thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
  .gw-pb .gw-pb__content table.gw-pb__table--stack tr { margin: 0 0 12px; border: 1px solid #DDDDDD; border-radius: 16px; overflow: hidden; background: #FFFFFF; }
  .gw-pb .gw-pb__content table.gw-pb__table--stack td { padding: 12px 16px; border-bottom: 1px solid #DDDDDD; }
  .gw-pb .gw-pb__content table.gw-pb__table--stack td:last-child { border-bottom: 0; }
  .gw-pb .gw-pb__content table.gw-pb__table--stack td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 13px; line-height: 1.4; font-weight: 700; color: #6b6b6b; }

  .gw-pf { padding: 0 20px 40px; }
  .gw-pf .gw-pf__share { margin-left: 0; }
  .gw-pf .gw-pf__author { padding: 24px; }
  .gw-pf .gw-pf__avatar { width: 56px; height: 56px; }

  .gw-pr { padding: 40px 20px; }
  .gw-pr .gw-pr__title { font-size: 30px; }
  .gw-pr .gw-pr__card--featured, .gw-pr .gw-pr__side { flex-basis: 100%; }
  .gw-pr .gw-pr__body, .gw-pr .gw-pr__card--small { padding: 22px; }
  .gw-pr .gw-pr__card--featured .gw-pr__card-title { font-size: 22px; }

  .gw-pc { padding: 40px 20px; }
  .gw-pc .gw-pc__card { padding: 44px 22px; border-radius: 20px; }
  .gw-pc .gw-pc__title { font-size: 30px; }
  .gw-pc .gw-pc__actions { align-self: stretch; }
  .gw-pc .gw-pc__btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .gw-ph *, .gw-pb *, .gw-pf *, .gw-pr *, .gw-pc * { transition: none !important; }
}