/*
Theme Name: GoSSDHosting
Theme URI: https://www.gossdhosting.com/blog/
Author: GoSSDHosting
Author URI: https://www.gossdhosting.com/
Description: Blog theme matching the 2026 gossdhosting.com design — navy + neutral with a green accent, Plus Jakarta Sans headings, Inter body text and the "Flash Forward" logo. Blog home with featured post, category chips and search; single posts with sticky table of contents, reading progress, share buttons, author box and related posts.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 7.1
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: gossdhosting
*/

/* ============================================================ tokens */
:root {
	--navy: #1A3146;
	--navy-deep: #0F1E2E;
	--green: #12B179;
	--green-hover: #0E9466;
	--mint: #1FCB94;
	--link: #0E8F62;
	--ink: #0F1E2E;
	--body: #4B5868;
	--muted: #8792A2;
	--line: #E6EAF0;
	--surface: #F5F7FA;
	--grad: linear-gradient(120deg, #12B179 0%, #10A571 100%);
	--navy-grad: linear-gradient(135deg, #1A3146 0%, #2E5E8C 100%);
	--soft: linear-gradient(135deg, rgba(26, 49, 70, .07), rgba(26, 49, 70, .03));
	--r: 20px;
	--r-sm: 14px;
	--pill: 999px;
	--sh-sm: 0 2px 8px rgba(15, 30, 46, .05);
	--sh: 0 10px 30px rgba(15, 30, 46, .08);
	--sh-lg: 0 30px 60px -12px rgba(15, 30, 46, .16);
	--font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--display: 'Plus Jakarta Sans', var(--font);
	--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ============================================================ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.7; color: var(--body); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { color: #0B7350; text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; font-family: var(--display); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; color: var(--ink); }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid rgba(18, 177, 121, .45); outline-offset: 2px; border-radius: 6px; }
.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; }
.g-skip { position: absolute; left: 1rem; top: -100px; z-index: 100; padding: .6rem 1rem; color: #fff; background: var(--navy-deep); border-radius: 10px; }
.g-skip:focus { top: 1rem; }

.g-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.g-narrow { max-width: 820px; }
.g-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.g-section-title { margin: 0 0 1.5rem; font-size: clamp(1.4rem, 2.4vw, 1.75rem); }

/* ============================================================ buttons, pills */
.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .72rem 1.5rem; font: 600 .92rem/1.2 var(--font); color: var(--ink); background: #fff; border: 2px solid transparent; border-radius: var(--pill); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.g-btn:hover { text-decoration: none; transform: translateY(-2px); }
.g-btn-primary { color: #fff; background: var(--grad); box-shadow: 0 8px 20px rgba(15, 30, 46, .18); }
.g-btn-primary:hover { color: #fff; box-shadow: 0 14px 28px rgba(15, 30, 46, .24); }
.g-btn-ghost { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .7); }
.g-btn-ghost:hover { color: var(--navy-deep); background: #fff; }
.g-btn-ghost-dark { color: var(--ink); background: transparent; border-color: var(--ink); }
.g-btn-ghost-dark:hover { color: #fff; background: var(--ink); }
.g-btn-sm { padding: .5rem 1.15rem; font-size: .86rem; }

.g-eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.1rem; padding: .4rem 1rem .4rem .8rem; font-size: .82rem; font-weight: 600; color: var(--ink); background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: var(--pill); box-shadow: var(--sh-sm); backdrop-filter: blur(10px); }
.g-eyebrow-dark { color: #E2E9F0; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); box-shadow: none; }
.g-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: gPing 2s ease-out infinite; }
@keyframes gPing { 0% { box-shadow: 0 0 0 0 rgba(18, 177, 121, .55); } 70% { box-shadow: 0 0 0 9px rgba(18, 177, 121, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 177, 121, 0); } }

.g-cat { display: inline-block; margin-bottom: .7rem; padding: .22rem .75rem; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); background: rgba(26, 49, 70, .07); border-radius: var(--pill); }
.g-cat:hover { color: #fff; text-decoration: none; background: var(--navy); }

/* ============================================================ header */
.g-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85); border-bottom: 1px solid var(--line); backdrop-filter: saturate(180%) blur(14px); }
.admin-bar .g-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .g-nav { top: 46px; } }
.g-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.g-brand { display: flex; align-items: center; gap: .75rem; }
.g-logo img { display: block; height: 32px; width: auto; }
.g-blog-tag { padding: .2rem .7rem; font-size: .78rem; font-weight: 700; color: var(--navy); background: var(--surface); border: 1px solid var(--line); border-radius: var(--pill); }
.g-blog-tag:hover { text-decoration: none; color: #fff; background: var(--navy); }
.g-menu { display: flex; align-items: center; gap: 1rem; }
.g-menu-list { display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.g-menu-list a { display: block; padding: .5rem .8rem; font-size: .93rem; font-weight: 600; color: var(--ink); border-radius: 9px; }
.g-menu-list a:hover { text-decoration: none; color: var(--navy); background: rgba(26, 49, 70, .07); }
.g-menu-list .current-menu-item > a, .g-menu-list .current_page_parent > a { color: var(--navy); background: rgba(26, 49, 70, .07); }
.g-burger { display: none; width: 44px; height: 44px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.g-burger span { display: block; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
@media (max-width: 991.98px) {
	.g-burger { display: block; }
	.g-menu { position: fixed; inset: 0 0 0 auto; z-index: 60; flex-direction: column; align-items: stretch; width: min(320px, 84vw); padding: 5rem 1.25rem 1.5rem; background: #fff; box-shadow: -12px 0 40px rgba(15, 30, 46, .18); transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
	.g-menu.is-open { transform: none; visibility: visible; transition-delay: 0s; }
	.g-menu-list { flex-direction: column; align-items: stretch; }
	.g-menu-list a { padding: .85rem .5rem; border-bottom: 1px solid var(--surface); border-radius: 0; }
	.g-burger[aria-expanded="true"] { position: relative; z-index: 70; }
	.g-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.g-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.g-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 420px) { .g-logo img { height: 26px; } }

/* reading progress (single posts) */
.g-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: 3px; pointer-events: none; }
.admin-bar .g-progress { top: 32px; }
.g-progress span { display: block; width: 0; height: 100%; background: var(--grad); }

/* ============================================================ hero */
.g-hero { position: relative; overflow: hidden; padding: 4.5rem 0 3.5rem; text-align: center; background: radial-gradient(900px 500px at 12% -10%, rgba(46, 94, 140, .12), transparent 60%), radial-gradient(800px 500px at 95% 10%, rgba(46, 94, 140, .1), transparent 55%), linear-gradient(180deg, #F8FAFC 0%, #F1F4F8 100%); }
.g-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(46, 94, 140, .2) 1.4px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(120% 90% at 50% 10%, #000 30%, transparent 78%); mask-image: radial-gradient(120% 90% at 50% 10%, #000 30%, transparent 78%); pointer-events: none; }
.g-hero-inner { position: relative; max-width: 860px; }
.g-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; }
.g-hero-sm { padding: 3.5rem 0 2.5rem; }
.g-lead { max-width: 640px; margin: 0 auto 1.75rem; font-size: 1.12rem; }
.g-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }

.g-search { display: flex; align-items: center; gap: .5rem; max-width: 620px; margin: 0 auto; padding: .35rem .35rem .35rem 1.15rem; background: #fff; border: 1px solid var(--line); border-radius: var(--pill); box-shadow: var(--sh); }
.g-search:focus-within { border-color: rgba(26, 49, 70, .35); box-shadow: 0 0 0 4px rgba(26, 49, 70, .08), var(--sh); }
.g-search > i { color: var(--muted); }
.g-search input { flex: 1; min-width: 0; padding: .55rem .25rem; font: 1rem var(--font); color: var(--ink); background: transparent; border: 0; outline: 0; }
.g-search .g-btn { flex: none; }

.g-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.g-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1rem; font-size: .88rem; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--pill); }
.g-chip span { font-size: .75rem; color: var(--muted); }
.g-chip:hover { text-decoration: none; border-color: rgba(26, 49, 70, .35); }
.g-chip.is-active { color: #fff; background: var(--navy-deep); border-color: var(--navy-deep); }
.g-chip.is-active span { color: rgba(255, 255, 255, .7); }

/* ============================================================ cards */
.g-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 991.98px) { .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .g-grid { grid-template-columns: 1fr; } }
.g-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease; }
.g-card:hover { transform: translateY(-6px); border-color: rgba(26, 49, 70, .2); box-shadow: var(--sh-lg); }
.g-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); }
.g-card-media .g-thumb-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-card:hover .g-thumb-img { transform: scale(1.04); }
.g-thumb-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; height: 100%; color: rgba(255, 255, 255, .8); font: 700 .85rem var(--display); letter-spacing: .04em; background: radial-gradient(400px 220px at 100% 0%, rgba(46, 94, 140, .55), transparent 60%), var(--navy-deep); }
.g-thumb-mark { width: 64px; height: 64px; }
.g-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.5rem; }
.g-card-body .g-cat { align-self: flex-start; }
.g-card-title { margin: 0 0 .6rem; font-size: 1.12rem; line-height: 1.35; }
.g-card-title a { color: var(--ink); }
.g-card-title a:hover { color: var(--navy); text-decoration: none; }
.g-card-title a::after { content: ""; position: absolute; inset: 0; }   /* whole card clickable */
.g-card { position: relative; }
.g-card .g-cat { position: relative; z-index: 1; }
.g-card-excerpt { margin: 0 0 1rem; font-size: .93rem; }
.g-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: auto 0 0; font-size: .82rem; color: var(--muted); }

.g-card-featured { display: grid; grid-template-columns: 1.15fr 1fr; margin-bottom: 3rem; }
.g-card-featured .g-card-media { aspect-ratio: auto; min-height: 320px; }
.g-card-featured .g-card-body { justify-content: center; padding: 2.25rem 2.5rem; }
.g-card-title-lg { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; }
.g-card-featured .g-card-excerpt { font-size: 1rem; }
@media (max-width: 820px) {
	.g-card-featured { grid-template-columns: 1fr; }
	.g-card-featured .g-card-media { min-height: 0; aspect-ratio: 16 / 9; }
	.g-card-featured .g-card-body { padding: 1.5rem; }
}

/* pagination */
.g-pagination { margin-top: 3rem; }
.g-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.g-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 .9rem; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--pill); }
.g-pagination a.page-numbers:hover { text-decoration: none; border-color: rgba(26, 49, 70, .35); }
.g-pagination .page-numbers.current { color: #fff; background: var(--navy-deep); border-color: var(--navy-deep); }
.g-pagination .dots { border: 0; background: none; }

.g-empty { padding: 3rem 1.5rem; text-align: center; background: var(--surface); border-radius: var(--r); }

/* ============================================================ CTA banner */
.g-cta { position: relative; overflow: hidden; margin-top: 4rem; padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 4rem); text-align: center; color: rgba(255, 255, 255, .75); background: radial-gradient(700px 300px at 10% 0%, rgba(46, 94, 140, .45), transparent 60%), radial-gradient(600px 300px at 100% 100%, rgba(18, 177, 121, .14), transparent 60%), var(--navy-deep); border-radius: 32px; box-shadow: 0 30px 60px -20px rgba(15, 30, 46, .45); }
.g-cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.g-cta > :not(.g-cta-mark) { position: relative; z-index: 1; }
.g-cta h2 { color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.g-cta p { max-width: 560px; margin-left: auto; margin-right: auto; }
.g-cta-mark { position: absolute; top: 50%; right: -60px; width: 300px; height: 300px; opacity: .2; transform: translateY(-50%) rotate(-8deg); }
.g-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }

