
/* Homepage
--------------------------------------------------------------------------------------- */

/* .section-list-wrap li { border-color: #fff; } */


/* Secondary Pages
--------------------------------------------------------------------------------------- */



/* Media Queries
--------------------------------------------------------------------------------------- */


/* Desktops and laptops ----------- */

@media only screen
and (max-height : 1440px) {


}

@media only screen
and (max-height : 1100px) {


}

@media only screen
and (max-height : 900px) {


}

@media only screen
and (max-height : 800px) {


}

@media only screen
and (max-height: 540px) {


}


@media only screen
and (max-width : 2260px) {


}


@media only screen
and (max-width : 2000px) {


}


@media only screen
and (max-width : 1800px) {


}



@media only screen
and (max-width : 1770px) {


}

@media only screen
and (max-width : 1600px) {

}


@media only screen
and (max-width : 1500px) {


}

@media only screen
and (max-width : 1350px) {


}


@media only screen
and (max-width : 1300px) {


}



@media only screen
and (max-width : 1350px) {


}

@media only screen
and (max-width : 1200px) {


}

@media only screen
and (max-width : 1150px) {


}

@media only screen
and (max-width : 1100px) {


}

@media only screen
and (max-width : 1000px) {


}

@media only screen
and (max-width : 880px) {


}


/* iPads (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {


}

@media screen and (min-width:320px) and (max-width:780px) and (orientation:landscape) {


}

@media only screen
and (max-width : 501px) and (orientation:portrait)  {
	

}

/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {


}
/* ==========================================================================
   Created to Create — Editorial Devotional Styles
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --paper:        #F3F1EA;
    --paper-deep:   #ECE9E0;
    --ink:          #1A1714;
    --ink-soft:     #6B655B;
    --hairline:     #D6D1C4;
    --accent:       #A33A2B;

    --ff-display:   'Caudex', Georgia, serif;
    --ff-body:      'Newsreader', Georgia, serif;
    --ff-mono:      'Spline Sans Mono', 'IBM Plex Mono', monospace;

    --section-pad:  clamp(5rem, 9vw, 9rem);
    --gutter:       clamp(1.25rem, 4vw, 3rem);
    --col-gap:      1.5rem;
    --reading-w:    860px;
    --measure:      860px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Override WP core/block-library defaults */
.devo-site { all: unset; display: block; }
.devo-site *, .devo-site *::before, .devo-site *::after { box-sizing: border-box; }
.wp-block-button__link, .wp-block-file__button { all: unset; }

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--ff-body);
    font-size: 100%;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
blockquote { margin: 0; padding: 0; border: none; }
h1, h2, h3, h4, h5, h6 { font-weight: normal; line-height: 1.1; }
ul, ol { list-style: none; }
hr {
    border: none;
    border-top: 1px solid var(--hairline);
    margin: 0;
}

/* ---------- Type Scale ---------- */
.t-display-xl {
    font-family: var(--ff-display);
    font-size: clamp(3.75rem, 7vw, 6.5rem);
    line-height: 1.04;
    letter-spacing: -0.015em;
    font-weight: 400;
}
.t-display-l {
    font-family: var(--ff-display);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    line-height: 1.1;
    font-weight: 400;
}
.t-pull-quote {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1.2;
    font-style: italic;
    font-weight: 400;
}
.t-lead {
    font-family: var(--ff-body);
    font-size: 1.5rem;
    line-height: 1.55;
}
.t-body {
    font-family: var(--ff-body);
    font-size: 1.3125rem;
    line-height: 1.7;
}
.t-eyebrow {
    font-family: var(--ff-mono);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    line-height: 1.4;
}
.t-meta {
    font-family: var(--ff-mono);
    font-size: 0.875rem;
    color: var(--ink-soft);
    line-height: 1.5;
}

