
/* ==================================================
   TRIMLINES TECHNOLOGY
   WORDPRESS BLOG THEME
   Main Stylesheet
   ================================================== */


/* ==================================================
   ROOT
   ================================================== */

:root {
    --trim-blue: #1675C8;
    --trim-blue-dark: #0F5FA8;
    --trim-blue-light: #EFF7FF;

    --trim-dark: #0F172A;
    --trim-text: #334155;
    --trim-muted: #64748B;

    --trim-white: #FFFFFF;
    --trim-border: #E2E8F0;
    --trim-soft: #F8FAFC;

    --trim-action: #1675C8;

    --trim-container: 1280px;

    --trim-radius: 12px;
    --trim-radius-lg: 20px;
}


/* ==================================================
   GLOBAL
   ================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--trim-dark);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}


/* ==================================================
   CONTAINER
   ================================================== */

.container {
    width: min(
        var(--trim-container),
        calc(100% - 40px)
    );

    margin-left: auto;
    margin-right: auto;
}


/* ==================================================
   TYPOGRAPHY
   ================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;

    color: var(--trim-dark);

    line-height: 1.2;

    letter-spacing: -0.025em;
}

p {
    color: var(--trim-muted);
}


/* ==================================================
   TRIMLINES UTILITY CLASSES
   Existing header/footer classes
   ================================================== */

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-7xl {
    max-width: var(--trim-container);
}

