/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Description: The Current custom child theme
Author: Tom Usborne
Author URI: https://tomusborne.com
Template: generatepress
Version: 0.1
*/
/* The Current — Brand: #222 charcoal, #F05A28 orange, #F4F0E6 cream */
/* The Current — Contractor Directory */
.contractor-directory {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 24px;
}
.directory-header {
    max-width: 750px;
    margin-bottom: 50px;
}
.directory-header h1 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.1;
    margin-bottom: 20px;
}
.directory-header p {
    font-size: 18px;
    line-height: 1.7;
    color: #686868;
}
.contractor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
/* Contractor cards — consistent height and aligned links */
.contractor-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid #DDD6C9;
    border-radius: 12px;
    padding: 26px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.contractor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
}

.contractor-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.contractor-card-link:hover,
.contractor-card-link:focus {
    color: #F05A28;
}

.contractor-card-logo,
.contractor-card .contractor-logo-placeholder {
    width: 100%;
    height: 120px;
    margin-bottom: 22px;
    border-radius: 8px;
    box-sizing: border-box;
}

.contractor-card-logo {
    display: block;
    object-fit: contain;
    object-position: center;
    background: #F4F0E6;
    padding: 15px;
}

.contractor-card .contractor-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F4F0E6;
    font-size: 38px;
}

.contractor-card h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 12px;
}

.contractor-card-city {
    font-size: 14px;
    color: #686868;
    margin-bottom: 20px;
}

.contractor-card .specialty-list {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
    margin-bottom: 25px;
}