/* ---------- Layout ---------- */
.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--col-gap);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
.devo-container {
    max-width: var(--measure);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

/* ---------- Shared Link Style ---------- */
.text-link {
    text-decoration: none;
    display: inline-flex;
    align-items: baseline;
    gap: 0.35em;
    position: relative;
}
.text-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}
.text-link:hover::after {
    width: 0;
}
.text-link .arrow {
    font-style: normal;
    transition: transform 0.3s ease;
}
.text-link:hover .arrow {
    transform: translateX(3px);
}


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

.site-header {
    padding: clamp(1.25rem, 3vw, 2rem) var(--gutter);
}
.site-header-inner {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}
.site-wordmark {
    font-family: var(--ff-display);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 400;
    text-decoration: none;
    color: var(--ink);
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.site-nav {
    display: flex;
    gap: clamp(1.25rem, 3vw, 2.5rem);
}
.site-nav a {
    font-family: var(--ff-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-decoration: none;
    color: var(--ink);
    position: relative;
}
.site-nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--ink);
    transition: width 0.35s ease;
}
.site-nav a:hover::after {
    width: 100%;
}
.site-header-rule {
    border-top: 1px solid var(--hairline);
    max-width: 1400px;
    margin: 0 auto;
    margin-top: clamp(1.25rem, 3vw, 2rem);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.menu-toggle {
    display: none;
    font-family: var(--ff-mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ink);
    padding: 0;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-nav-overlay.is-open {
    display: flex;
    opacity: 1;
}
.mobile-nav-overlay a {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 5vw, 3rem);
    text-decoration: none;
    color: var(--ink);
    font-weight: 400;
}
.mobile-nav-close {
    position: absolute;
    top: clamp(1.25rem, 3vw, 2rem);
    right: var(--gutter);
    font-family: var(--ff-mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}


/* ==========================================================================
   FRONT PAGE
   ========================================================================== */

/* ---------- Hero ---------- */
.front-hero {
    padding-top: clamp(4rem, 10vw, 10rem);
    padding-bottom: var(--section-pad);
}
.front-hero-content {
    grid-column: 2 / 8;
}
.front-hero .t-eyebrow {
    color: var(--ink-soft);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.front-hero .t-display-xl {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--ink);
}
.front-hero .t-lead {
    color: var(--ink-soft);
    max-width: 52ch;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.front-hero .text-link {
    font-family: var(--ff-body);
    font-size: 1.125rem;
}

/* ---------- Today's Entry ---------- */
.front-today {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
    border-top: 1px solid var(--hairline);
}
.front-today-content {
    grid-column: 2 / 10;
}
.front-today .t-eyebrow {
    color: var(--ink-soft);
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.front-today .dateline {
    margin-bottom: clamp(1.5rem, 2vw, 2rem);
}
.front-today .pull-quote {
    margin-bottom: 0.75rem;
}
.front-today .scripture-ref {
    margin-bottom: clamp(2rem, 3vw, 3rem);
}
.front-today .entry-title {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.front-today .entry-title a {
    text-decoration: none;
}
.front-today .entry-title a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.front-today .entry-excerpt {
    font-family: var(--ff-body);
    font-size: 1.25rem;
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 56ch;
    margin-bottom: 1.75rem;
}
.front-today .text-link {
    font-family: var(--ff-body);
    font-size: 1rem;
}

/* ---------- Topics TOC ---------- */
.front-topics {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
    border-top: 1px solid var(--hairline);
}
.front-topics-head {
    grid-column: 2 / 10;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.front-topics-list {
    grid-column: 2 / 12;
    columns: 2;
    column-gap: clamp(3rem, 5vw, 5rem);
}
.topic-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--hairline);
    break-inside: avoid;
    text-decoration: none;
    transition: color 0.2s ease;
}
.topic-row:first-child {
    border-top: 1px solid var(--hairline);
}
.topic-row:hover {
    color: var(--accent);
}
.topic-name {
    font-family: var(--ff-body);
    font-size: 1.1875rem;
    line-height: 1.4;
}
.topic-count {
    font-family: var(--ff-mono);
    font-size: 0.8125rem;
    color: var(--ink-soft);
    flex-shrink: 0;
    margin-left: 1.5rem;
}

/* ---------- Recent Entries ---------- */
.front-recent {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
    border-top: 1px solid var(--hairline);
}
.front-recent-head {
    grid-column: 2 / 10;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.front-recent-list {
    grid-column: 2 / 11;
}
/* Two-column ledger row: title+category | excerpt */
.entry-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 clamp(1.5rem, 3vw, 2.5rem);
    align-items: baseline;
    padding: clamp(1.5rem, 2.5vw, 2rem) 0;
    border-bottom: 1px solid var(--hairline);
}
.entry-row:first-child {
    border-top: 1px solid var(--hairline);
}
.entry-row.has-number {
    grid-template-columns: 2.5rem 1fr 1fr;
}
.entry-row .entry-number {
    font-family: var(--ff-mono);
    font-size: 0.8125rem;
    color: var(--ink-soft);
    line-height: 1.5;
    padding-top: 0.15em;
}
.entry-row .entry-center {
    min-width: 0;
}
.entry-row .entry-title {
    font-family: var(--ff-display);
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.3rem;
}
.entry-row .entry-title a {
    text-decoration: none;
    color: var(--ink);
}
.entry-row .entry-title a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.entry-row .entry-cat {
    font-family: var(--ff-mono);
    font-size: 0.75rem;
    color: var(--ink-soft);
    letter-spacing: 0.05em;
}
.entry-row .entry-excerpt {
    font-family: var(--ff-body);
    font-size: 1.0625rem;
    color: var(--ink-soft);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-top: 0.15em;
}
.front-recent-foot {
    grid-column: 2 / 10;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.front-recent-foot .text-link {
    font-family: var(--ff-body);
    font-size: 1rem;
}

/* ---------- Closing ---------- */
.front-closing {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
    border-top: 1px solid var(--hairline);
}
.front-closing-content {
    grid-column: 2 / 8;
}
.front-closing .t-display-l {
    margin-bottom: 1.5rem;
}
.front-closing p {
    font-family: var(--ff-body);
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 48ch;
}


/* ==========================================================================
   HOME — ABOUT SECTION
   ========================================================================== */

.home-about {
    border-top: 1px solid var(--hairline);
    padding: var(--section-pad) var(--gutter);
}
.home-about-inner {
    max-width: var(--reading-w);
    margin: 0 auto;
}
.home-about-header {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.home-about-header .t-display-l {
    margin-bottom: 0.75rem;
}
.home-about-sub {
    color: var(--ink-soft);
}
.home-about-body p {
    font-family: var(--ff-body);
    font-size: 1.1875rem;
    line-height: 1.75;
    color: var(--ink);
    margin-bottom: 1.5rem;
}
.home-about-body p:last-child {
    margin-bottom: 0;
}
.home-about-body .text-link {
    font-family: var(--ff-body);
    font-size: inherit;
}


/* ==========================================================================
   SINGLE DEVOTIONAL
   ========================================================================== */

.single-devo-header {
    padding-top: clamp(4rem, 10vw, 10rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
    text-align: center;
}
.single-devo-header .devo-container {
    margin-left: auto;
    margin-right: auto;
}
.single-devo-header .dateline {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.single-devo-header .t-display-xl {
    max-width: 16ch;
    margin-left: auto;
    margin-right: auto;
}

/* Scripture */
.single-devo-scripture {
    padding-bottom: clamp(3rem, 6vw, 5rem);
    text-align: center;
}
.single-devo-scripture .devo-container {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--reading-w);
}
.single-devo-scripture .t-pull-quote {
    margin-bottom: 1rem;
    color: var(--ink);
}
.single-devo-scripture .t-meta {
    font-family: var(--ff-mono);
}

/* Body */
.single-devo-body {
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}
.single-devo-body .devo-container {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--reading-w);
}
.single-devo-body p {
    font-family: var(--ff-body);
    font-size: 1.3125rem;
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: 1.75rem;
}
.single-devo-body p:last-child {
    margin-bottom: 0;
}

/* Drop Cap */
.single-devo-body .has-dropcap > p:first-child::first-letter {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 3.75em;
    float: left;
    line-height: 0.8;
    margin-right: 0.08em;
    margin-top: 0.05em;
    color: var(--ink);
}

/* Short centered rule — used between focus, prayer, nav */
.devo-short-rule {
    position: relative;
    padding-top: clamp(2.5rem, 4vw, 3.5rem);
}
.devo-short-rule::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--hairline);
    margin: 0 auto clamp(2.5rem, 4vw, 3.5rem);
}

/* Focus — stacked label + text */
.single-devo-focus {
    padding-bottom: clamp(1rem, 2vw, 1.5rem);
}
.single-devo-focus .devo-container {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--reading-w);
    text-align: center;
}
.single-devo-focus .focus-label {
    display: block;
    margin-bottom: 1rem;
}
.single-devo-focus .focus-text {
    font-family: var(--ff-body);
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--ink);
    max-width: 52ch;
    margin: 0 auto;
}

/* Prayer — labeled italic closing */
.single-devo-prayer {
    padding-bottom: clamp(1rem, 2vw, 1.5rem);
    text-align: center;
}
.single-devo-prayer .devo-container {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--reading-w);
}
.single-devo-prayer .prayer-label {
    display: block;
    margin-bottom: 1rem;
}
.single-devo-prayer .prayer-text {
    font-family: var(--ff-display);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-style: italic;
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 52ch;
    margin: 0 auto;
}

/* Prev / Next */
.single-devo-nav {
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.single-devo-nav .devo-container {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--reading-w);
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}
.single-devo-nav .nav-link {
    text-decoration: none;
    max-width: 45%;
}
.single-devo-nav .nav-link:hover .nav-title {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.single-devo-nav .nav-label {
    display: block;
    font-family: var(--ff-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ink-soft);
    margin-bottom: 0.5rem;
}
.single-devo-nav .nav-title {
    font-family: var(--ff-display);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.25;
    color: var(--ink);
}
.single-devo-nav .nav-next {
    text-align: right;
    margin-left: auto;
}

/* Back links */
.single-devo-back {
    padding-top: clamp(1.5rem, 3vw, 2rem);
    padding-bottom: var(--section-pad);
    border-top: 1px solid var(--hairline);
    text-align: center;
}
.single-devo-back .devo-container {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}
.single-devo-back .text-link {
    font-family: var(--ff-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-soft);
}
.single-devo-back .text-link:hover {
    color: var(--ink);
}


/* ==========================================================================
   TOPICS PAGE (standalone)
   ========================================================================== */

.front-topics-standalone {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    max-width: 1400px;
    margin: 0 auto;
}
.front-topics-standalone .front-topics-list {
    columns: 2;
    column-gap: clamp(3rem, 5vw, 5rem);
}


/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.devo-page-header {
    padding-top: clamp(4rem, 10vw, 10rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
    border-bottom: 1px solid var(--hairline);
}
.devo-page-header .devo-container {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--reading-w);
}
.devo-page-header .t-eyebrow {
    color: var(--ink-soft);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.devo-page-body {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
}
.devo-page-body .devo-container {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--reading-w);
}
.devo-about-content .t-lead {
    margin-bottom: 2.5rem;
    color: var(--ink);
}
.devo-about-content p {
    font-family: var(--ff-body);
    font-size: 1.1875rem;
    line-height: 1.75;
    color: var(--ink);
    margin-bottom: 1.5rem;
}
.devo-about-content p:last-child {
    margin-bottom: 0;
    font-family: var(--ff-display);
    font-size: 1.375rem;
    font-style: italic;
}


/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-page {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    max-width: 1400px;
    margin: 0 auto;
}

/* Header: oversized heading + offset caption */
.contact-header {
    padding-top: clamp(4rem, 10vw, 10rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
}
.contact-header-inner {
    display: flex;
    align-items: baseline;
    gap: clamp(2rem, 4vw, 4rem);
    flex-wrap: wrap;
}
.contact-title {
    flex-shrink: 0;
}
.contact-caption {
    color: var(--ink-soft);
    padding-bottom: 0.5em;
}

.contact-rule {
    border: none;
    border-top: 1px solid var(--hairline);
    margin: 0;
}

/* Two-zone body */
.contact-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: clamp(3rem, 6vw, 7rem);
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
    align-items: start;
}

/* Right aside — offset lower */
.contact-aside {
    padding-top: clamp(4rem, 6vw, 6rem);
}
.contact-aside-inner {
    padding-top: 0;
}
.contact-aside-title {
    font-family: var(--ff-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--ink);
}
.contact-aside-text {
    font-family: var(--ff-mono);
    font-size: 0.8125rem;
    line-height: 1.65;
    color: var(--ink-soft);
    margin-bottom: 1.5rem;
}
.contact-aside-link {
    font-family: var(--ff-mono);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-soft);
}
.contact-aside-link:hover {
    color: var(--ink);
}

/* ---------- Gravity Forms: Underline-only Fields ---------- */
.devo-form-wrap .gform_wrapper {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.devo-form-wrap .gform_wrapper .gform_fields {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 clamp(1.5rem, 3vw, 2.5rem) !important;
}
.devo-form-wrap .gform_wrapper ul.gform_fields li.gfield {
    width: 100% !important;
    float: none !important;
    display: block !important;
    clear: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: clamp(2rem, 3vw, 2.75rem) !important;
}
.devo-form-wrap .gform_wrapper ul.gform_fields li.gfield:first-child {
    margin-top: 0 !important;
}
/* Side-by-side: Name and Email (fields 1 & 2) */
.devo-form-wrap .gform_wrapper ul.gform_fields li.gfield:nth-child(1),
.devo-form-wrap .gform_wrapper ul.gform_fields li.gfield:nth-child(2) {
    width: calc(50% - 1.25rem) !important;
    flex-shrink: 0;
    margin-top: 0 !important;
}

/* Labels */
.devo-form-wrap .gform_wrapper label,
.devo-form-wrap .gform_wrapper .top_label .gfield_label,
.devo-form-wrap .gform_wrapper .gfield_label {
    font-family: var(--ff-mono) !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    color: var(--ink-soft) !important;
    font-weight: 500 !important;
    margin-bottom: 0.625rem !important;
    display: block !important;
}
/* Hide sub-labels (name field splits) — placeholders used instead */
.devo-form-wrap .gform_wrapper .ginput_complex label,
.devo-form-wrap .gform_wrapper .ginput_complex .ginput_full label {
    display: none !important;
}
/* Placeholder styling */
.devo-form-wrap .gform_wrapper input::placeholder,
.devo-form-wrap .gform_wrapper textarea::placeholder {
    color: var(--ink-soft) !important;
    opacity: 0.6;
    font-family: var(--ff-body) !important;
    font-size: 1rem !important;
}

/* Underline-only inputs */
.devo-form-wrap .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.devo-form-wrap .gform_wrapper textarea,
.devo-form-wrap .gform_wrapper select {
    font-family: var(--ff-body) !important;
    font-size: 1.125rem !important;
    color: var(--ink) !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--hairline) !important;
    border-radius: 0 !important;
    padding: 0.625rem 0 !important;
    height: auto !important;
    line-height: 1.5 !important;
    width: 100% !important;
    transition: border-color 0.25s ease;
    box-shadow: none !important;
}
.devo-form-wrap .gform_wrapper input:focus,
.devo-form-wrap .gform_wrapper textarea:focus,
.devo-form-wrap .gform_wrapper select:focus {
    border-bottom-color: var(--ink) !important;
    outline: none !important;
    box-shadow: none !important;
}
.devo-form-wrap .gform_wrapper textarea {
    min-height: 140px !important;
    resize: vertical;
}

/* Name field compound layout */
.devo-form-wrap .gform_wrapper .ginput_complex {
    display: flex !important;
    gap: 1.5rem;
}
.devo-form-wrap .gform_wrapper .ginput_complex .ginput_full,
.devo-form-wrap .gform_wrapper .ginput_complex > span {
    flex: 1;
    width: auto !important;
    padding: 0 !important;
}

/* Submit: sharp ink button */
.devo-form-wrap .gform_wrapper .gform_footer input[type=submit],
.devo-form-wrap .gform_wrapper input.button {
    font-family: var(--ff-mono) !important;
    font-size: 0.8125rem !important;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: var(--ink) !important;
    color: var(--paper) !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 1rem 2.75rem !important;
    cursor: pointer;
    transition: background 0.25s ease;
    min-width: 0 !important;
    display: inline-block !important;
    float: none !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    height: auto !important;
}
.devo-form-wrap .gform_wrapper .gform_footer input[type=submit]:hover,
.devo-form-wrap .gform_wrapper input.button:hover {
    background: var(--ink-soft) !important;
}
.devo-form-wrap .gform_footer {
    margin-top: clamp(2rem, 3vw, 2.5rem) !important;
    padding-top: 0 !important;
    width: 100% !important;
    clear: both !important;
}

/* Required asterisk */
.devo-form-wrap .gform_wrapper .gfield_required {
    color: var(--ink-soft) !important;
}

/* Validation */
.devo-form-wrap .gform_wrapper .gfield_error input,
.devo-form-wrap .gform_wrapper .gfield_error textarea {
    border-bottom-color: var(--accent) !important;
}
.devo-form-wrap .gform_wrapper .validation_message {
    font-family: var(--ff-mono) !important;
    font-size: 0.75rem !important;
    color: var(--accent) !important;
    margin-top: 0.5rem !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

/* Confirmation */
.devo-form-wrap .gform_confirmation_message {
    background: none !important;
    color: var(--ink) !important;
    border-radius: 0 !important;
    font-family: var(--ff-body) !important;
    font-size: 1.25rem !important;
    padding: 0 !important;
    border-top: 1px solid var(--hairline);
    padding-top: 2rem !important;
}

/* Phone field (field 3) — hide it since brief only calls for name, email, subject, message */
.devo-form-wrap .gform_wrapper ul.gform_fields li.gfield:nth-child(3) {
    display: none !important;
}

/* CAPTCHA field — give it space */
.devo-form-wrap .gform_wrapper .gfield.gfield--type-captcha {
    margin-top: clamp(1.5rem, 2vw, 2rem) !important;
}


/* ==========================================================================
   ARCHIVE / CATEGORY LIST
   ========================================================================== */

.archive-header {
    padding-top: clamp(4rem, 10vw, 10rem);
    padding-bottom: clamp(3rem, 5vw, 4rem);
    border-bottom: 1px solid var(--hairline);
}
.archive-header-inner {
    grid-column: 2 / 10;
}
.archive-header .t-eyebrow {
    color: var(--ink-soft);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.archive-header .t-display-l {
    color: var(--ink);
}
.archive-header .archive-count {
    margin-top: 0.75rem;
}

.archive-list {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
}
.archive-list-inner {
    grid-column: 2 / 11;
}

.archive-pagination {
    grid-column: 2 / 11;
    padding-top: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid var(--hairline);
    display: flex;
    gap: 2rem;
}
.archive-pagination a,
.archive-pagination span {
    font-family: var(--ff-mono);
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: var(--ink-soft);
    transition: color 0.2s ease;
}
.archive-pagination a:hover {
    color: var(--ink);
}
.archive-pagination .current {
    color: var(--ink);
}

/* WordPress paginate plugin override */
.wp-paginate {
    display: flex;
    gap: 1rem;
    font-family: var(--ff-mono) !important;
    font-size: 0.8125rem !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}
.wp-paginate a,
.wp-paginate span {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0.25rem 0.5rem !important;
    font-family: var(--ff-mono) !important;
    font-size: 0.8125rem !important;
    color: var(--ink-soft) !important;
}
.wp-paginate a:hover {
    color: var(--ink) !important;
    background: none !important;
}
.wp-paginate .current {
    color: var(--ink) !important;
    background: none !important;
}


/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.site-footer {
    border-top: 1px solid var(--hairline);
    padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) clamp(2rem, 4vw, 3rem);
}
.site-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.footer-wordmark {
    font-family: var(--ff-display);
    font-size: 1rem;
    font-weight: 400;
    color: var(--ink);
    text-decoration: none;
}
.footer-nav {
    display: flex;
    gap: clamp(1rem, 2.5vw, 2rem);
}
.footer-nav a {
    font-family: var(--ff-mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    text-decoration: none;
    color: var(--ink-soft);
    transition: color 0.2s ease;
}
.footer-nav a:hover {
    color: var(--ink);
}
.footer-copy {
    width: 100%;
    font-family: var(--ff-mono);
    font-size: 0.6875rem;
    color: var(--ink-soft);
    letter-spacing: 0.05em;
    margin-top: 1rem;
}
.footer-copy a {
    color: var(--ink-soft);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-copy a:hover {
    color: var(--ink);
}


/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}


/* ==========================================================================
   FOCUS STATES
   ========================================================================== */

:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}
a:focus:not(:focus-visible) { outline: none; }


/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

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


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

@media (max-width: 1024px) {
    .front-hero-content { grid-column: 1 / 10; }
    .front-today-content { grid-column: 1 / 11; }
    .front-topics-head { grid-column: 1 / 11; }
    .front-topics-list { grid-column: 1 / 13; }
    .front-recent-head { grid-column: 1 / 11; }
    .front-recent-list { grid-column: 1 / 12; }
    .front-recent-foot { grid-column: 1 / 11; }
    .front-closing-content { grid-column: 1 / 10; }
    .archive-header-inner { grid-column: 1 / 11; }
    .archive-list-inner { grid-column: 1 / 12; }
    .archive-pagination { grid-column: 1 / 12; }
}

@media (max-width: 768px) {
    .site-nav { display: none; }
    .menu-toggle { display: block; }

    .grid-12 {
        grid-template-columns: 1fr;
        column-gap: 0;
    }
    .front-hero-content,
    .front-today-content,
    .front-topics-head,
    .front-topics-list,
    .front-recent-head,
    .front-recent-list,
    .front-recent-foot,
    .front-closing-content,
    .archive-header-inner,
    .archive-list-inner,
    .archive-pagination {
        grid-column: 1 / -1;
    }

    .front-topics-list {
        columns: 1;
    }

    .single-devo-nav .devo-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    .single-devo-nav .nav-link {
        max-width: 100%;
    }
    .single-devo-nav .nav-next {
        text-align: left;
        padding-top: 1.5rem;
        border-top: 1px solid var(--hairline);
    }

    .single-devo-focus .devo-container {
        flex-direction: column;
        gap: 0.75rem;
    }

    .entry-row {
        grid-template-columns: 1fr;
        gap: 0.35rem 0;
        padding: clamp(1.25rem, 2vw, 1.5rem) 0;
    }
    .entry-row.has-number {
        grid-template-columns: 2.5rem 1fr;
    }
    .entry-row.has-number .entry-excerpt {
        grid-column: 1 / -1;
    }
    .entry-row .entry-excerpt {
        -webkit-line-clamp: 3;
        margin-top: 0.25rem;
    }

    .front-topics-standalone .front-topics-list {
        columns: 1;
    }

    /* Contact page stack */
    .contact-body {
        grid-template-columns: 1fr;
        gap: clamp(3rem, 5vw, 4rem);
    }
    .contact-aside {
        padding-top: 0;
    }
    .devo-form-wrap .gform_wrapper ul.gform_fields li.gfield:nth-child(1),
    .devo-form-wrap .gform_wrapper ul.gform_fields li.gfield:nth-child(2) {
        width: 100% !important;
    }

    .site-footer-inner {
        flex-direction: column;
        gap: 1.25rem;
    }
    .footer-nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .single-devo-header .t-display-xl {
        max-width: none;
    }
}