.max-w-sm {
    max-width: 24rem;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.grid {
    display: grid;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-5 {
    gap: 1.25rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-10 {
    gap: 2.5rem;
}

.h-4 {
    height: 1rem;
}

.h-5 {
    height: 1.25rem;
}

.h-10 {
    height: 2.5rem;
}

.h-16 {
    height: 4rem;
}

.h-20 {
    height: 5rem;
}

.w-4 {
    width: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.w-10 {
    width: 2.5rem;
}

.w-fit {
    width: fit-content;
}

.w-auto {
    width: auto;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.relative {
    position: relative;
}

.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.z-50 {
    z-index: 50;
}


/* ==================================================
   MARGINS
   ================================================== */

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 1.25rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-4 {
    margin-bottom: 1rem;
}


/* ==================================================
   PADDING
   ================================================== */

.p-2\.5 {
    padding: 0.625rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.py-2\.5 {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.pt-7 {
    padding-top: 1.75rem;
}


/* ==================================================
   GRID
   ================================================== */

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}


/* ==================================================
   BORDERS
   ================================================== */

.border {
    border: 1px solid;
}

.border-b {
    border-bottom: 1px solid;
}

.border-t {
    border-top: 1px solid;
}

.border-trim-border {
    border-color: var(--trim-border);
}


/* ==================================================
   BACKGROUNDS
   ================================================== */

.bg-white {
    background: #fff;
}

.bg-white\/95 {
    background: rgba(255, 255, 255, 0.95);
}

.bg-trim-action {
    background: var(--trim-action);
}

.bg-trim-soft {
    background: var(--trim-soft);
}


/* ==================================================
   TEXT COLORS
   ================================================== */

.text-white {
    color: #fff;
}

.text-slate-600 {
    color: #475569;
}

.text-slate-700 {
    color: #334155;
}

.text-trim-blue {
    color: var(--trim-blue);
}

.text-trim-muted {
    color: var(--trim-muted);
}


/* ==================================================
   TEXT SIZES
   ================================================== */

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}


/* ==================================================
   FONT WEIGHTS
   ================================================== */

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-black {
    font-weight: 900;
}


/* ==================================================
   LINE HEIGHT
   ================================================== */

.leading-6 {
    line-height: 1.5rem;
}


/* ==================================================
   TEXT TRANSFORM
   ================================================== */

.uppercase {
    text-transform: uppercase;
}

.tracking-wider {
    letter-spacing: 0.05em;
}


/* ==================================================
   BORDER RADIUS
   ================================================== */

.rounded-xl {
    border-radius: 0.75rem;
}


/* ==================================================
   SHADOW
   ================================================== */

.shadow-sm {
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.05);
}


/* ==================================================
   BLUR
   ================================================== */

.backdrop-blur {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* ==================================================
   TRANSITION
   ================================================== */

.transition {
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


/* ==================================================
   HEADER
   ================================================== */

header.sticky {
    position: sticky;

    top: 0;

    z-index: 50;

    width: 100%;

    border-bottom: 1px solid var(--trim-border);

    background: rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

header.sticky > div {
    width: 100%;
}

header.sticky > div > div:first-child {
    min-height: 80px;
}

header.sticky img[alt="Trimlines Technology"] {
    display: block;

    width: auto;

    height: 80px;
}

header.sticky nav a {
    white-space: nowrap;
}

header.sticky button {
    background: #fff;

    color: var(--trim-dark);

    border: 1px solid var(--trim-border);
}

header.sticky button:hover {
    border-color: var(--trim-blue);

    color: var(--trim-blue);
}

header a:hover {
    text-decoration: none;
}


/* ==================================================
   HEADER CTA
   ================================================== */

header a.bg-trim-action {
    background: var(--trim-action);

    color: #fff;
}

header a.bg-trim-action:hover {
    background: var(--trim-blue-dark);
}


/* ==================================================
   MOBILE MENU
   ================================================== */

#mobileMenu {
    display: none;
}

#mobileMenu.is-open {
    display: block;
}

#mobileMenu a {
    display: block;
}

#mobileMenu a:hover {
    text-decoration: none;
}


/* ==================================================
   BLOG
   ================================================== */

.site-main {
    min-height: 60vh;
}


/* =========================================================
   BLOG HERO
   Compact visual hero
   ========================================================= */

.blog-hero {
    position: relative;

    overflow: hidden;

    background: #f8fafc;

    border-bottom: 1px solid var(--trim-border);
}

.blog-hero-inner {
    min-height: 300px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 35px;
}

.blog-hero-content {
    position: relative;

    z-index: 2;

    padding: 45px 0;
}

.blog-hero-content .eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 12px;

    color: var(--trim-blue);

    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.blog-hero-content .eyebrow::before {
    content: "";

    width: 24px;

    height: 2px;

    background: var(--trim-blue);
}

.blog-hero-content h1 {
    margin: 0;

    color: var(--trim-dark);

    font-size: clamp(
        2.2rem,
        4vw,
        3.4rem
    );

    line-height: 1.05;

    letter-spacing: -0.04em;

    font-weight: 900;
}

.blog-hero-content p {
    max-width: 540px;

    margin: 16px 0 0;

    color: var(--trim-muted);

    font-size: 1rem;

    line-height: 1.65;
}

.blog-hero-visual {
    position: relative;

    height: 300px;

    display: flex;

    align-items: flex-end;

    justify-content: flex-end;
}

.blog-hero-visual::before {
    content: "";

    position: absolute;

    width: 320px;

    height: 320px;

    right: -90px;

    bottom: -170px;

    border-radius: 50%;

    background: var(--trim-blue-light);
}

.blog-hero-visual img {
    position: relative;
    
     border-radius: 24px;
    z-index: 1;

    display: block;

    width: 100%;

    max-width: 620px;

    max-height: 300px;

    object-fit: contain;

    object-position: center bottom;
}


/* ==================================================
   EYEBROW
   Used by blog hero
   ================================================== */

.eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 14px;

    color: var(--trim-blue);

    font-size: 0.78rem;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.eyebrow::before {
    content: "";

    width: 24px;

    height: 2px;

    background: var(--trim-blue);
}


/* ==================================================
   BLOG SECTION
   ================================================== */

.blog-section {
    padding: 48px 0 90px;
}

.blog-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}


/* ==================================================
   BLOG CARD
   ================================================== */

.blog-card {
    display: flex;

    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--trim-border);

    border-radius: 16px;

    background: #fff;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-3px);

    border-color: rgba(22, 117, 200, 0.25);

    box-shadow:
        0 15px 35px rgba(15, 23, 42, 0.08);
}


/* ==================================================
   BLOG FEATURED IMAGE
   ================================================== */

.blog-card-image {
    display: block;

    overflow: hidden;

    width: 100%;

    aspect-ratio: 16 / 9;

    background: var(--trim-blue-light);
}

.blog-card-image img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.03);
}


/* ==================================================
   BLOG CARD CONTENT
   ================================================== */

.blog-card-content {
    display: flex;

    flex: 1;

    flex-direction: column;

    padding: 22px;
}

.blog-card-meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 11px;

    color: var(--trim-muted);

    font-size: 0.76rem;

    font-weight: 700;
}

.blog-card-meta span + span::before {
    content: "•";

    margin-right: 8px;

    color: var(--trim-blue);
}

.blog-card-title {
    margin: 0 0 10px;

    font-size: 1.35rem;

    line-height: 1.3;
}

.blog-card-title a {
    color: var(--trim-dark);

    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--trim-blue);
}

.blog-card-excerpt {
    margin-bottom: 20px;

    color: var(--trim-muted);

    font-size: 0.92rem;

    line-height: 1.65;
}

.blog-card-excerpt p {
    margin: 0;
}