.contractor-card .specialty-badge {
    display: inline-block;
    background: #F4F0E6;
    color: #333;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.contractor-card-cta {
    display: block;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #e5e5e5;
    color: #F05A28;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.contractor-card-cta:hover,
.contractor-card-cta:focus {
    color: #222;
}

.directory-pagination {
    margin-top: 40px;
}
@media (max-width: 900px) {
    .contractor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .contractor-grid {
        grid-template-columns: 1fr;
    }
    .contractor-card {
        padding: 22px;
    }

    .contractor-card h2 {
        font-size: 24px;
    }
}
.contractor-filter label {
    font-weight: 700;
}
.contractor-filter select {
    min-width: 230px;
    padding: 12px 16px;
    border: 1px solid #DDD6C9;
    border-radius: 6px;
    background: #FFFFFF;
}
.contractor-filter button {
    background: #F05A28;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 700;
    cursor: pointer;
}
.contractor-filter button:hover {
    background: #171717;
}
/* Contractor Directory — Search Layout */
.contractor-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    align-items: end;
    margin-bottom: 40px;
    max-width: 850px;
}
/* Search input occupies entire first row */
.contractor-search-field {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.contractor-search-field input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 14px 16px;
}
/* Dropdowns occupy second row */
.contractor-filter label[for="specialty-filter"] {
    grid-column: 1;
    grid-row: 2;
}
.contractor-filter #specialty-filter {
    grid-column: 1;
    grid-row: 3;
}
.contractor-filter label[for="city-filter"] {
    grid-column: 2;
    grid-row: 2;
}
.contractor-filter #city-filter {
    grid-column: 2;
    grid-row: 3;
}
.contractor-filter select {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 12px 16px;
}
/* Submit button */
.contractor-filter button[type="submit"] {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 8px;
}
/* Clear filters */
.contractor-filter-reset {
    grid-column: 1 / -1;
    justify-self: start;
}
/* Mobile layout */
@media (max-width: 600px) {
    .contractor-filter {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .contractor-search-field,
    .contractor-filter label[for="specialty-filter"],
    .contractor-filter #specialty-filter,
    .contractor-filter label[for="city-filter"],
    .contractor-filter #city-filter,
    .contractor-filter button[type="submit"],
    .contractor-filter-reset {
        grid-column: 1;
        grid-row: auto;
    }
    .contractor-filter button[type="submit"] {
        width: 100%;
    }
}
/* The Current — Article Typography */
body.single-post .entry-content {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    font-variant: normal;
    text-transform: none;
    letter-spacing: normal;
}
body.single-post .entry-content p,
body.single-post .entry-content li {
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    font-variant: normal;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}
body.single-post .entry-content h2,
body.single-post .entry-content h3 {
    font-family: "DM Serif Display", Georgia, serif;
    font-variant: normal;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.25;
}
body.single-post .entry-content h2 {
    font-size: clamp(28px, 3vw, 38px);
    margin-top: 48px;
}
body.single-post .entry-content h3 {
    font-size: 26px;
    margin-top: 32px;
}
body.single-post .entry-content p {
    margin-bottom: 24px;
}
/* Keep article title distinct from body content */
body.single-post .entry-title {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.12;
    text-transform: none;
    font-variant: normal;
}
/* Responsive article typography */
@media (max-width: 600px) {
    body.single-post .entry-content,
    body.single-post .entry-content p,
    body.single-post .entry-content li {
        font-size: 16px;
        line-height: 1.75;
    }
}
body.single-post .entry-meta {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-variant: normal;
    text-transform: none;
    letter-spacing: 0.3px;
    margin-bottom: 32px;
}
/* The Current — Editorial Article Metadata */
body.single-post .current-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.5px;
    text-transform: none;
}
body.single-post .current-article-category {
    color: #F05A28;
    font-weight: 700;
}
body.single-post .current-meta-separator {
    color: #999;
}
@media (max-width: 600px) {
    body.single-post .current-article-meta {
        font-size: 12px;
        gap: 7px;
    }
}
/* The Current — Author Bio */
body.single-post .current-author-box {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin: 55px 0 35px;
    padding: 30px;
    border-top: 3px solid #F05A28;
    background: #F7F6F3;
    border-radius: 6px;
}
.current-author-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}
.current-author-details {
    flex: 1;
    min-width: 0;
}
.current-author-label {
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #F05A28;
}
.current-author-details h3 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 26px;
    margin: 8px 0 12px;
}
.current-author-details p {
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.current-author-link {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #F05A28;
    text-decoration: none;
}
.current-author-link:hover {
    text-decoration: underline;
}
@media (max-width: 600px) {
    body.single-post .current-author-box {
        flex-direction: column;
        padding: 22px;
    }
}
/* The Current — Related Articles */
body.single-post .current-related-posts {
    margin: 60px 0;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}
.current-related-posts > h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 28px;
}
.current-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.current-related-card {
    min-width: 0;
}
.current-related-card a {
    color: inherit;
    text-decoration: none;
}
.current-related-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 5px;
    display: block;
    margin-bottom: 14px;
}
.current-related-card h3 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 10px;
}
.current-related-card a:hover h3 {
    color: #F05A28;
}
.current-related-date {
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #777;
}
@media (max-width: 900px) {
    .current-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .current-related-grid {
        grid-template-columns: 1fr;
    }
    .current-related-posts > h2 {
        font-size: 28px;
    }
}
/* =====================================
   THE CURRENT — BLOG ARCHIVE
===================================== */
.current-blog-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 90px;
}
/* Editorial Header */
.current-blog-header {
    margin-bottom: 55px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
}
.current-blog-eyebrow {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #F05A28;
    margin-bottom: 16px;
}
.current-blog-header h1 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 18px;
}
.current-blog-header p {
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}
/* Article Grid */
.current-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 28px;
}
.current-blog-card {
    min-width: 0;
}
.current-blog-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}
.current-blog-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    border-radius: 5px;
    margin-bottom: 18px;
}
.current-blog-card-content {
    padding: 0 2px;
}
.current-blog-date {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
}
.current-blog-card h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 12px;
}
.current-blog-card p {
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0 0 15px;
}
.current-blog-readmore {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #F05A28;
}
.current-blog-card a:hover h2 {
    color: #F05A28;
}
/* Pagination */
.current-blog-pagination {
    margin-top: 60px;
    text-align: center;
}
/* Responsive Layout */
@media (max-width: 900px) {
    .current-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .current-blog-archive {
        padding: 35px 18px 60px;
    }
    .current-blog-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .current-blog-header {
        margin-bottom: 35px;
    }
    .current-blog-card h2 {
        font-size: 24px;
    }
}
/* =====================================
   THE CURRENT — FEATURED ARTICLE
===================================== */
.current-featured-article {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 45px;
    align-items: center;
    margin-bottom: 65px;
    padding-bottom: 55px;
    border-bottom: 1px solid #ddd;
}
/* Featured Image */
.current-featured-image {
    min-width: 0;
    overflow: hidden;
    border-radius: 6px;
}
.current-featured-image a {
    display: block;
}
.current-featured-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.current-featured-image a:hover img {
    transform: scale(1.035);
}
/* Featured Content */
.current-featured-content {
    min-width: 0;
}
.current-featured-label {
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #F05A28;
    margin-bottom: 18px;
}
.current-featured-content h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(32px, 3.5vw, 52px);
    font-weight: 400;
    line-height: 1.12;
    margin: 0 0 22px;
}
.current-featured-content h2 a {
    color: inherit;
    text-decoration: none;
}
.current-featured-content h2 a:hover {
    color: #F05A28;
}
.current-featured-content p {
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: #666;
    margin: 0 0 26px;
}
.current-featured-link {
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #F05A28;
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 2px solid #F05A28;
}
.current-featured-link:hover {
    color: #222;
    border-color: #222;
}
/* Tablet */
@media (max-width: 900px) {
    .current-featured-article {
        gap: 25px;
    }
    .current-featured-content h2 {
        font-size: 34px;
    }
}
/* Mobile */
@media (max-width: 650px) {
    .current-featured-article {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 45px;
        padding-bottom: 40px;
    }
    .current-featured-content h2 {
        font-size: 32px;
    }
    .current-featured-content p {
        font-size: 16px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .current-featured-image img {
        transition: none;
    }
}
/* The Current — Latest Articles Heading */
.current-blog-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 30px;
}
.current-blog-section-heading h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    margin: 0;
}
.current-blog-section-heading span {
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #777;
}
@media (max-width: 600px) {
    .current-blog-section-heading {
        flex-direction: column;
        gap: 6px;
    }
}
/* The Current — Category Archive */
.current-category-description {
    max-width: 720px;
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #666;
}
.current-category-description p {
    margin: 0;
}
/* The Current — Category Navigation */
.current-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 42px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e5e5e5;
}
.current-category-nav a {
    display: inline-block;
    padding: 9px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    text-decoration: none;
    transition: 0.2s ease;
}
.current-category-nav a:hover {
    border-color: #F05A28;
    color: #F05A28;
}
.current-category-nav a.is-active {
    background: #F05A28;
    border-color: #F05A28;
    color: #fff;
}
@media (max-width: 600px) {
    .current-category-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 15px;
    }
    .current-category-nav a {
        flex-shrink: 0;
    }
}
/* The Current — Search Styling */
/* Navigation search */
.navigation-search input[type="search"] {
    background: #222;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 15px;
}
.navigation-search input[type="search"]::placeholder {
    color: #ccc;
}
/* Search results page */
.current-search-page .search-form {
    display: flex;
    gap: 10px;
    max-width: 650px;
    margin-top: 30px;
}
.current-search-page .search-form label {
    flex: 1;
}
.current-search-page .search-field {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 16px;
}
.current-search-page .search-submit {
    padding: 14px 24px;
    background: #F05A28;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}
.current-search-page .search-submit:hover {
    background: #d94a1d;
}
@media (max-width: 600px) {
    .current-search-page .search-form {
        flex-direction: column;
    }
}
/* THE CURRENT — Header Navigation */
@media (min-width: 769px) {
    .inside-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }
    .main-navigation .main-nav > ul {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }
    .main-navigation .main-nav ul li a {
        padding-left: 13px;
        padding-right: 13px;
        white-space: nowrap;
        font-size: 15px;
    }
    .main-navigation .menu-bar-items {
        display: flex;
        align-items: center;
    }
    .main-navigation .inside-navigation {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }
}
/* THE CURRENT — Navigation Polish */
@media (min-width: 769px) {
    .main-navigation .main-nav ul li a {
        font-size: 15px;
        letter-spacing: 0.3px;
        transition: color 0.2s ease;
    }
    .main-navigation .main-nav ul li:not(.current-menu-item) > a:hover {
        color: #F05A28;
    }
    .main-navigation .main-nav ul li.current-menu-item > a {
        color: #F05A28;
    }
    .site-title a {
        font-family: "DM Serif Display", Georgia, serif;
        letter-spacing: -0.5px;
    }
}
/* =====================================
   THE CURRENT — CONTRACTOR PROFILE
   Matches single-contractor.php
===================================== */
.contractor-profile {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 24px;
    font-family: "DM Sans", Arial, sans-serif;
}
.contractor-header {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 40px;
    background: #222;
    color: #fff;
    border-radius: 12px;
    margin-bottom: 40px;
}
.contractor-header .contractor-logo {
    flex: 0 0 150px;
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contractor-header .contractor-logo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin: 0;
}
.contractor-header-content {
    flex: 1;
    min-width: 0;
}
.contractor-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #F05A28;
    margin: 0 0 12px;
}
.contractor-header h1 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 400;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 12px;
}
.contractor-header .contractor-location {
    color: #ddd;
    font-size: 17px;
    margin: 0 0 22px;
}
.contractor-contact-button {
    display: inline-block;
    background: #F05A28;
    color: #fff;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
}
.contractor-contact-button:hover,
.contractor-contact-button:focus {
    background: #d94d20;
    color: #fff;
}
.contractor-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 40px;
    align-items: start;
    margin: 0 0 60px;
}
.contractor-main-content,
.contractor-sidebar {
    min-width: 0;
}
.contractor-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
}
.contractor-description h2,
.contractor-specialties h2,
.contractor-details h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-weight: 400;
    margin: 0 0 20px;
}
.contractor-specialties {
    margin-top: 35px;
}
.specialty-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.contractor-profile .specialty-badge {
    display: inline-block;
    background: #f3f3f3;
    color: #222;
    border: 1px solid #e5e5e5;
    padding: 8px 14px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.contractor-profile .specialty-badge:hover,
.contractor-profile .specialty-badge:focus {
    background: #F05A28;
    border-color: #F05A28;
    color: #fff;
}
.contractor-sidebar .contractor-details {
    background: #F4F0E6;
    border: 1px solid #DDD6C9;
    border-radius: 10px;
    padding: 28px;
}
.contractor-sidebar .contractor-details h2 {
    font-size: 25px;
    margin-bottom: 25px;
}
.contractor-contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0 0 22px;
    overflow-wrap: anywhere;
}
.contractor-contact-item:last-child {
    margin-bottom: 0;
}
.contractor-contact-item strong {
    color: #222;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.contractor-contact-item a {
    color: #F05A28;
    text-decoration: none;
    font-weight: 500;
}
.contractor-contact-item a:hover {
    text-decoration: underline;
}
.contractor-contact-item span {
    color: #444;
}
@media (max-width: 768px) {
    .contractor-profile {
        margin: 35px auto;
        padding: 0 18px;
    }
    .contractor-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
        gap: 20px;
    }
    .contractor-header .contractor-logo {
        flex-basis: auto;
        width: 120px;
        height: 120px;
    }
    .contractor-profile-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .contractor-sidebar .contractor-details {
        padding: 22px;
    }
}
/* ==========================================
   THE CURRENT — SITE FOOTER
========================================== */
.current-site-footer {
    width: 100%;
    background: #222222;
    color: #f4f0e6;
    padding: 65px 24px 25px;
    box-sizing: border-box;
}
.current-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}
/* Three-column footer layout */
.current-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
}
/* Brand */
.current-footer-brand h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.1;
    color: #ffffff;
    margin: 0 0 20px;
}
.current-footer-brand h2 span {
    color: #F05A28;
}
.current-footer-brand p {
    max-width: 360px;
    font-size: 15px;
    line-height: 1.7;
    color: #c9c7c2;
    margin: 0 0 16px;
}
.current-footer-tagline {
    font-weight: 700;
    color: #ffffff !important;
}
/* Footer columns */
.current-footer-column h3 {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #F05A28;
    margin: 0 0 24px;
}
.current-footer-column p {
    font-size: 15px;
    line-height: 1.7;
    color: #c9c7c2;
    margin-bottom: 20px;
}
/* Navigation links */
.current-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.current-footer-column li {
    margin-bottom: 14px;
}
.current-site-footer a {
    color: #e8e5df;
    text-decoration: none;
    transition: color 0.2s ease;
}
.current-site-footer a:hover {
    color: #F05A28;
}
.current-footer-contact {
    display: inline-block;
    font-weight: 700;
    border-bottom: 2px solid #F05A28;
    padding-bottom: 5px;
}
/* Copyright and legal links */
.current-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid #454545;
}
.current-footer-bottom p {
    font-size: 13px;
    color: #a9a7a3;
    margin: 0;
}
.current-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}
.current-footer-legal a {
    font-size: 13px;
}
/* Tablet */
@media (max-width: 900px) {
    .current-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
    .current-footer-brand {
        grid-column: 1 / -1;
    }
}
/* Mobile */
@media (max-width: 600px) {
    .current-site-footer {
        padding: 45px 20px 25px;
    }
    .current-footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 35px;
    }
    .current-footer-brand {
        grid-column: auto;
    }
    .current-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .current-footer-legal {
        gap: 15px;
    }
}
/* =====================================
   CONTRACTOR PROFILE — BACK LINK
===================================== */
.contractor-back-navigation {
    margin: 30px 0 50px;
    padding-top: 25px;
    border-top: 1px solid #e5e5e5;
}
.contractor-back-navigation a {
    display: inline-flex;
    align-items: center;
    color: #F05A28;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}
.contractor-back-navigation a:hover {
    color: #222222;
    text-decoration: underline;
}

/* =====================================
   CONTRACTOR DIRECTORY — SIGNUP CTA
===================================== */

.contractor-signup-cta {
    background: #222222;
    color: #F4F0E6;
    border-radius: 12px;
    padding: 65px 50px;
    margin: 80px 0 30px;
    position: relative;
    overflow: hidden;
    border-left: 6px solid #F05A28;
}

.contractor-signup-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.contractor-signup-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #F05A28;
    margin-bottom: 18px;
}