/* ============================================================ single post */
.g-post-head { padding: 3rem 0 2rem; background: linear-gradient(180deg, #F8FAFC 0%, #fff 100%); }
.g-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.25rem; font-size: .85rem; }
.g-crumbs a { color: var(--body); }
.g-crumbs i { font-size: .6rem; color: var(--muted); }
.g-post-title { margin-bottom: 1.1rem; font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.g-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); }
.g-post-author a { font-weight: 600; color: var(--ink); }
.g-avatar { border-radius: 50%; }
.g-feature-img { margin: 0 auto 2.5rem; }
.g-feature-img img { display: block; width: 100%; max-height: 560px; object-fit: cover; border-radius: 24px; box-shadow: var(--sh-lg); }

.g-post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3.5rem; align-items: start; }
@media (max-width: 1023.98px) { .g-post-layout { grid-template-columns: minmax(0, 1fr); } .g-post-aside { order: -1; } }
.g-post-body { max-width: 760px; }
.g-post-aside { position: sticky; top: 96px; display: grid; gap: 1.25rem; }
@media (max-width: 1023.98px) { .g-post-aside { position: static; } .g-aside-cta, .g-aside-widgets { display: none; } }

.g-toc { padding: 1.25rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); }
.g-toc-title { margin: 0 0 .5rem .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.g-toc ol { margin: 0; padding: 0; list-style: none; max-height: 55vh; overflow-y: auto; }
.g-toc a { display: block; padding: .4rem .6rem; font-size: .86rem; line-height: 1.4; color: var(--body); border-left: 2px solid transparent; border-radius: 0 8px 8px 0; }
.g-toc a:hover { text-decoration: none; color: var(--ink); background: var(--surface); }
.g-toc a.is-active { font-weight: 700; color: var(--ink); background: var(--surface); border-left-color: var(--green); }
.g-toc .g-toc-sub a { padding-left: 1.4rem; font-size: .82rem; }

.g-aside-cta { position: relative; overflow: hidden; padding: 1.5rem; color: rgba(255, 255, 255, .75); background: var(--navy-deep); border-radius: var(--r); }
.g-aside-cta > :not(.g-aside-mark) { position: relative; }
.g-aside-mark { position: absolute; right: -20px; bottom: -20px; width: 120px; height: 120px; opacity: .25; }
.g-aside-title { margin: 0 0 .35rem; font: 700 1.1rem var(--display); color: #fff; }
.g-aside-cta p { font-size: .9rem; }

.g-widget { padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.g-widget-title { font-size: 1rem; }

/* article typography */
.g-prose { font-size: 1.075rem; line-height: 1.8; color: #39465A; }
.g-prose > * + * { margin-top: 1.25em; }
.g-prose p { margin: 0; }
.g-prose h2 { margin: 2.2em 0 .6em; font-size: clamp(1.45rem, 2.6vw, 1.85rem); scroll-margin-top: 100px; }
.g-prose h3 { margin: 1.8em 0 .5em; font-size: 1.3rem; scroll-margin-top: 100px; }
.g-prose h4 { margin: 1.6em 0 .4em; font-size: 1.1rem; }
.g-prose a { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(14, 143, 98, .35); text-underline-offset: 3px; }
.g-prose a:hover { text-decoration-color: currentColor; }
.g-prose ul, .g-prose ol { padding-left: 1.4em; }
.g-prose li + li { margin-top: .4em; }
.g-prose li::marker { color: var(--green); }
.g-prose strong { color: var(--ink); }
.g-prose img, .g-prose figure img { border-radius: var(--r-sm); }
.g-prose figure { margin-left: 0; margin-right: 0; }
.g-prose figcaption, .g-prose .wp-element-caption { margin-top: .5rem; font-size: .86rem; text-align: center; color: var(--muted); }
.g-prose blockquote { margin-left: 0; padding: 1.1rem 1.5rem; font-size: 1.1rem; color: var(--ink); background: var(--surface); border-left: 4px solid var(--green); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.g-prose blockquote p:last-child { margin-bottom: 0; }
.g-prose code { padding: .15em .4em; font-family: var(--mono); font-size: .88em; color: var(--navy); background: var(--surface); border-radius: 6px; }
.g-prose pre { position: relative; overflow-x: auto; padding: 1.2rem 1.35rem; font-size: .9rem; line-height: 1.65; color: #D5DEE8; background: var(--navy-deep); border-radius: var(--r-sm); }
.g-prose pre code { padding: 0; color: inherit; background: none; }
.g-copy-code { position: absolute; top: .6rem; right: .6rem; padding: .3rem .7rem; font: 600 .75rem var(--font); color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; cursor: pointer; }
.g-copy-code:hover { background: rgba(255, 255, 255, .2); }
.g-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.g-prose .wp-block-table { overflow-x: auto; }
.g-prose th, .g-prose td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--line); }
.g-prose th { font-weight: 700; color: var(--ink); background: var(--surface); }
.g-prose hr { height: 1px; margin: 2.5em 0; background: var(--line); border: 0; }
.g-prose iframe, .g-prose .wp-block-embed iframe { width: 100%; border-radius: var(--r-sm); }
.g-prose .wp-block-embed__wrapper { position: relative; }
.g-prose .alignwide { margin-left: -4%; margin-right: -4%; max-width: 108%; }
.g-prose .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.g-prose .alignright { float: right; margin: .3em 0 1em 1.5em; }
.g-prose .aligncenter { margin-left: auto; margin-right: auto; }
.g-prose .wp-block-button__link { padding: .7rem 1.4rem; font-weight: 600; color: #fff; text-decoration: none; background: var(--grad); border-radius: var(--pill); }

.g-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: 2.5rem; }
.g-tags span { margin-right: .3rem; font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.g-tags a { padding: .3rem .8rem; font-size: .84rem; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--pill); }
.g-tags a:hover { text-decoration: none; border-color: rgba(26, 49, 70, .35); }

.g-share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.g-share > span { margin-right: .5rem; font-size: .9rem; font-weight: 700; color: var(--ink); }
.g-share a, .g-share button { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; font-size: 1rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; transition: background .2s ease, color .2s ease; }
.g-share a:hover, .g-share button:hover, .g-share button.is-copied { text-decoration: none; color: #fff; background: var(--navy-deep); }

.g-below-post { margin-top: 2rem; }
.g-author { display: flex; gap: 1.25rem; margin-top: 2.5rem; padding: 1.5rem; background: var(--surface); border-radius: var(--r); }
.g-author-label { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.g-author-name { margin: .1rem 0 .4rem; font-size: 1.15rem; }
.g-author p:last-child { margin: 0; font-size: .95rem; }
/* no border here: the share bar above already draws the divider, and a full-container
   border here started 20px further left than the article column */
.g-related { padding-top: 1rem; }

/* comments */
.g-comments { margin-bottom: 1rem; }
.g-comment-list { margin: 0 0 2.5rem; padding: 0; list-style: none; }
.g-comment-list .comment { margin-top: 1rem; padding: 1.25rem; background: var(--surface); border-radius: var(--r-sm); }
.g-comment-list .children { margin: 0; padding-left: 1.5rem; list-style: none; }
.g-comment-list .comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .85rem; }
.g-comment-list .avatar { border-radius: 50%; }
.g-comment-list .fn { font-weight: 700; font-style: normal; color: var(--ink); }
.g-comment-form { display: grid; gap: 1rem; }
.g-comment-form label { display: block; margin-bottom: .3rem; font-size: .88rem; font-weight: 600; color: var(--ink); }
.g-comment-form input[type="text"], .g-comment-form input[type="email"], .g-comment-form input[type="url"], .g-comment-form textarea { width: 100%; padding: .75rem 1rem; font: 1rem var(--font); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.g-comment-form input:focus, .g-comment-form textarea:focus { outline: 0; border-color: rgba(26, 49, 70, .4); box-shadow: 0 0 0 4px rgba(26, 49, 70, .08); }
.g-comment-form .form-submit { margin: 0; }

/* ============================================================ footer */
.g-footer { position: relative; margin-top: 4rem; padding: 3.5rem 0 2rem; color: rgba(255, 255, 255, .6); background: radial-gradient(900px circle at 15% 0%, rgba(46, 94, 140, .3), transparent 55%), var(--navy-deep); }
.g-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.g-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
@media (max-width: 991.98px) { .g-footer-grid { grid-template-columns: repeat(2, 1fr); } .g-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .g-footer-grid { grid-template-columns: 1fr; } }
.g-footer-brand img { height: 32px; width: auto; margin-bottom: 1rem; }
.g-footer-brand p { font-size: .9rem; }
.g-footer-title { margin-bottom: 1rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.g-footer ul { margin: 0; padding: 0; list-style: none; }
.g-footer li { margin-bottom: .5rem; font-size: .9rem; }
.g-footer a { color: rgba(255, 255, 255, .65); }
.g-footer a:hover { color: #fff; text-decoration: none; }
.g-footer-contact i { width: 1.2rem; margin-right: .5rem; color: var(--mint); }
.g-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.g-footer-bottom p { margin: 0; }
.g-social { display: flex; gap: .5rem; }
.g-social li { margin: 0; }
.g-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: rgba(255, 255, 255, .08); border-radius: 50%; }
.g-social a:hover { background: var(--green); }

/* ============================================================ motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ============================================================ widgets + long-word safety */
/* grid items default to min-width:auto, so a wide widget (e.g. block search) could push the
   300px sidebar past the container — let the column shrink instead */
.g-post-layout > * { min-width: 0; }
.g-widget { overflow-wrap: anywhere; }
.g-widget ul { margin: 0; padding: 0; list-style: none; }
.g-widget li { padding: .45rem 0; font-size: .92rem; border-bottom: 1px dashed var(--line); }
.g-widget li:last-child { border-bottom: 0; }
.g-widget li a { color: var(--ink); font-weight: 500; }
.g-widget .wp-block-heading, .g-widget h2 { margin-bottom: .6rem; font-size: 1rem; }
.g-widget .wp-block-group + .wp-block-group { margin-top: 1rem; }
.g-widget .wp-block-search__inside-wrapper { display: flex; gap: .4rem; min-width: 0; }
.g-widget .wp-block-search__input { flex: 1; min-width: 0; padding: .55rem .8rem; font: .92rem var(--font); border: 1px solid var(--line); border-radius: var(--pill); }
.g-widget .wp-block-search__button { padding: .55rem 1rem; font: 600 .86rem var(--font); color: #fff; background: var(--navy-deep); border: 0; border-radius: var(--pill); cursor: pointer; }
.g-widget .wp-block-search__label { display: block; margin-bottom: .4rem; font-weight: 700; color: var(--ink); }
.g-aside-widgets { display: grid; gap: 1.25rem; }

/* long URLs / unbroken words never overflow their box */
.g-prose, .g-card-title, .g-card-excerpt, .g-post-title { overflow-wrap: anywhere; }

/* single post header shares the 1200px container with the featured image and article;
   only the title's line length is capped so it stays readable */
.g-post-head .g-post-title { max-width: 920px; }