.blog-card-link {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    width: fit-content;

    margin-top: auto;

    color: var(--trim-blue);

    font-size: 0.88rem;

    font-weight: 800;
}

.blog-card-link:hover {
    color: var(--trim-blue-dark);
}


/* ==================================================
   BLOG PAGINATION
   ================================================== */

.blog-pagination {
    margin-top: 50px;
}

.blog-pagination ul {
    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;

    margin: 0;

    padding: 0;

    list-style: none;
}

.blog-pagination li {
    margin: 0;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 42px;

    min-height: 42px;

    padding: 0 12px;

    border: 1px solid var(--trim-border);

    border-radius: 10px;

    color: var(--trim-text);

    font-size: 0.85rem;

    font-weight: 700;
}

.blog-pagination .current,
.blog-pagination a:hover {
    border-color: var(--trim-blue);

    background: var(--trim-blue);

    color: #fff;
}


/* ==================================================
   EMPTY BLOG
   ================================================== */

.blog-empty {
    padding: 80px 30px;

    border: 1px solid var(--trim-border);

    border-radius: var(--trim-radius-lg);

    text-align: center;
}

.blog-empty h2 {
    margin-bottom: 10px;
}


/* ==================================================
   SINGLE ARTICLE
   ================================================== */

.single-post .site-main {
    padding-bottom: 80px;
}

.article-header {
    padding: 75px 0 45px;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            #f8fbff 0%,
            #ffffff 100%
        );

    border-bottom: 1px solid var(--trim-border);
}

.article-header .container {
    max-width: 950px;
}

.article-meta {
    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 18px;

    color: var(--trim-muted);

    font-size: 0.85rem;

    font-weight: 700;
}

.article-header h1 {
    max-width: 900px;

    margin: 0 auto 20px;

    font-size: clamp(
        2.4rem,
        5vw,
        4.5rem
    );

    font-weight: 900;

    line-height: 1.12;
}

.article-excerpt {
    max-width: 760px;

    margin: 0 auto;

    font-size: 1.1rem;

    line-height: 1.8;
}

.article-featured-image {
    max-width: 1100px;

    margin: 50px auto 65px;

    overflow: hidden;

    border-radius: var(--trim-radius-lg);
}

.article-featured-image img {
    display: block;

    width: 100%;

    height: auto;
}


/* ==================================================
   ARTICLE CONTENT
   ================================================== */

.article-content {
    max-width: 780px;

    margin: 0 auto;

    color: var(--trim-text);

    font-size: 18px;

    line-height: 1.85;
}

.article-content p {
    margin: 0 0 1.5rem;

    color: var(--trim-text);
}

.article-content h2 {
    margin: 3rem 0 1rem;

    color: var(--trim-dark);

    font-size: 2rem;

    line-height: 1.25;
}

.article-content h3 {
    margin: 2.25rem 0 0.75rem;

    color: var(--trim-dark);

    font-size: 1.45rem;

    line-height: 1.35;
}

.article-content h4 {
    margin: 2rem 0 0.75rem;

    font-size: 1.2rem;
}

.article-content ul,
.article-content ol {
    margin: 1.25rem 0 1.75rem;

    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.6rem;
}

.article-content li::marker {
    color: var(--trim-blue);
}

.article-content a {
    color: var(--trim-blue);

    font-weight: 600;

    text-decoration: underline;
}

.article-content a:hover {
    color: var(--trim-blue-dark);
}

.article-content blockquote {
    margin: 2rem 0;

    padding: 1.25rem 1.5rem;

    border-left: 4px solid var(--trim-blue);

    background: var(--trim-blue-light);

    color: var(--trim-text);

    font-size: 1.1rem;
}

.article-content blockquote p {
    margin-bottom: 0;
}

.article-content img {
    display: block;

    width: 100%;

    height: auto;

    margin: 2rem auto;

    border-radius: 16px;
}

.article-content figure {
    margin: 2rem 0;
}

.article-content figcaption {
    margin-top: -1rem;

    text-align: center;

    color: var(--trim-muted);

    font-size: 0.85rem;

    line-height: 1.5;
}

.article-content pre {
    overflow-x: auto;

    margin: 2rem 0;

    padding: 1.25rem;

    border-radius: 12px;

    background: #0f172a;

    color: #fff;

    font-size: 0.9rem;

    line-height: 1.6;
}

.article-content code {
    font-size: 0.9em;
}

.article-content :not(pre) > code {
    padding: 0.15em 0.35em;

    border-radius: 5px;

    background: var(--trim-soft);

    color: var(--trim-dark);
}