.contractor-signup-cta h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.15;
    color: #FFFFFF;
    margin: 0 0 20px;
}

.contractor-signup-cta p {
    font-size: 17px;
    line-height: 1.7;
    color: #D5D2CD;
    margin-bottom: 30px;
}

.contractor-signup-button {
    display: inline-block;
    background: #F05A28;
    color: #FFFFFF;
    padding: 15px 26px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.contractor-signup-button:hover {
    background: #FFFFFF;
    color: #222222;
}

@media (max-width: 600px) {
    .contractor-signup-cta {
        padding: 40px 25px;
        margin-top: 50px;
    }

    .contractor-signup-cta p {
        font-size: 16px;
    }

    .contractor-signup-button {
        display: block;
        text-align: center;
    }
}

/* FIX AUTHOR BIO CAPITALIZATION */

body.author .author-info,
body.author .author-description,
body.author .author-bio,
body.author .taxonomy-description,
body.author .page-header p,
body.author .page-header .author-description {
    text-transform: none !important;
    font-variant: normal !important;
    letter-spacing: normal !important;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

/* ==========================================
   THE CURRENT — RESOURCES LIBRARY
========================================== */

.current-resources-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 65px 24px 100px;
    font-family: "DM Sans", Arial, sans-serif;
}

/* PAGE HEADER */

.resources-header {
    max-width: 780px;
    margin-bottom: 55px;
}

.resources-eyebrow {
    display: block;
    color: #F05A28;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.resources-header h1 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 400;
    line-height: 1.1;
    color: #222222;
    margin: 0 0 22px;
}

.resources-header p {
    font-size: 18px;
    line-height: 1.7;
    color: #686868;
    margin: 0;
}

/* RESOURCE GRID */

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

/* RESOURCE CARD */

.resource-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #FFFFFF;
    border: 1px solid #DDD6C9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* FEATURED IMAGE */

.resource-card-image {
    aspect-ratio: 16 / 10;
    background: #F4F0E6;
    overflow: hidden;
}

.resource-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CARD CONTENT */

.resource-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 26px;
}

