/*
Theme Name: Techsslaash
Theme URI: https://intechsslaash.com/
Author: Techsslaash
Description: Modern dark technology WordPress theme based on the supplied Techsslaash design.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: techsslaash
*/

:root {
    --ts-bg: #030615;
    --ts-bg-2: #05091c;
    --ts-panel: #070d27;
    --ts-panel-2: #09102e;
    --ts-white: #f7f8ff;
    --ts-text: #d7dbea;
    --ts-muted: #9da6bd;
    --ts-blue: #2167ff;
    --ts-blue-2: #3157ff;
    --ts-cyan: #20d7f2;
    --ts-border: rgba(39, 111, 235, .48);
    --ts-border-soft: rgba(83, 111, 176, .26);
    --ts-radius: 17px;
    --ts-container: 1320px;
    --ts-transition: 220ms ease;
}

/* ---------------- Reset ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 86% 5%, rgba(35, 69, 255, .17), transparent 26%),
        radial-gradient(circle at 5% 92%, rgba(0, 149, 255, .10), transparent 22%),
        var(--ts-bg);
    color: var(--ts-white);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body, button, input, textarea, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }
a, button, input { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font-size: inherit; }
button { cursor: pointer; }
::selection { background: rgba(38, 112, 255, .35); color: #fff; }

/* WordPress helpers */
.alignwide { max-width: 1320px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; max-width: none; }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--ts-muted); font-size: 14px; }
.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;
}
.skip-link:focus {
    position: fixed !important; top: 10px; left: 10px; width: auto; height: auto;
    padding: 10px 15px; z-index: 9999; clip: auto; background: #fff; color: #000;
}

.container {
    width: min(var(--ts-container), calc(100% - 48px));
    margin-inline: auto;
}

/* ---------------- Header ---------------- */
.site-header {
    position: relative;
    z-index: 100;
    min-height: 92px;
    border-bottom: 1px solid rgba(80, 113, 190, .09);
    background: rgba(3, 6, 21, .82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    font-size: 27px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.8px;
}
.brand-mark { width: 48px; height: 48px; flex: 0 0 48px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { white-space: nowrap; }

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}
.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 44px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.primary-nav li { margin: 0; padding: 0; }
.primary-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 92px;
    padding: 3px 0 0;
    color: #b7bdcf;
    font-size: 16px;
    font-weight: 600;
    transition: color var(--ts-transition);
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: var(--ts-cyan); }
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after,
.primary-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, var(--ts-blue), var(--ts-cyan));
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 48px;
    padding: 12px 26px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(100deg, #1e61f4 0%, #25d5e9 100%);
    color: #fff;
    font-weight: 800;
    line-height: 1.1;
    box-shadow: 0 10px 28px rgba(24, 100, 255, .20);
    transition: transform var(--ts-transition), filter var(--ts-transition), box-shadow var(--ts-transition);
}
.header-cta:hover,
.button:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 15px 35px rgba(24, 100, 255, .28);
}
.arrow { font-size: 23px; line-height: 1; }
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 1px solid var(--ts-border-soft);
    border-radius: 11px;
    background: rgba(8, 14, 39, .75);
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: #fff;
}