.article-content table {
    width: 100%;

    margin: 2rem 0;

    border-collapse: collapse;
}

.article-content th,
.article-content td {
    padding: 0.85rem;

    border: 1px solid var(--trim-border);

    text-align: left;
}

.article-content th {
    background: var(--trim-soft);

    color: var(--trim-dark);

    font-weight: 700;
}

.article-content hr {
    margin: 3rem 0;

    border: 0;

    border-top: 1px solid var(--trim-border);
}


/* ==================================================
   WORDPRESS ALIGNMENT
   ================================================== */

.article-content .aligncenter {
    display: block;

    margin-left: auto;

    margin-right: auto;
}

.article-content .alignleft {
    float: left;

    max-width: 50%;

    margin: 0 25px 20px 0;
}

.article-content .alignright {
    float: right;

    max-width: 50%;

    margin: 0 0 20px 25px;
}


/* ==================================================
   ARTICLE TAGS
   ================================================== */

.article-tags {
    max-width: 780px;

    margin: 55px auto 0;

    padding-top: 25px;

    border-top: 1px solid var(--trim-border);
}

.article-tags .tags-label {
    display: block;

    margin-bottom: 8px;

    color: var(--trim-dark);

    font-size: 0.8rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.05em;
}

.article-tags a {
    display: inline-flex;

    margin: 4px;

    padding: 7px 12px;

    border: 1px solid var(--trim-border);

    border-radius: 8px;

    color: var(--trim-muted);

    font-size: 0.8rem;

    font-weight: 700;
}

.article-tags a:hover {
    border-color: var(--trim-blue);

    color: var(--trim-blue);
}


/* ==================================================
   PREVIOUS / NEXT ARTICLES
   ================================================== */

.post-navigation {
    max-width: 780px;

    margin: 50px auto 0;

    padding-top: 30px;

    border-top: 1px solid var(--trim-border);
}