.resource-card-type {
    align-self: flex-start;
    display: inline-block;
    color: #F05A28;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.resource-card h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.25;
    color: #222222;
    margin: 0 0 15px;
}

.resource-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #686868;
    margin: 0 0 28px;
}

/* ACTION BUTTON */

.resource-card-button {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    padding: 12px 20px;
    background: #F05A28;
    color: #FFFFFF;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.resource-card-button:hover,
.resource-card-button:focus {
    background: #222222;
    color: #FFFFFF;
}

/* TABLET */

@media (max-width: 900px) {
    .resources-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .current-resources-page {
        padding: 40px 18px 65px;
    }

    .resources-header {
        margin-bottom: 35px;
    }

    .resources-header p {
        font-size: 16px;
    }

    .resources-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .resource-card-content {
        padding: 22px;
    }

    .resource-card h2 {
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .resource-card {
        transition: none;
    }
}

/* RESOURCE CATEGORY NAVIGATION */

.resources-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.resources-category-nav a {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #DDD6C9;
    border-radius: 5px;
    background: #FFFFFF;
    color: #222222;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.resources-category-nav a:hover {
    border-color: #F05A28;
    color: #F05A28;
}

.resources-category-nav a.is-active {
    background: #F05A28;
    border-color: #F05A28;
    color: #FFFFFF;
}

@media (max-width: 600px) {
    .resources-category-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .resources-category-nav a {
        flex-shrink: 0;
    }
}

/* ==========================================
   THE CURRENT — SINGLE RESOURCE PAGE
========================================== */

/* Back navigation */

.resource-back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 40px;
    color: #F05A28;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.resource-back-link:hover {
    color: #222222;
}

/* Resource page header */

.current-single-resource .resources-header {
    max-width: 850px;
    margin-bottom: 40px;
}

/* Featured image */

.single-resource-image {
    max-width: 1000px;
    margin-bottom: 50px;
    border-radius: 12px;
    overflow: hidden;
    background: #F4F0E6;
}

.single-resource-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

/* Main content */

.single-resource-content {
    max-width: 800px;
    font-size: 17px;
    line-height: 1.8;
    color: #333333;
}

.single-resource-content h2,
.single-resource-content h3 {
    font-family: "DM Serif Display", Georgia, serif;
    font-weight: 400;
    color: #222222;
    margin-top: 35px;
    margin-bottom: 18px;
}

.single-resource-content p {
    margin-bottom: 22px;
}

/* Download / open resource section */

.single-resource-action {
    margin-top: 55px;
    padding: 35px;
    background: #F4F0E6;
    border-left: 4px solid #F05A28;
    border-radius: 8px;
}

.single-resource-action h2 {
    margin: 0 0 12px;
    font-size: 30px;
}

.single-resource-action p {
    margin-bottom: 22px;
}

.single-resource-action .resource-card-button {
    margin-top: 5px;
}

/* Version information */

.single-resource-action .resource-version {
    margin: 18px 0 0;
    color: #777777;
    font-size: 12px;
}

/* Mobile adjustments */

@media (max-width: 600px) {

    .resource-back-link {
        margin-bottom: 25px;
    }

    .single-resource-image {
        margin-bottom: 30px;
    }

    .single-resource-content {
        font-size: 16px;
    }

    .single-resource-action {
        padding: 24px;
        margin-top: 35px;
    }

    .single-resource-action h2 {
        font-size: 26px;
    }
}
/* The Current — Work With Us Cards */

.current-work-with-us .wp-block-columns > .wp-block-column {
    background: #ffffff;
    border: 1px solid #e5dfd4;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}
/* The Current — Blog Article Cards */

.current-blog-card {
    background: #ffffff;
    border: 1px solid #e5dfd4;
    border-radius: 14px;
    overflow: hidden;
    padding: 5px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.current-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
/* The Current — Contractor Directory Benefits */

.current-directory-benefits > .wp-block-column {
    background: #ffffff;
    border: 1px solid #e5dfd4;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.current-directory-benefits > .wp-block-column:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* The Current — Category Cards */

.current-category-card {
    background-color: #ffffff;
    padding: 28px;
    border-radius: 12px;
    border: 1px solid #e5e2dd;
    min-height: 180px;
    box-sizing: border-box;
    height: 100%;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.current-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.current-category-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 24px;
    line-height: 1.2;
    color: #242424;
}

.current-category-card p {
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .current-category-card {
        min-height: auto;
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .current-category-card {
        transition: none;
    }
}

/* Category card heading links */

.current-category-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.current-category-card h3 a:hover {
    color: #b75c38;
}

.current-category-card:focus-within {
    outline: 2px solid #b75c38;
    outline-offset: 3px;
}

/* Make category card heading links cover the card */

.current-category-card {
    position: relative;
    cursor: pointer;
}

.current-category-card h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
}

.current-category-card:hover {
    border-color: #b75c38;
}

.current-category-card:focus-within {
    outline: 2px solid #b75c38;
    outline-offset: 3px;
}




/* The Current — Business Feature */

.current-business-feature {
    background: #222222;
    border-left: 6px solid #f45125;
    border-radius: 12px;
    padding: 65px 50px;
    color: #ffffff;
    box-sizing: border-box;
}

.current-business-feature p:first-child {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f45125;
}

.current-business-feature h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.2;
    color: #ffffff;
    max-width: 750px;
}

.current-business-feature p {
    color: #f5f1e9;
    font-family: "DM Sans", sans-serif;
    line-height: 1.7;
    max-width: 680px;
}

.current-business-feature p:last-child a {
    display: inline-block;
    background: #f45125;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 16px;
}

.current-business-feature p:last-child a:hover {
    background: #d93d17;
}

@media (max-width: 768px) {
    .current-business-feature {
        padding: 35px 25px;
    }
}

/* The Current — Orange Business Feature Button */

.current-business-feature .wp-block-button__link,
.current-business-feature p:last-child a {
    display: inline-block;
    background: #f45125 !important;
    background-color: #f45125 !important;
    color: #ffffff !important;
    padding: 14px 24px !important;
    border-radius: 6px !important;
    border: none !important;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}

.current-business-feature .wp-block-button__link:hover,
.current-business-feature p:last-child a:hover {
    background: #d93d17 !important;
    background-color: #d93d17 !important;
    color: #ffffff !important;
}
/* ==========================================
   THE CURRENT — MANUFACTURER DIRECTORY
   ========================================== */

.current-manufacturers {
    max-width: 1200px;
    margin: 0 auto;
    padding: 65px 24px 90px;
}

/* Directory introduction */

.current-manufacturers__intro {
    background: #222222;
    border-left: 6px solid #f45125;
    border-radius: 12px;
    padding: 55px 50px;
    margin-bottom: 45px;
}

.current-manufacturers__intro .current-eyebrow {
    color: #f45125;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.current-manufacturers__intro h1 {
    color: #ffffff;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.1;
    margin: 18px 0;
}

.current-manufacturers__intro > p:last-child {
    color: #f4f0e6;
    font-size: 17px;
    line-height: 1.7;
    max-width: 680px;
}

/* Manufacturer card grid */

.current-manufacturers__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Individual manufacturer cards */

.current-manufacturer-card {
    background: #ffffff;
    border: 1px solid #e8e3da;
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.current-manufacturer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Manufacturer logo */

.current-manufacturer-card__logo {
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.current-manufacturer-card__logo img {
    max-width: 180px;
    max-height: 85px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Card text */

.current-manufacturer-card h2 {
    color: #222222;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 25px;
    line-height: 1.2;
    margin: 0 0 12px;
}

.current-manufacturer-card__description {
    color: #555555;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Resource links */

.current-manufacturer-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: auto;
}

.current-manufacturer-card__links a {
    display: inline-block;
    background: #222222;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 6px;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.current-manufacturer-card__links a:hover {
    background: #f45125;
    color: #ffffff;
}

.current-manufacturer-card__links a:focus-visible {
    outline: 3px solid #f45125;
    outline-offset: 3px;
}

/* Tablet */

@media (max-width: 900px) {
    .current-manufacturers__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */

@media (max-width: 600px) {
    .current-manufacturers {
        padding: 35px 16px 60px;
    }

    .current-manufacturers__intro {
        padding: 35px 25px;
    }

    .current-manufacturers__grid {
        grid-template-columns: 1fr;
    }

    .current-manufacturer-card {
        padding: 24px;
    }
}/* Manufacturer directory filters */

.current-manufacturers__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.current-manufacturers__filters a {
    display: inline-block;
    padding: 11px 18px;
    background: #ffffff;
    border: 1px solid #e8e3da;
    border-radius: 30px;
    color: #222222;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.current-manufacturers__filters a:hover {
    border-color: #f45125;
    color: #f45125;
}

.current-manufacturers__filters a.is-active {
    background: #222222;
    border-color: #222222;
    color: #ffffff;
}

.current-manufacturers__filters a:focus-visible {
    outline: 3px solid #f45125;
    outline-offset: 3px;
}
/* Manufacturer directory search */

.current-manufacturers__search {
    margin-bottom: 30px;
}

.current-manufacturers__search label {
    display: block;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 10px;
}

.current-manufacturers__search input {
    width: 100%;
    max-width: 500px;
    padding: 15px 18px;
    border: 1px solid #d8d2c8;
    border-radius: 8px;
    background: #ffffff;
    color: #222222;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
}

.current-manufacturers__search input:focus {
    outline: 2px solid #f45125;
    outline-offset: 2px;
}

.current-manufacturer-card[hidden],
#manufacturer-search-empty[hidden] {
    display: none !important;
}

#manufacturer-search-empty {
    margin-top: 15px;
    color: #555555;
    font-family: "DM Sans", sans-serif;
}
/* Manufacturer category badges */

.current-manufacturer-card__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 16px;
}

.current-manufacturer-card__category {
    display: inline-block;
    background: #F4F0E6;
    color: #222222;
    border-left: 3px solid #F45125;
    padding: 6px 10px;
    border-radius: 4px;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}
/* ==========================================
   THE CURRENT — MANUFACTURER PROFILE
   ========================================== */

.current-manufacturer-profile {
    max-width: 1050px;
    margin: 0 auto;
    padding: 55px 24px 90px;
    font-family: "DM Sans", sans-serif;
}

/* Back navigation */

.current-manufacturer-back {
    display: inline-block;
    margin-bottom: 28px;
    color: #F45125;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.current-manufacturer-back:hover {
    text-decoration: underline;
}

/* Main profile */

.current-manufacturer-detail {
    background: #FFFFFF;
    border: 1px solid #E8E3DA;
    border-radius: 14px;
    overflow: hidden;
}

/* Header */

.current-manufacturer-detail__header {
    background: #222222;
    padding: 50px;
}

.current-manufacturer-detail__header .current-eyebrow {
    color: #F45125;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.current-manufacturer-detail__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    padding: 18px 24px;
    border-radius: 10px;
    margin-bottom: 25px;
    min-height: 90px;
}

.current-manufacturer-detail__logo img {
    display: block;
    max-width: 220px;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.current-manufacturer-detail__header h1 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.1;
    color: #FFFFFF;
    margin: 0 0 22px;
}

/* Profile content */

.current-manufacturer-detail__about,
.current-manufacturer-detail__resources {
    padding: 40px 50px;
}

.current-manufacturer-detail__about {
    border-bottom: 1px solid #E8E3DA;
}

.current-manufacturer-detail__about h2,
.current-manufacturer-detail__resources h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 30px;
    color: #222222;
    margin: 0 0 20px;
}

.current-manufacturer-detail__about p {
    font-size: 16px;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 16px;
}

/* Resource links */

.current-manufacturer-detail__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.current-manufacturer-detail__links a {
    display: inline-flex;
    align-items: center;
    padding: 14px 20px;
    background: #222222;
    color: #FFFFFF;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.current-manufacturer-detail__links a:hover {
    background: #F45125;
    color: #FFFFFF;
}

.current-manufacturer-detail__links a:focus-visible {
    outline: 3px solid #F45125;
    outline-offset: 3px;
}
/* Manufacturer profile navigation */

.current-manufacturer-card h2 a {
    color: #222222;
    text-decoration: none;
    transition: color 0.2s ease;
}

.current-manufacturer-card h2 a:hover {
    color: #F45125;
}

.current-manufacturer-card__logo {
    text-decoration: none;
}

.current-manufacturer-card h2 a:focus-visible,
.current-manufacturer-card__logo:focus-visible {
    outline: 3px solid #F45125;
    outline-offset: 4px;
    border-radius: 4px;
}
/* The Current — Manufacturer Resource Library */

.current-manufacturer-resource-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.current-manufacturer-resource {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    background: #F4F0E6;
    border: 1px solid #E8E3DA;
    border-left: 4px solid #F45125;
    border-radius: 8px;
    color: #222222;
    text-decoration: none;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.current-manufacturer-resource:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.current-manufacturer-resource__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.current-manufacturer-resource__info strong {
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    color: #222222;
}

.current-manufacturer-resource__info small {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    color: #666666;
}

.current-manufacturer-resource > span:last-child {
    color: #F45125;
    font-size: 22px;
    font-weight: 700;
}

.current-manufacturer-resource:focus-visible {
    outline: 3px solid #F45125;
    outline-offset: 3px;
}

@media (max-width: 650px) {
    .current-manufacturer-resource-list {
        grid-template-columns: 1fr;
    }
}
/* Manufacturer resource count */

.current-manufacturer-card__resource-count {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    color: #222222;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.current-manufacturer-card__resource-count span {
    color: #F45125;
    font-size: 17px;
}
/* The Electrical Rolodex — File Format Badges */

.current-resource-format {
    display: inline-block;
    background: #F45125;
    color: #FFFFFF;
    font-family: "DM Sans", sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    padding: 6px 9px;
    border-radius: 3px;
    margin-right: 8px;
    vertical-align: middle;
}

.current-manufacturer-resource:hover .current-resource-format {
    background: #222222;
}
/* Electrical Rolodex — Resource Card Alignment */

.current-manufacturer-resource {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.current-manufacturer-resource__info {
    flex: 1;
    min-width: 0;
}

.current-manufacturer-resource__info small {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    line-height: 1.5;
}

.current-resource-format {
    flex-shrink: 0;
    margin-right: 0;
}

.current-resource-filesize {
    white-space: nowrap;
}

.current-resource-action {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.9rem;
}

/* THE CURRENT — MAILPOET NEWSLETTER */

.mailpoet_form {
    background: #F4F0E6;
    border: 1px solid #DED8CD;
    border-left: 5px solid #F45125;
    border-radius: 12px;
    padding: 36px !important;
    max-width: 950px;
    margin: 40px auto;
    box-sizing: border-box;
}

.mailpoet_form,
.mailpoet_form p,
.mailpoet_form label {
    font-family: "DM Sans", sans-serif;
    color: #222222;
}

.mailpoet_form input[type="email"],
.mailpoet_form input[type="text"] {
    width: 100% !important;
    padding: 14px 16px !important;
    background: #FFFFFF !important;
    border: 1px solid #D5CEC2 !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    box-sizing: border-box;
}

.mailpoet_form input:focus {
    outline: 2px solid #F45125;
    outline-offset: 2px;
}

.mailpoet_form input[type="submit"],
.mailpoet_form button[type="submit"] {
    background: #F45125 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 14px 24px !important;
    font-family: "DM Sans", sans-serif;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mailpoet_form input[type="submit"]:hover,
.mailpoet_form button[type="submit"]:hover {
    background: #222222 !important;
}

@media (max-width: 600px) {
    .mailpoet_form {
        padding: 24px 18px !important;
        margin: 24px auto;
    }
}
/* THE CURRENT — FIX NESTED MAILPOET CARDS */

.mailpoet_form .mailpoet_form {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}
/* THE CURRENT — NEWSLETTER BENEFIT CARDS */

.current-newsletter-benefits {
    gap: 10;
    margin: 20px auto;
}

/* Individual cards */
.current-newsletter-benefits > .wp-block-column {
    background: #FFFFFF;
    border: 1px solid #DED8CD;
    border-top: 4px solid #F45125;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

/* Card hover */
.current-newsletter-benefits > .wp-block-column:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(34, 34, 34, 0.10);
}

/* Card headings */
.current-newsletter-benefits h3 {
    color: #222222;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 12px;
}

/* Card descriptions */
.current-newsletter-benefits p {
    color: #555555;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

/* Mobile layout */
@media (max-width: 781px) {
    .current-newsletter-benefits {
        gap: 16px;
    }

    .current-newsletter-benefits > .wp-block-column {
        padding: 24px;
    }
}
/* THE CURRENT — NEWSLETTER PAGE WIDTH */

.current-newsletter-page {
    width: min(100% - 40px, 1100px);
    margin: 0 auto;
    padding: 50px 0 80px;
    box-sizing: border-box;
}

.current-newsletter-page .current-newsletter-benefits {
    width: 100%;
    max-width: 100%;
}
/* THE CURRENT — NEWSLETTER FINAL CTA */

.current-newsletter-cta {
    background: #222222;
    color: #F4F0E6;
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    margin: 60px auto;
    border-top: 5px solid #F45125;
}

.current-newsletter-cta h2 {
    font-family: "DM Serif Display", Georgia, serif;
    color: #F4F0E6;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.current-newsletter-cta p {
    font-family: "DM Sans", Arial, sans-serif;
    color: #E0DBD2;
    font-size: 17px;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 24px;
}

.current-newsletter-cta .wp-block-buttons {
    justify-content: center;
}

.current-newsletter-cta .wp-block-button__link {
    background: #F45125;
    color: #FFFFFF;
    border-radius: 5px;
    padding: 16px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.current-newsletter-cta .wp-block-button__link:hover {
    background: #F4F0E6;
    color: #222222;
}

@media (max-width: 600px) {
    .current-newsletter-cta {
        padding: 40px 22px;
    }
}
/* THE CURRENT — NEWSLETTER NAV BUTTON */

.main-navigation .current-nav-cta > a {
    background: #F45125;
    color: #FFFFFF !important;
    border-radius: 5px;
    padding: 0 20px;
    margin: 5px 8px;
    line-height: 40px;
    font-family: "DM Sans", Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
    transition: background 0.2s ease;
}

.main-navigation .current-nav-cta > a:hover,
.main-navigation .current-nav-cta.current-menu-item > a {
    background: #D93F19;
    color: #FFFFFF !important;
}