/* ---------------- Hero ---------------- */
.hero { padding: 8px 0 20px; }
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
    align-items: center;
    gap: 46px;
    min-height: 545px;
}
.hero-copy { padding: 25px 0 25px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 17px;
    border: 1px solid #146fc7;
    border-radius: 999px;
    background: rgba(9, 32, 78, .28);
    color: #8bc4e9;
    font-size: 15px;
    font-weight: 700;
}
.eyebrow-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: #208aff;
    box-shadow: 0 0 15px rgba(32, 138, 255, .9);
}
.hero h1 {
    margin: 27px 0 22px;
    max-width: 720px;
    font-size: clamp(52px, 5.25vw, 84px);
    line-height: .99;
    letter-spacing: -3.7px;
    font-weight: 850;
}
.hero h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(90deg, #2768ff 4%, #22cbe9 90%);
    -webkit-background-clip: text;
    background-clip: text;
}
.hero p {
    max-width: 610px;
    margin: 0 0 29px;
    color: #aeb5c8;
    font-size: 18px;
    line-height: 1.72;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 48px;
    padding: 12px 27px;
    border: 1px solid #1a76bd;
    border-radius: 13px;
    background: rgba(3, 9, 29, .48);
    color: #f5f7ff;
    font-weight: 800;
    transition: background var(--ts-transition), transform var(--ts-transition), border-color var(--ts-transition);
}
.button-outline:hover { transform: translateY(-2px); border-color: #25bfe9; background: rgba(17, 64, 126, .18); }

/* CSS illustration */
.hero-art {
    position: relative;
    min-height: 525px;
    overflow: hidden;
    border: 1px solid rgba(45, 110, 217, .45);
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 183, 255, .16), transparent 25%),
        linear-gradient(145deg, #05091d 0%, #07112d 58%, #04081c 100%);
    box-shadow: inset 0 0 80px rgba(13, 78, 189, .10), 0 18px 55px rgba(0, 0, 0, .22);
}
.hero-art::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .75;
    background-image:
        linear-gradient(rgba(44, 126, 255, .065) 1px, transparent 1px),
        linear-gradient(90deg, rgba(44, 126, 255, .065) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.tech-orbit {
    position: absolute;
    inset: 13% 12%;
    border: 1px solid rgba(41, 135, 255, .22);
    border-radius: 30px;
    transform: rotate(-5deg);
    box-shadow: 0 0 65px rgba(0, 145, 255, .10);
}
.chip {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 53%;
    display: grid;
    place-items: center;
    width: 220px;
    height: 150px;
    transform: translate(-50%, -50%);
    border: 2px solid #1fc0ff;
    border-radius: 24px;
    background: linear-gradient(145deg, #102e63, #071329);
    color: #7be9ff;
    font-size: 56px;
    font-weight: 900;
    box-shadow: 0 0 35px rgba(20, 188, 255, .62), inset 0 0 30px rgba(32, 144, 255, .24);
}
.chip::before,
.chip::after { content: ""; position: absolute; border: 1px solid rgba(34, 192, 255, .7); }
.chip::before { inset: -18px; border-radius: 28px; }
.chip::after { inset: -35px; border-color: rgba(34, 113, 255, .22); border-radius: 34px; }
.tech-node {
    position: absolute;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 72px;
    height: 58px;
    border: 1px solid #1f92e9;
    border-radius: 15px;
    background: rgba(7, 21, 46, .92);
    color: #5fe8ff;
    font-size: 27px;
    font-weight: 900;
    box-shadow: 0 0 26px rgba(0, 147, 255, .33);
}
.node-laptop { left: 10%; top: 25%; transform: rotate(-12deg); }
.node-cloud { right: 14%; top: 15%; }
.node-phone { right: 8%; bottom: 27%; }
.node-box { left: 13%; bottom: 16%; }
.tech-line {
    position: absolute;
    z-index: 2;
    height: 1px;
    background: linear-gradient(90deg, transparent, #1ccaff, transparent);
    transform-origin: left center;
    opacity: .8;
}
.line1 { width: 35%; left: 23%; top: 36%; transform: rotate(18deg); }
.line2 { width: 30%; right: 20%; top: 33%; transform: rotate(-20deg); }
.line3 { width: 30%; left: 22%; bottom: 32%; transform: rotate(-18deg); }
.line4 { width: 26%; right: 21%; bottom: 32%; transform: rotate(20deg); }

/* ---------------- Services ---------------- */
.services { padding: 0 0 74px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.service-card,
.post-card {
    overflow: hidden;
    border: 1px solid var(--ts-border);
    border-radius: var(--ts-radius);
    background: linear-gradient(145deg, rgba(8, 16, 45, .97), rgba(5, 9, 28, .98));
    box-shadow: 0 16px 46px rgba(0, 0, 0, .18);
}
.service-card {
    min-height: 264px;
    padding: 24px 25px 23px;
    transition: transform var(--ts-transition), border-color var(--ts-transition), box-shadow var(--ts-transition);
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(45, 145, 255, .65); box-shadow: 0 20px 55px rgba(0, 72, 180, .16); }
.service-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin-bottom: 17px;
    border-radius: 13px;
    background: linear-gradient(135deg, #2467f6, #28d8e8);
    color: #fff;
    font-size: 29px;
    font-weight: 800;
    box-shadow: 0 8px 30px rgba(27, 111, 255, .25);
}
.service-card h3 { margin: 0 0 9px; font-size: 25px; line-height: 1.22; letter-spacing: -.5px; }
.service-card p { margin: 0 0 14px; color: #aeb5c7; font-size: 16px; line-height: 1.65; }
.learn { color: #3299ff; font-weight: 800; }
.learn:hover { color: #58dcff; }

/* ---------------- Blog ---------------- */
.section-heading { padding: 65px 0 35px; text-align: center; }
.section-kicker {
    color: #367fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.section-heading h1,
.section-heading h2 {
    margin: 11px 0 14px;
    font-size: clamp(43px, 5vw, 66px);
    line-height: 1.05;
    letter-spacing: -2.5px;
}
.section-heading p { max-width: 780px; margin: 0 auto; color: #aeb5c8; font-size: 18px; line-height: 1.6; }
.blog-section { padding-bottom: 74px; }
.posts-grid,
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { transition: transform var(--ts-transition), border-color var(--ts-transition), box-shadow var(--ts-transition); }
.post-card:hover { transform: translateY(-4px); border-color: rgba(47, 143, 255, .65); box-shadow: 0 22px 58px rgba(0, 70, 180, .17); }
.post-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0a1435;
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.post-card:hover .post-thumb img { transform: scale(1.045); }
.post-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #318fff;
    font-size: 48px;
    background: radial-gradient(circle at 50% 50%, rgba(23, 130, 255, .25), transparent 30%), linear-gradient(145deg, #06102b, #091c4a);
}
.post-body { padding: 20px 24px 23px; }
.post-category {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-bottom: 12px;
    padding: 4px 16px;
    border-radius: 999px;
    background: #2a56ee;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}
.post-title { margin: 0 0 10px; font-size: 25px; line-height: 1.24; letter-spacing: -.5px; }
.post-title a:hover { color: #4ed8ff; }
.post-excerpt { margin: 0 0 18px; color: #aeb5c8; font-size: 16px; line-height: 1.55; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #b6bdd0; font-size: 14px; }
.post-author { color: #eef1ff; font-weight: 800; }
.post-meta .sep { opacity: .5; }
.read-more { display: flex; justify-content: flex-end; margin-top: 11px; color: #398fff; font-weight: 800; }
.read-more:hover { color: #56dfff; }
.center-cta { display: flex; justify-content: center; margin-top: 30px; }

/* ---------------- Pages / Posts ---------------- */
.page-shell { padding: 75px 0 85px; }
.page-title { margin: 0 0 18px; font-size: clamp(43px, 5vw, 66px); line-height: 1.05; letter-spacing: -2.5px; }
.page-intro { max-width: 800px; color: var(--ts-muted); font-size: 19px; }
.content-area { max-width: 900px; }
.content-area p,
.content-area li { color: #c3c9d8; font-size: 18px; line-height: 1.8; }
.content-area h2 { margin: 40px 0 14px; font-size: 32px; line-height: 1.2; }
.content-area h3 { margin: 32px 0 12px; font-size: 24px; }
.content-area a { color: #42a3ff; }
.content-area a:hover { color: #66dfff; }
.content-area img { border-radius: 14px; }
.content-area blockquote {
    margin: 30px 0;
    padding: 20px 24px;
    border-left: 3px solid #2e83ff;
    border-radius: 0 12px 12px 0;
    background: rgba(11, 24, 60, .5);
}

.single-header { padding: 70px 0 34px; }
.single-header .post-category { margin-bottom: 17px; }
.single-title { max-width: 1040px; margin: 0 0 17px; font-size: clamp(43px, 5.6vw, 76px); line-height: 1.06; letter-spacing: -3px; }
.single-meta { color: #aeb5c8; font-size: 15px; }
.featured-large { margin: 10px 0 46px; overflow: hidden; border: 1px solid var(--ts-border-soft); border-radius: 18px; }
.featured-large img { width: 100%; height: auto; }
.single-content { margin: 0 auto; }

/* Pagination */
.pagination,
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 46px 0 0;
}
.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 40px;
    padding: 7px 13px;
    border: 1px solid var(--ts-border-soft);
    border-radius: 9px;
    color: #c7ccda;
}
.pagination .current,
.nav-links .current { border-color: #286cf4; background: #1e62ed; color: #fff; }
.pagination a:hover,
.nav-links a:hover { border-color: #2c8eff; color: #fff; }

/* Search / notices */
.search-form { display: flex; max-width: 700px; gap: 12px; }
.search-form input {
    min-width: 0;
    flex: 1;
    padding: 13px 16px;
    border: 1px solid var(--ts-border-soft);
    border-radius: 10px;
    outline: none;
    background: #08102a;
    color: #fff;
}
.search-form input:focus { border-color: #2b82ff; box-shadow: 0 0 0 3px rgba(43, 130, 255, .10); }
.notice { padding: 24px; border: 1px solid var(--ts-border-soft); border-radius: 14px; color: var(--ts-muted); background: rgba(7, 15, 42, .6); }

/* ---------------- Footer ---------------- */
.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 28px;
    padding: 75px 0 27px;
    border-top: 1px solid rgba(56, 102, 193, .12);
    background:
        radial-gradient(circle at 94% 4%, rgba(31, 74, 255, .38), transparent 25%),
        radial-gradient(circle at 7% 102%, rgba(17, 83, 255, .30), transparent 21%),
        #030718;
}
.site-footer::before {
    content: "";
    position: absolute;
    right: -150px;
    top: -190px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(35, 67, 255, .12);
    filter: blur(70px);
    pointer-events: none;
}
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.45fr .65fr .7fr 1.05fr; gap: 54px; }
.footer-brand .brand { font-size: 37px; }
.footer-brand p { max-width: 480px; margin: 20px 0 30px; color: #b5bbcb; font-size: 17px; line-height: 1.8; }
.socials { display: flex; gap: 17px; }
.socials a {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid #2876ff;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    transition: transform var(--ts-transition), background var(--ts-transition), border-color var(--ts-transition);
}
.socials a:hover { transform: translateY(-3px); background: rgba(32, 109, 255, .12); border-color: #3ed7ff; }
.footer-col h3 { margin: 7px 0 27px; font-size: 23px; line-height: 1.2; }
.footer-col ul { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0; padding: 0; }
.footer-col li a { color: #b8bfd0; font-size: 17px; }
.footer-col li a:hover { color: #37cfff; }
.newsletter {
    padding: 28px 30px;
    border: 1px solid rgba(58, 108, 206, .5);
    border-radius: 17px;
    background: rgba(9, 18, 53, .55);
}
.newsletter-icon { color: #1d9cff; font-size: 34px; line-height: 1; }
.newsletter h3 { margin: 13px 0 6px; font-size: 28px; line-height: 1.2; }
.newsletter p { margin: 0 0 24px; color: #aeb5c7; line-height: 1.65; }
.newsletter-form { display: flex; flex-direction: column; gap: 13px; }
.newsletter-form input {
    width: 100%;
    min-height: 60px;
    padding: 15px 17px;
    border: 1px solid rgba(80, 109, 174, .45);
    border-radius: 10px;
    outline: none;
    background: rgba(4, 9, 28, .60);
    color: #fff;
}
.newsletter-form input::placeholder { color: #a5adbf; }
.newsletter-form input:focus { border-color: #2b82ff; }
.newsletter-form .button { width: 100%; min-height: 72px; font-size: 20px; }
.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    padding-top: 27px;
    border-top: 1px solid rgba(74, 111, 186, .45);
    color: #aeb5c8;
    font-size: 16px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 25px; }
.footer-links a:hover { color: #37cfff; }

/* ---------------- Accessibility / WP admin bar ---------------- */
@media (max-width: 782px) {
    body.admin-bar .site-header { top: 46px; }
}
@media (min-width: 783px) {
    body.admin-bar .site-header { top: 32px; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1180px) {
    .primary-nav ul { gap: 25px; }
    .header-cta { padding-inline: 19px; }
    .hero-grid { gap: 32px; }
    .footer-grid { grid-template-columns: 1.3fr .7fr .8fr 1fr; gap: 32px; }
}

@media (max-width: 1050px) {
    .header-inner { gap: 18px; }
    .primary-nav ul { gap: 20px; }
    .hero-grid { grid-template-columns: 1fr; padding-top: 25px; }
    .hero-copy { padding-bottom: 0; }
    .hero-art { min-height: 470px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
    .container { width: min(var(--ts-container), calc(100% - 30px)); }
    .site-header, .header-inner { min-height: 76px; }
    .header-inner { position: relative; }
    .menu-toggle { display: block; margin-left: auto; }
    .header-cta { display: none; }
    .primary-nav {
        position: absolute;
        top: 69px;
        left: 0;
        right: 0;
        display: none;
        margin: 0;
        padding: 10px;
        border: 1px solid var(--ts-border-soft);
        border-radius: 14px;
        background: rgba(5, 10, 29, .98);
        box-shadow: 0 20px 55px rgba(0, 0, 0, .35);
    }
    .primary-nav.is-open { display: block; }
    .primary-nav ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .primary-nav a { display: flex; min-height: 45px; padding: 9px 12px; border-radius: 8px; }
    .primary-nav a:hover { background: rgba(27, 101, 224, .10); }
    .primary-nav a::after { display: none !important; }
    .hero { padding-top: 22px; }
    .hero h1 { font-size: clamp(48px, 12vw, 68px); letter-spacing: -2.7px; }
    .hero p { font-size: 17px; }
    .hero-art { min-height: 390px; }
    .service-grid, .posts-grid, .archive-grid { grid-template-columns: 1fr; }
    .section-heading { padding-top: 55px; }
    .section-heading h1, .section-heading h2 { font-size: clamp(40px, 10vw, 55px); }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
    .container { width: calc(100% - 24px); }
    .brand { font-size: 23px; gap: 9px; }
    .brand-mark { width: 42px; height: 42px; flex-basis: 42px; }
    .hero-grid { min-height: 0; }
    .hero h1 { margin-top: 23px; font-size: 47px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .button, .hero-actions .button-outline { width: 100%; }
    .hero-art { min-height: 320px; }
    .chip { width: 155px; height: 106px; font-size: 40px; }
    .chip::before { inset: -12px; }
    .chip::after { inset: -25px; }
    .tech-node { width: 56px; height: 48px; font-size: 21px; }
    .service-card { min-height: 0; padding: 23px; }
    .post-body { padding-inline: 20px; }
    .post-title { font-size: 23px; }
    .page-shell { padding-top: 52px; }
    .single-header { padding-top: 50px; }
    .single-title { font-size: 43px; letter-spacing: -1.9px; }
    .content-area p, .content-area li { font-size: 17px; }
    .footer-brand .brand { font-size: 30px; }
    .newsletter { padding: 24px 21px; }
    .footer-links { gap: 14px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ===== Single post layout matching supplied reference ===== */
.single-page{padding:0 0 34px;background:radial-gradient(circle at 68% 12%,rgba(25,48,150,.12),transparent 28%)}
.single-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:34px;align-items:start}
.single-main{min-width:0}
.breadcrumbs{display:flex;align-items:center;gap:10px;padding:18px 0 19px;color:#8f97ad;font-size:13px}
.breadcrumbs a:hover{color:#2fa7ff}
.single-category{display:inline-flex;padding:7px 17px;border-radius:999px;background:linear-gradient(135deg,#245ef3,#234bdc);color:#fff;font-size:13px;font-weight:800;margin-bottom:11px}
.single-title{font-size:clamp(42px,5.1vw,63px);line-height:1.06;letter-spacing:-2.5px;margin:0 0 17px;max-width:900px}
.single-top-meta{display:flex;align-items:center;gap:17px;min-height:45px;color:#aab1c4;font-size:13px;margin-bottom:14px}
.author-mini{display:flex;align-items:center;gap:10px;color:#eef1fa}
.author-mini img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:1px solid rgba(93,132,221,.5)}
.meta-divider{width:1px;height:18px;background:rgba(130,145,184,.25)}
.share-buttons{display:flex;gap:8px;margin-left:auto}
.share-buttons a,.share-buttons button{width:34px;height:34px;border-radius:50%;border:1px solid rgba(90,111,167,.32);background:rgba(24,31,61,.7);display:grid;place-items:center;color:#edf1ff;font-weight:800;font-size:13px;cursor:pointer}
.share-buttons a:hover,.share-buttons button:hover{border-color:#2787ff;background:#142c68}
.single-featured{margin:0 0 22px;border:1px solid rgba(43,106,205,.55);border-radius:10px;overflow:hidden;background:#07112f}
.single-featured img{width:100%;height:auto;max-height:560px;object-fit:cover}
.single-content{max-width:870px}
.single-content p{color:#bec4d3;font-size:15px;line-height:1.7;margin:0 0 15px}
.single-content h2{font-size:24px;line-height:1.25;margin:22px 0 9px}
.single-content h3{font-size:19px;margin:19px 0 8px}
.single-content ul,.single-content ol{margin:0 0 20px;padding-left:28px;color:#bec4d3}
.single-content li{font-size:15px;line-height:1.7;margin:6px 0}
.single-content blockquote{margin:18px 0;padding:17px 22px;border:1px solid rgba(45,102,204,.52);border-radius:10px;background:linear-gradient(145deg,#0a1740,#07112c);color:#e7ebf8;font-style:italic}
.single-content img{border-radius:10px;margin:18px 0}
.single-content a{color:#3c9dff}
.single-tags{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:22px 0 17px}
.tags-label{width:100%;font-size:13px;color:#a5acc0;margin-bottom:1px}
.single-tags a,.tag-placeholder{display:inline-flex;padding:7px 13px;border-radius:999px;background:#111a43;border:1px solid rgba(62,93,165,.22);color:#c7cee0;font-size:12px}
.single-tags a:hover{border-color:#2e75ef;color:#55baff}
.author-box{display:flex;gap:22px;align-items:center;padding:21px;border-radius:9px;border:1px solid rgba(44,101,201,.48);background:linear-gradient(135deg,#101e4d,#0a1435);margin-top:7px}
.author-avatar img{width:105px;height:105px;border-radius:50%;object-fit:cover;border:1px solid rgba(100,141,238,.35)}
.author-info{min-width:0}
.author-kicker{display:block;color:#338bff;font-size:12px;font-weight:800;margin-bottom:2px}
.author-info h2{font-size:20px;margin:0 0 2px}
.author-info p{color:#afb6c8;font-size:13px;line-height:1.45;margin:0 0 8px}
.author-socials{display:flex;gap:7px}
.author-socials a{width:26px;height:26px;border-radius:50%;background:#202b50;display:grid;place-items:center;font-size:11px;font-weight:800}
.related-section{padding-top:18px}
.related-section>h2{font-size:18px;margin:0 0 12px}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}
.related-card{overflow:hidden;border:1px solid rgba(42,92,184,.42);border-radius:10px;background:#0a1230}
.related-thumb{display:block;aspect-ratio:1.9/1;overflow:hidden}
.related-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.related-card:hover .related-thumb img{transform:scale(1.04)}
.related-body{padding:9px 10px 12px}
.related-category{display:inline-flex;padding:4px 9px;border-radius:999px;background:#2857ec;color:white;font-size:10px;font-weight:800;margin-top:-20px;position:relative}
.related-body h3{font-size:14px;line-height:1.25;margin:6px 0 8px}
.related-body h3 a:hover{color:#36a8ff}
.related-meta{color:#9fa8bd;font-size:10px}
.single-sidebar{padding-top:235px}
.article-search{display:flex;align-items:center;border:1px solid rgba(78,93,130,.42);border-radius:8px;background:#0b0e19;overflow:hidden;height:42px;margin-bottom:27px}
.article-search input{width:100%;height:100%;border:0;outline:0;background:transparent;color:#eef2ff;padding:0 13px;font-size:12px}
.article-search input::placeholder{color:#9aa1b2}
.article-search button{width:45px;height:100%;border:0;background:transparent;color:#aeb7ca;font-size:24px;cursor:pointer}
.sidebar-widget{margin-bottom:27px}
.sidebar-widget h2{font-size:17px;margin:0 0 10px}
.category-list{list-style:none;margin:0;padding:0;background:linear-gradient(145deg,#111833,#0c1127);border-radius:9px;overflow:hidden}
.category-list li{border-bottom:1px solid rgba(89,107,158,.07)}
.category-list li:last-child{border:0}
.category-list a{display:grid;grid-template-columns:25px 1fr auto;align-items:center;gap:8px;padding:10px 13px;color:#b8bfd0;font-size:13px}
.category-list li:first-child a{background:linear-gradient(90deg,rgba(30,84,211,.75),rgba(31,67,164,.58));color:#3ea6ff}
.category-list a:hover{background:rgba(35,74,155,.3)}
.cat-icon{font-size:14px;color:#aeb7cb}
.category-list strong{font-size:12px;color:#aeb7ca;font-weight:500}
.recent-widget h2{margin-bottom:11px}
.recent-post{display:grid;grid-template-columns:70px 1fr;gap:10px;padding:9px;background:linear-gradient(145deg,#101831,#0b1127);border:1px solid rgba(67,91,148,.2);border-radius:9px;margin-bottom:9px}
.recent-image{display:block;width:70px;height:61px;border-radius:6px;overflow:hidden;background:#07122d}
.recent-image img{width:100%;height:100%;object-fit:cover}
.recent-copy{min-width:0}
.recent-copy strong{display:block;font-size:11px;line-height:1.2;color:#e7ebf6}
.recent-copy small{display:block;color:#919bb0;font-size:9px;line-height:1.35;margin-top:5px}
.recent-post:hover{border-color:rgba(43,119,240,.5)}
.single-page .post-placeholder{font-size:22px}

/* desktop sizing close to the reference composition */
@media (min-width:1200px){
  .single-layout{grid-template-columns:minmax(0,1fr) 280px}
}
@media (max-width:900px){
  .single-layout{grid-template-columns:1fr}
  .single-sidebar{padding-top:0;display:grid;grid-template-columns:1fr 1fr;gap:22px}
  .article-search{grid-column:1/-1;margin-bottom:0}
  .sidebar-widget{margin-bottom:0}
}
@media (max-width:680px){
  .single-title{font-size:39px;letter-spacing:-1.5px}
  .single-top-meta{flex-wrap:wrap;gap:9px}
  .share-buttons{width:100%;margin-left:0}
  .related-grid{grid-template-columns:1fr}
  .author-box{align-items:flex-start}
  .single-sidebar{grid-template-columns:1fr}
}


/* WordPress utility compatibility */
.admin-bar .site-header{top:32px}
@media screen and (max-width:782px){.admin-bar .site-header{top:46px}}

/* =========================================================
   FINAL SINGLE POST + CATEGORY/TAG ARCHIVE SYSTEM
   ========================================================= */
.single-page{
  padding:0 0 45px;
  background:radial-gradient(circle at 70% 10%,rgba(26,62,180,.12),transparent 29%);
}
.single-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 282px;
  gap:32px;
  align-items:start;
}
.single-main{min-width:0}
.breadcrumbs{
  display:flex;align-items:center;gap:9px;
  padding:18px 0 17px;
  color:#8e97ad;font-size:13px;
}
.breadcrumbs a:hover{color:#35b6ff}
.single-category{
  display:inline-flex;align-items:center;
  padding:6px 16px;border-radius:999px;
  background:linear-gradient(135deg,#2a67f6,#2446d9);
  color:#fff;font-size:13px;font-weight:800;
  box-shadow:0 8px 20px rgba(33,96,239,.16);
}
.single-title{
  max-width:920px;
  margin:12px 0 15px;
  color:#f7f8ff;
  font-size:clamp(40px,4.9vw,62px);
  line-height:1.06;
  letter-spacing:-2.5px;
  font-weight:850;
}
.single-top-meta{
  display:flex;align-items:center;flex-wrap:wrap;
  gap:13px;min-height:46px;margin-bottom:14px;
  color:#aab2c5;font-size:13px;
}
.author-mini{display:flex;align-items:center;gap:9px;color:#eef2fb}
.author-mini-avatar{
  width:42px!important;height:42px!important;
  border-radius:50%;object-fit:cover;
  border:1px solid rgba(88,133,230,.55);
}
.meta-divider{width:1px;height:18px;background:rgba(132,147,186,.28)}
.share-buttons{display:flex;gap:8px;margin-left:auto}
.share-buttons a,.share-buttons button{
  width:34px;height:34px;display:grid;place-items:center;
  border:1px solid rgba(89,111,168,.34);
  border-radius:50%;background:#151d3a;color:#eef2ff;
  font-size:13px;font-weight:850;cursor:pointer;
  transition:.2s ease;
}
.share-buttons a:hover,.share-buttons button:hover{
  border-color:#2b91ff;background:#152d65;transform:translateY(-1px);
}
.single-featured{
  margin:0 0 23px;overflow:hidden;
  border:1px solid rgba(42,110,220,.58);
  border-radius:10px;background:#07112e;
  box-shadow:0 14px 38px rgba(0,0,0,.18);
}
.single-featured img{
  display:block;width:100%;height:auto;
  max-height:600px;object-fit:cover;
}
.single-content{
  max-width:875px;color:#c0c6d5;
  font-size:15.5px;line-height:1.75;
}
.single-content p{margin:0 0 16px}
.single-content h2{
  margin:27px 0 10px;color:#f1f3fa;
  font-size:25px;line-height:1.25;letter-spacing:-.4px;
}
.single-content h3{margin:21px 0 9px;color:#eef1f8;font-size:20px}
.single-content h4{margin:18px 0 8px;color:#e9edf8}
.single-content ul,.single-content ol{margin:0 0 20px;padding-left:28px}
.single-content li{margin:6px 0}
.single-content strong{color:#edf1f9}
.single-content a{color:#3c9eff}
.single-content a:hover{color:#65caff}
.single-content img{
  max-width:100%;height:auto;margin:18px 0;border-radius:10px;
}
.single-content .alignleft{float:left;margin:5px 26px 16px 0}
.single-content .alignright{float:right;margin:5px 0 16px 26px}
.single-content .aligncenter{display:block;margin-left:auto;margin-right:auto}
.single-content blockquote{
  position:relative;margin:20px 0;padding:18px 22px 18px 53px;
  border:1px solid rgba(44,105,209,.55);border-radius:10px;
  background:linear-gradient(145deg,#0b1942,#07112d);
  color:#e8ecf7;font-style:italic;
}
.single-content blockquote:before{
  content:"“";position:absolute;left:16px;top:7px;
  color:#2d76ff;font-size:43px;line-height:1;font-weight:900;
}
.single-content pre{
  overflow:auto;margin:20px 0;padding:18px;
  border:1px solid rgba(56,96,165,.42);border-radius:10px;
  background:#050a1c;color:#dce7ff;
}
.single-content table{width:100%;border-collapse:collapse;margin:20px 0}
.single-content th,.single-content td{
  padding:10px;border:1px solid rgba(75,101,154,.35);text-align:left;
}
.single-tags{
  display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:24px 0 18px;
}
.tags-label{width:100%;margin-bottom:0;color:#a6aec1;font-size:13px}
.single-tags a{
  display:inline-flex;padding:7px 13px;
  border:1px solid rgba(61,91,159,.3);border-radius:999px;
  background:#111a42;color:#c8cfdf;font-size:12px;
}
.single-tags a:hover{border-color:#2e7cf3;color:#55baff}
.author-box{
  display:flex;align-items:center;gap:20px;
  padding:20px;margin-top:6px;
  border:1px solid rgba(44,103,205,.5);border-radius:10px;
  background:linear-gradient(135deg,#101f4e,#0a1435);
}
.author-avatar img{
  width:102px;height:102px;border-radius:50%;
  object-fit:cover;border:1px solid rgba(99,141,238,.4);
}
.author-info{min-width:0}
.author-kicker{display:block;color:#358fff;font-size:12px;font-weight:800;margin-bottom:2px}
.author-info h2{margin:0 0 4px;color:#f0f3fb;font-size:20px}
.author-info p{margin:0;color:#aeb6c8;font-size:13px;line-height:1.5}
.related-section{padding-top:20px}
.related-section>h2{margin:0 0 12px;color:#f0f2fa;font-size:19px}
.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.related-card{
  overflow:hidden;border:1px solid rgba(42,93,184,.45);
  border-radius:10px;background:#0a1230;
  transition:transform .2s ease,border-color .2s ease;
}
.related-card:hover{transform:translateY(-2px);border-color:rgba(52,132,244,.72)}
.related-thumb{
  display:block;aspect-ratio:1.9/1;overflow:hidden;background:#07122d;
}
.related-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.related-card:hover .related-thumb img{transform:scale(1.04)}
.related-body{padding:9px 10px 11px}
.related-category{
  display:inline-flex;padding:4px 9px;border-radius:999px;
  background:#2858ed;color:#fff;font-size:10px;font-weight:800;
}
.related-body h3{margin:7px 0 8px;font-size:14px;line-height:1.3}
.related-body h3 a:hover{color:#39adff}
.related-meta{color:#9ca6bb;font-size:10px}
.single-sidebar{padding-top:231px;min-width:0}
.article-search{
  display:flex;height:42px;margin-bottom:27px;
  overflow:hidden;border:1px solid rgba(78,95,136,.46);
  border-radius:8px;background:#090d18;
}
.article-search input{
  width:100%;min-width:0;border:0;outline:0;
  background:transparent;color:#eef2ff;padding:0 13px;font-size:12px;
}
.article-search input::placeholder{color:#929bad}
.article-search button{
  width:45px;border:0;background:transparent;color:#aeb7ca;font-size:23px;
}
.sidebar-widget{margin-bottom:27px}
.sidebar-widget h2{margin:0 0 10px;color:#eef1f9;font-size:17px}
.category-list{
  list-style:none;margin:0;padding:0;overflow:hidden;
  border-radius:9px;background:linear-gradient(145deg,#111934,#0c1128);
}
.category-list li{border-bottom:1px solid rgba(89,107,158,.07)}
.category-list li:last-child{border-bottom:0}
.category-list a{
  display:grid;grid-template-columns:24px 1fr auto;
  align-items:center;gap:8px;padding:10px 12px;
  color:#b9c0d0;font-size:13px;
}
.category-list li.is-active a{
  background:linear-gradient(90deg,rgba(31,85,214,.78),rgba(31,67,164,.56));
  color:#44aaff;
}
.category-list a:hover{background:rgba(35,75,157,.3)}
.cat-icon{color:#8d9ab5;font-size:13px}
.category-list strong{color:#aab3c7;font-size:12px;font-weight:600}
.recent-post{
  display:grid;grid-template-columns:70px 1fr;gap:10px;
  padding:9px;margin-bottom:9px;
  border:1px solid rgba(67,91,148,.22);border-radius:9px;
  background:linear-gradient(145deg,#101831,#0b1127);
}
.recent-post:hover{border-color:rgba(45,122,241,.55)}
.recent-image{width:70px;height:61px;overflow:hidden;border-radius:6px;background:#07122d}
.recent-image img{width:100%;height:100%;object-fit:cover}
.recent-copy{min-width:0}
.recent-copy strong{display:block;color:#e7ebf5;font-size:11px;line-height:1.25}
.recent-copy small{display:block;margin-top:5px;color:#929cb1;font-size:9px;line-height:1.35}

/* Category / tag / blog archive */
.archive-page{
  min-height:55vh;
  padding:44px 0 70px;
  background:radial-gradient(circle at 78% 4%,rgba(31,68,191,.12),transparent 28%);
}
.archive-hero{text-align:center;max-width:820px;margin:0 auto 34px}
.archive-kicker{
  display:inline-block;color:#3c83ff;font-size:14px;font-weight:900;
  letter-spacing:2.6px;text-transform:uppercase;
}
.archive-hero h1{
  margin:9px 0 12px;color:#f7f8ff;
  font-size:clamp(39px,5vw,60px);line-height:1.06;letter-spacing:-2px;
}
.archive-hero p{
  max-width:720px;margin:0 auto;color:#aeb6c8;
  font-size:17px;line-height:1.65;
}
.archive-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;
}
.archive-card{
  overflow:hidden;min-width:0;
  border:1px solid rgba(43,101,200,.5);border-radius:12px;
  background:linear-gradient(145deg,#0b1535,#070d25);
  box-shadow:0 14px 40px rgba(0,0,0,.17);
  transition:transform .2s ease,border-color .2s ease;
}
.archive-card:hover{transform:translateY(-3px);border-color:rgba(49,136,245,.72)}
.archive-thumb{
  display:block;aspect-ratio:16/9;overflow:hidden;background:#07122d;
}
.archive-thumb img{
  width:100%;height:100%;object-fit:cover;transition:transform .3s ease;
}
.archive-card:hover .archive-thumb img{transform:scale(1.035)}
.archive-thumb .post-placeholder{
  height:100%;display:grid;place-items:center;color:#2d80ff;font-size:32px;
}
.archive-card-body{padding:17px 18px 19px}
.archive-category{
  display:inline-flex;padding:5px 11px;border-radius:999px;
  background:#2859eb;color:#fff;font-size:11px;font-weight:800;
}
.archive-card h2{margin:9px 0 8px;font-size:22px;line-height:1.24;letter-spacing:-.4px}
.archive-card h2 a:hover{color:#4bb6ff}
.archive-card-body>p{
  margin:0 0 13px;color:#aeb6c8;font-size:14px;line-height:1.6;
}
.archive-meta{
  display:flex;flex-wrap:wrap;gap:6px;
  color:#929db3;font-size:11px;
}
.archive-read-more{
  display:inline-flex;align-items:center;gap:7px;
  margin-top:14px;color:#379dff;font-size:13px;font-weight:800;
}
.archive-read-more:hover{color:#62ccff}
.archive-pagination{margin-top:35px}
.archive-pagination .nav-links{
  display:flex;justify-content:center;align-items:center;gap:7px;
}
.archive-pagination a,.archive-pagination span{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:38px;min-height:38px;padding:0 10px;
  border:1px solid rgba(68,94,151,.35);border-radius:8px;
  background:#0d1531;color:#cbd2e2;font-size:12px;
}
.archive-pagination .current{
  border-color:#2b7df3;background:#2257d7;color:#fff;
}
.archive-pagination a:hover{border-color:#2e8cf9;color:#fff}
.archive-empty{max-width:700px;margin:0 auto;text-align:center}

@media (max-width:1050px){
  .single-layout{grid-template-columns:minmax(0,1fr) 250px;gap:24px}
  .single-sidebar{padding-top:220px}
}
@media (max-width:900px){
  .single-layout{grid-template-columns:1fr}
  .single-sidebar{
    padding-top:0;display:grid;
    grid-template-columns:1fr 1fr;gap:20px;
  }
  .article-search{grid-column:1/-1;margin-bottom:0}
  .sidebar-widget{margin-bottom:0}
  .archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:680px){
  .single-title{font-size:39px;letter-spacing:-1.5px}
  .single-top-meta{gap:9px}
  .share-buttons{width:100%;margin-left:0}
  .single-content{font-size:15px}
  .single-content .alignleft,.single-content .alignright{
    float:none;display:block;margin:18px auto;
  }
  .author-box{align-items:flex-start;padding:17px}
  .author-avatar img{width:82px;height:82px}
  .related-grid{grid-template-columns:1fr}
  .single-sidebar{grid-template-columns:1fr}
  .archive-page{padding-top:32px}
  .archive-grid{grid-template-columns:1fr;gap:18px}
  .archive-hero h1{font-size:39px}
}
@media (max-width:430px){
  .single-title{font-size:35px}
  .author-box{flex-direction:column}
  .archive-card h2{font-size:20px}
}

/* =========================================================
   BEST STANDARD TYPOGRAPHY SYSTEM
   Clean, modern, readable, responsive
   ========================================================= */

:root {
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* Global text */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.72;
  font-weight: 400;
  letter-spacing: -0.005em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: inherit;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.18;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.85rem, 3vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

/* Navigation */
.site-header nav,
.main-navigation,
.nav-menu,
.primary-menu {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.site-header nav a,
.main-navigation a,
.nav-menu a,
.primary-menu a {
  letter-spacing: -0.005em;
}

/* Buttons / controls */
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.btn,
.button,
.wp-block-button__link {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.005em;
}

/* Forms */
input,
textarea,
select {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
}

/* Cards and post listings */
.post-card h2,
.post-card h3,
article h2.entry-title,
article h3.entry-title {
  line-height: 1.22;
  font-weight: 750;
}

.post-card p,
.post-excerpt,
.entry-summary {
  font-size: 15.5px;
  line-height: 1.65;
}

.post-meta,
.entry-meta,
.meta,
.byline,
.cat-links,
.tags-links {
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 600;
}

/* Archive/search page */
.archive-title,
.page-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.08;
  font-weight: 800;
}

.archive-description {
  font-size: 17px;
  line-height: 1.65;
}

/* Single post */
.single-post .entry-title,
.single .entry-title {
  font-size: clamp(3.25rem, 5.2vw, 4.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
}

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

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

.single-post .entry-content h2,
.single .entry-content h3,
.single .entry-content h4 {
  font-weight: 750;
  margin-top: 1.8em;
  margin-bottom: 0.65em;
}

.single-post .entry-content h2,
.single .entry-content h2 {
  font-size: 30px;
  line-height: 1.22;
}

.single-post .entry-content h3,
.single .entry-content h3 {
  font-size: 24px;
  line-height: 1.28;
}

.single-post .entry-content h4,
.single .entry-content h4 {
  font-size: 20px;
  line-height: 1.3;
}

.single-post .entry-content li,
.single .entry-content li {
  margin-bottom: 0.45em;
}

.single-post .entry-content blockquote,
.single .entry-content blockquote {
  font-size: 20px;
  line-height: 1.65;
  font-weight: 500;
}

.single-post .entry-content code,
.single .entry-content pre,
.single-post .entry-content pre {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.65;
}

.single-post .post-author,
.single-post .author-box,
.single-post .share-buttons,
.single-post .post-tags {
  font-size: 14px;
  line-height: 1.55;
}

/* Sidebar */
.sidebar,
.widget-area {
  font-size: 14px;
  line-height: 1.6;
}

.sidebar h2,
.sidebar h3,
.widget-area h2,
.widget-area h3 {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 750;
}

.sidebar li,
.widget-area li {
  line-height: 1.55;
}

/* Footer */
.site-footer {
  font-size: 14px;
  line-height: 1.65;
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
}

/* Mobile */
@media (max-width: 767px) {
  body {
    font-size: 16px;
    line-height: 1.68;
  }

  .site-header nav,
  .main-navigation,
  .nav-menu,
  .primary-menu {
    font-size: 14px;
  }

  .single-post .entry-title,
  .single .entry-title {
    font-size: clamp(2.35rem, 10vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
  }

  .single-post .entry-content,
  .single .entry-content {
    font-size: 17px;
    line-height: 1.76;
  }

  .single-post .entry-content h2,
  .single .entry-content h2 {
    font-size: 27px;
  }

  .single-post .entry-content h3,
  .single .entry-content h3 {
    font-size: 22px;
  }

  .single-post .entry-content blockquote,
  .single .entry-content blockquote {
    font-size: 18px;
  }

  .post-card p,
  .post-excerpt,
  .entry-summary {
    font-size: 15px;
  }

  .archive-title,
  .page-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }
}

@media (max-width: 420px) {
  .single-post .entry-title,
  .single .entry-title {
    font-size: 2.2rem;
  }

  .single-post .entry-content,
  .single .entry-content {
    font-size: 16.5px;
  }

  .single-post .entry-content h2,
  .single .entry-content h2 {
    font-size: 25px;
  }

  .single-post .entry-content h3,
  .single .entry-content h3 {
    font-size: 21px;
  }
}

/* =========================================================
   FULL THEME QUALITY / CONSISTENCY FIXES
   ========================================================= */

*, *::before, *::after {
  box-sizing: border-box;
}

img, svg, video, iframe {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

a {
  text-decoration-thickness: .08em;
  text-underline-offset: .16em;
}

button,
input,
textarea,
select {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.wp-caption,
.gallery,
.alignwide,
.alignfull {
  max-width: 100%;
}

.entry-content > * {
  max-width: 100%;
}

.entry-content img.aligncenter,
.entry-content .aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.entry-content img.alignleft,
.entry-content .alignleft {
  margin-right: 1.5rem;
}

.entry-content img.alignright,
.entry-content .alignright {
  margin-left: 1.5rem;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}

.entry-content pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre;
}

.entry-content code {
  overflow-wrap: anywhere;
}

.post-card,
.archive-card,
article {
  min-width: 0;
}

.post-card img,
.archive-card img {
  width: 100%;
  object-fit: cover;
}

.site-main {
  min-width: 0;
}

.sidebar,
.widget-area {
  min-width: 0;
}

.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .45rem .8rem;
}

.search-form {
  display: flex;
  gap: .5rem;
  width: 100%;
}

.search-form label {
  flex: 1 1 auto;
  min-width: 0;
}

.search-form input[type="search"] {
  width: 100%;
}

.search-form input[type="submit"] {
  flex: 0 0 auto;
}

blockquote {
  margin-left: 0;
  margin-right: 0;
}

hr {
  opacity: .25;
}

@media (max-width: 767px) {
  .entry-content img.alignleft,
  .entry-content img.alignright,
  .entry-content .alignleft,
  .entry-content .alignright {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }

  .search-form {
    flex-direction: column;
  }

  .search-form input[type="submit"] {
    width: 100%;
  }

  .pagination,
  .nav-links {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* =========================================================
   AUTHORITATIVE SINGLE POST TYPOGRAPHY
   ========================================================= */

.single-post .entry-title,
.single .entry-title {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.045em;
  max-width: 100%;
  text-wrap: balance;
}

.single-post .entry-content,
.single .entry-content {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: -0.006em;
}

.single-post .entry-content p,
.single .entry-content p {
  margin-top: 0;
  margin-bottom: 1.35em;
}

.single-post .entry-content h2,
.single .entry-content h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 1.9em;
  margin-bottom: .7em;
}

.single-post .entry-content h3,
.single .entry-content h3 {
  font-family: var(--font-heading);
  font-size: 23px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-top: 1.7em;
  margin-bottom: .6em;
}

.single-post .entry-content h4,
.single .entry-content h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

.single-post .entry-content li,
.single .entry-content li {
  margin-bottom: .5em;
}

.single-post .entry-content blockquote,
.single .entry-content blockquote {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.7;
  font-weight: 500;
}

.single-post .entry-content pre,
.single .entry-content code {
  font-family: var(--font-code);
}

.single-post .post-meta,
.single-post .entry-meta,
.single-post .post-author,
.single-post .share-buttons,
.single-post .post-tags {
  font-family: var(--font-body);
}

@media (max-width: 767px) {
  .single-post .entry-title,
  .single .entry-title {
    font-size: clamp(2.25rem, 9vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
  }

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

  .single-post .entry-content h2,
  .single .entry-content h2 {
    font-size: 27px;
  }

  .single-post .entry-content h3,
  .single .entry-content h3 {
    font-size: 22px;
  }

  .single-post .entry-content blockquote,
  .single .entry-content blockquote {
    font-size: 18px;
  }
}

@media (max-width: 420px) {
  .single-post .entry-title,
  .single .entry-title {
    font-size: 2.15rem;
  }

  .single-post .entry-content,
  .single .entry-content {
    font-size: 16.5px;
  }

  .single-post .entry-content h2,
  .single .entry-content h2 {
    font-size: 25px;
  }

  .single-post .entry-content h3,
  .single .entry-content h3 {
    font-size: 21px;
  }
}


/* =========================================================
   SINGLE POST — SECTION BORDER / CARD POLISH
   ========================================================= */

.single-post .single-post-main,
.single-post .post-content-wrap,
.single-post .entry-content-wrap {
  min-width: 0;
}

/* Main article content */
.single-post .entry-content,
.single .entry-content {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 32px;
  background: rgba(255,255,255,.018);
}

/* Keep the title/header area visually separate */
.single-post .post-header,
.single-post .entry-header {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 30px 32px;
  margin-bottom: 24px;
  background: rgba(255,255,255,.018);
}

/* Featured image section */
.single-post .post-thumbnail,
.single-post .featured-image,
.single-post .post-featured-image {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}

.single-post .post-thumbnail img,
.single-post .featured-image img,
.single-post .post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Author section */
.single-post .author-box,
.single-post .post-author {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 22px;
  background: rgba(255,255,255,.018);
}

/* Sharing section */
.single-post .share-buttons,
.single-post .post-share,
.single-post .social-share {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255,255,255,.015);
}

/* Tags */
.single-post .post-tags,
.single-post .tags-links {
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 20px;
  margin-top: 24px;
}

/* Sidebar cards */
.single-post .sidebar .widget,
.single-post .widget-area .widget,
.single .sidebar .widget,
.single .widget-area .widget {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 20px;
  background: rgba(255,255,255,.018);
  margin-bottom: 18px;
}

/* Article internal headings get subtle separation */
.single-post .entry-content h2 {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
}

.single-post .entry-content > h2:first-child {
  border-top: 0;
  padding-top: 0;
}

/* Tables */
.single-post .entry-content table {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  overflow: hidden;
}

.single-post .entry-content th,
.single-post .entry-content td {
  border: 1px solid rgba(255,255,255,.08);
  padding: 10px 12px;
}

/* Code blocks */
.single-post .entry-content pre {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
}

/* Blockquotes */
.single-post .entry-content blockquote {
  border: 1px solid rgba(255,255,255,.10);
  border-left-width: 3px;
  border-radius: 12px;
  padding: 18px 20px;
  background: rgba(255,255,255,.018);
}

/* Mobile */
@media (max-width: 767px) {
  .single-post .entry-content,
  .single .entry-content {
    padding: 22px 18px;
    border-radius: 13px;
  }

  .single-post .post-header,
  .single-post .entry-header {
    padding: 22px 18px;
    border-radius: 13px;
  }

  .single-post .author-box,
  .single-post .post-author,
  .single-post .sidebar .widget,
  .single-post .widget-area .widget {
    padding: 17px;
  }

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