.post-navigation .nav-links {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.post-navigation a {
    display: block;

    padding: 20px;

    border: 1px solid var(--trim-border);

    border-radius: 12px;

    background: #fff;
}

.post-navigation a:hover {
    border-color: var(--trim-blue);

    background: var(--trim-blue-light);
}

.post-navigation .nav-previous {
    text-align: left;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation .meta-nav {
    display: block;

    margin-bottom: 6px;

    color: var(--trim-blue);

    font-size: 0.78rem;

    font-weight: 800;

    text-transform: uppercase;
}

.post-navigation .post-title {
    color: var(--trim-dark);

    font-weight: 800;
}


/* ==================================================
   WORDPRESS DEFAULTS
   ================================================== */

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    margin-top: 8px;

    color: var(--trim-muted);

    font-size: 0.85rem;
}

.aligncenter {
    display: block;

    margin-left: auto;

    margin-right: auto;
}

.alignleft {
    float: left;

    margin: 0 25px 20px 0;
}

.alignright {
    float: right;

    margin: 0 0 20px 25px;
}


/* ==================================================
   FOOTER
   Existing Trimlines footer
   ================================================== */

footer.border-t {
    border-top: 1px solid var(--trim-border);

    background: #fff;
}

footer.border-t > div {
    width: min(
        var(--trim-container),
        calc(100% - 40px)
    );

    margin-left: auto;

    margin-right: auto;
}


/* ==================================================
   FOOTER LOGO
   ================================================== */

footer img[alt="Trimlines Technology"] {
    display: block;

    width: auto;

    height: 64px;
}


/* ==================================================
   FOOTER HEADINGS
   ================================================== */

footer h3 {
    margin: 0;

    color: var(--trim-dark);

    font-size: 0.875rem;

    font-weight: 900;

    letter-spacing: 0.05em;

    text-transform: uppercase;
}


/* ==================================================
   FOOTER LINKS
   ================================================== */

footer a {
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

footer a:hover {
    text-decoration: none;
}


/* ==================================================
   FOOTER SOCIAL ICONS
   ================================================== */

footer a.flex.h-10.w-10 {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

    border: 1px solid var(--trim-border);

    border-radius: 12px;

    color: var(--trim-muted);
}

footer a.flex.h-10.w-10:hover {
    border-color: var(--trim-blue);

    color: var(--trim-blue);
}


/* ==================================================
   FOOTER SCHEDULE BUTTON
   ================================================== */

footer a.inline-flex {
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}


/* ==================================================
   FOOTER PARAGRAPH
   ================================================== */

footer p {
    color: var(--trim-muted);
}


/* ==================================================
   FOOTER BOTTOM
   ================================================== */

footer .border-t {
    border-top-color: var(--trim-border);
}


/* ==================================================
   FORMS
   ================================================== */

input,
textarea,
select {
    width: 100%;

    border: 1px solid var(--trim-border);

    border-radius: 10px;

    background: #fff;

    color: var(--trim-dark);

    outline: none;
}

input,
select {
    min-height: 48px;

    padding: 0 14px;
}

textarea {
    min-height: 150px;

    padding: 14px;

    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--trim-blue);

    box-shadow:
        0 0 0 3px rgba(22, 117, 200, 0.1);
}


/* ==================================================
   RESPONSIVE
   ================================================== */


/* ==================================================
   SM — 640px
   ================================================== */

@media (min-width: 640px) {

    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .sm\:flex-row {
        flex-direction: row;
    }

}


/* ==================================================
   MD — 768px
   ================================================== */

@media (min-width: 768px) {

    .md\:grid-cols-\[1\.2fr_\.8fr_\.8fr_\.8fr\] {
        grid-template-columns:
            1.2fr
            0.8fr
            0.8fr
            0.8fr;
    }

}


/* ==================================================
   BLOG HERO — BELOW 900px
   ================================================== */

@media (max-width: 900px) {

    .blog-hero-inner {
        min-height: 280px;

        gap: 20px;
    }

    .blog-hero-content {
        padding: 40px 0;
    }

    .blog-hero-content h1 {
        font-size: 2.7rem;
    }

    .blog-hero-visual {
        height: 280px;
    }

    .blog-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ==================================================
   LG — 1024px
   ================================================== */

@media (min-width: 1024px) {

    .lg\:flex {
        display: flex;
    }

    .lg\:hidden {
        display: none;
    }

    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }

}


/* ==================================================
   TABLET / MOBILE — BELOW 1024px
   ================================================== */

@media (max-width: 1023px) {

    header.sticky nav {
        display: none;
    }

    header.sticky > div > div:first-child > div.hidden {
        display: none;
    }

    header.sticky > div > div:first-child > button {
        display: inline-flex;
    }

}


/* ==================================================
   FOOTER — BELOW MD
   ================================================== */

@media (max-width: 767px) {

    .md\:grid-cols-\[1\.2fr_\.8fr_\.8fr_\.8fr\] {
        grid-template-columns: 1fr;
    }

}


/* ==================================================
   BLOG / MOBILE — BELOW 700px
   ================================================== */

@media (max-width: 700px) {

    .container {
        width: min(
            var(--trim-container),
            calc(100% - 28px)
        );
    }

    .blog-hero-inner {
        min-height: auto;

        grid-template-columns: 1fr;

        gap: 0;
    }

    .blog-hero-content {
        padding: 45px 0 15px;
    }

    .blog-hero-content h1 {
        font-size: 2.6rem;
    }

    .blog-hero-content p {
        font-size: 0.98rem;

        margin-top: 15px;
    }

    .blog-hero-visual {
    width: 100%;
    height: auto;
    min-height: 0;
    display: block;
    overflow: hidden;
}

.blog-hero-visual img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}

    .blog-hero-visual::before {
        width: 260px;

        height: 260px;

        right: 50%;

        transform: translateX(50%);

        bottom: -140px;
    }

    .blog-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .blog-section {
        padding: 40px 0 65px;
    }

    .blog-card-content {
        padding: 21px;
    }

    .blog-card-title {
        font-size: 1.3rem;
    }

    .article-header {
        padding: 55px 0 35px;
    }

    .article-header h1 {
        font-size: 2.4rem;
    }

    .article-content {
        font-size: 16px;

        line-height: 1.75;
    }

    .article-content h2 {
        font-size: 1.6rem;
    }

    .article-content h3 {
        font-size: 1.3rem;
    }

    .article-content .alignleft,
    .article-content .alignright {
        float: none;

        max-width: 100%;

        margin: 2rem auto;
    }

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

    .post-navigation .nav-next {
        text-align: left;
    }

}


/* ==================================================
   MOBILE — BELOW 500px
   ================================================== */

@media (max-width: 500px) {

    header.sticky img[alt="Trimlines Technology"] {
        height: 64px;
    }

    header.sticky > div > div:first-child {
        min-height: 70px;
    }

    .article-header h1 {
        font-size: 2.1rem;
    }

    .article-excerpt {
        font-size: 1rem;
    }

    .article-featured-image {
        margin-top: 35px;

        margin-bottom: 45px;

        border-radius: 14px;
    }

}


/* ==================================================
   ACCESSIBILITY
   ================================================== */

:focus-visible {
    outline: 3px solid rgba(22, 117, 200, 0.35);

    outline-offset: 3px;
}

