/*
Theme Name: Thomas for Senate 22 Astra Child
Theme URI: https://thomasforsenate22.com/
Author: Restore build
Description: Astra child theme templates for Joseph C. Thomas for State Senate District 22.
Template: astra
Version: 0.1.4
Text Domain: thomas-astra-child
*/

:root {
    --thomas-blue: #00324d;
    --thomas-light-blue: #2b9cd9;
    --thomas-navy: #1a223a;
    --thomas-footer: #f5f6f8;
    --thomas-red: #e30a33;
    --thomas-paper: #ffffff;
    --thomas-panel: #f5f6f8;
    --thomas-muted: #94a2bc;
    --thomas-text: #484848;
}

body,
button,
input,
select,
textarea {
    font-family: "Open Sans", Arial, sans-serif;
}

body {
    margin: 0;
    color: var(--thomas-text);
    background: #fff;
}

body .site,
body .site-content,
body .ast-container,
body #primary,
body .content-area,
body .entry-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

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

a {
    color: inherit;
}

.comments-area,
#comments,
.comment-respond,
.comment-navigation {
    display: none !important;
}

.thomas-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-top: 2px solid #9c9c9c;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.thomas-logo-wrap {
    display: grid;
    grid-template-columns: minmax(370px, 0.45fr) minmax(720px, 1fr);
    gap: clamp(28px, 4vw, 70px);
    width: min(1460px, calc(100% - 170px));
    min-height: 86px;
    align-items: center;
    margin: 0 auto;
    padding: 0;
}

.thomas-logo {
    display: grid;
    align-content: center;
    color: #00649d;
    text-decoration: none;
}

.thomas-logo-main {
    display: block;
    font-family: Lato, Arial, sans-serif;
    font-size: clamp(37px, 2.55vw, 46px);
    font-weight: 900;
    letter-spacing: 0.01em;
    line-height: 0.9;
    white-space: nowrap;
}

.thomas-logo-sub {
    display: block;
    padding-left: clamp(38px, 3vw, 58px);
    color: #0d88cf;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: clamp(21px, 1.65vw, 29px);
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.thomas-logo-sub em {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.82em;
    font-weight: 400;
}

.thomas-nav {
    position: relative;
    z-index: 20;
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: flex-end;
    background: #fff;
    box-shadow: none;
}

.thomas-nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px clamp(36px, 5vw, 72px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.thomas-nav a {
    display: block;
    padding: 0;
    color: var(--thomas-blue) !important;
    font-family: "Open Sans Condensed", Arial, sans-serif;
    font-size: clamp(23px, 1.55vw, 29px);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: none;
}

.thomas-nav a:hover,
.thomas-nav a.is-active {
    color: var(--thomas-light-blue) !important;
    background: #fff;
}

.thomas-nav .nav-highlight {
    display: grid;
    min-width: clamp(180px, 13vw, 220px);
    min-height: 54px;
    place-items: center;
    margin-left: clamp(12px, 1.7vw, 28px);
    background: #cf1f2e;
}

.thomas-nav .nav-highlight a {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #fff !important;
}

.thomas-nav .nav-highlight a:hover,
.thomas-nav .nav-highlight a.is-active {
    color: #fff !important;
    background: var(--thomas-red);
}

.thomas-hero {
    display: grid;
     min-height: 408px;
    place-items: center;
    background: linear-gradient(180deg, #0076a7 0%, #006b99 100%);
    color: #fff;
    text-align: center;
}

.thomas-hero__slide {
    display: grid;
    justify-items: center;
    width: min(980px, calc(100% - 40px));
}

.thomas-hero__slide[hidden] {
    display: none;
}

.thomas-hero h1,
.thomas-hero p {
    margin: 0;
    color: #fff;
    font-family: Poppins, Lato, Arial, sans-serif;
    font-size: clamp(52px, 5vw, 88px);
    font-weight: 900;
    line-height: 1.28;
}

.thomas-hero p {
    margin-top: 12px;
}

.thomas-hero a {
    display: inline-grid;
    min-width: min(470px, 82vw);
    min-height: 88px;
    place-items: center;
    margin-top: 38px;
    border: 2px solid #fff;
    color: #fff;
    font-family: Poppins, Lato, Arial, sans-serif;
    font-size: clamp(27px, 2.8vw, 46px);
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.thomas-home-content {
    width:100%;
    max-width: 1200px;
    margin: 68px auto 0;
}

.thomas-menu-toggle {
    display: none;
    margin-left: auto;
    margin-right: 12px;
    border: 0;
    background: transparent;
    color: var(--thomas-blue);
    font-family: "Open Sans Condensed", Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.thomas-page {
    padding-top: 35px;
    width: 100%;
    background: #fff;
}

.thomas-content {
    width: min(1250px, calc(100% - 40px));
    margin: 20px auto 40px;
}

.thomas-content h1 {
    margin: 0 0 20px;
    color: #2672a6;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.1;
}

.thomas-content h2 {
    margin: 28px 0 12px;
    color: var(--thomas-blue);
    font-size: 24px;
}

.thomas-content p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.5;
}

.thomas-page-hero {
    display: grid;
    min-height: 360px;
     place-items: center;
    background: linear-gradient(180deg, #0076a7 0%, #006b99 100%);
    color: #fff;
    text-align: center;
}

.thomas-page-hero__inner {
    display: grid;
    justify-items: center;
    width: min(1100px, calc(100% - 40px));
}

.thomas-page-hero h1,
.thomas-page-hero p {
    margin: 0;
    color: #fff;
    font-family: Poppins, Lato, Arial, sans-serif;
    font-size: clamp(44px, 4.6vw, 78px);
    font-weight: 900;
    line-height: 1.28;
}

.thomas-page-hero p {
    margin-top: 10px;
}

.thomas-page-hero a {
    display: inline-grid;
    min-width: min(520px, 82vw);
    min-height: 78px;
    place-items: center;
    margin-top: 36px;
    border: 2px solid #fff;
    color: #fff !important;
    font-family: Poppins, Lato, Arial, sans-serif;
    font-size: clamp(26px, 2.5vw, 42px);
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.thomas-campaign-page {
    margin-top: 48px;
    margin-bottom: 72px;
}

.thomas-campaign-page h1 {
    color: var(--thomas-blue);
    font-family: "Open Sans Condensed", Arial, sans-serif;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 0;
}

.thomas-campaign-page p {
    color: #00324d;
}

.thomas-donation--page {
    margin-top: 0;
}

.thomas-archive-form {
    padding: 28px;
    background: #f1f1f1;
}

.thomas-vote-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.thomas-archive-content {
    width: min(960px, calc(100% - 48px));
    margin: 128px auto 80px;
}

.thomas-issues-lead {
    width: 100%;
    margin: 0 auto 22px;
}

.thomas-issues-section {
    color: #111;
    font-family: "Open Sans", Arial, sans-serif;
}

.thomas-issues-section hr {
    height: 1px;
    margin: 28px 0;
    border: 0;
    background: #ddd;
}

.issueItem h3 {
    margin: 0 0 12px;
    color: var(--thomas-blue);
    font-family: "Open Sans Condensed", Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.12;
    text-transform: none;
}

.issueItem h3 a {
    color: inherit;
    text-decoration: none;
}

.issueSummary p {
    margin: 0;
    color: #222;
    font-size: 16px;
    line-height: 1.48;
}

.issueSummary img {
    width: 100%;
    margin: 0 0 12px;
}

.issueSummaryText {
    display: inline;
}

.readMore2 {
    display: inline-block;
    margin-left: 4px;
}

.readMore2 a {
    color: #2672a6;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.thomas-breadcrumb {
    margin: 0 0 22px;
    color: #2672a6;
    font-size: 13px;
}

.thomas-breadcrumb a {
    color: #2672a6;
    text-decoration: none;
}

.thomas-breadcrumb span {
    margin-right: 5px;
}

.thomas-issue-detail h1 {
    margin: 0 0 20px;
    color: #2672a6;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.1;
}

.thomas-issue-detail p {
    margin: 0 0 16px;
    color: #222;
    font-size: 16px;
    line-height: 1.5;
}

.thomas-news-page .thomas-archive-content > h1 {
    margin: 0 0 20px;
    color: #2672a6;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.1;
}

.thomas-news-page .thomas-archive-content > p {
    margin: 0 0 16px;
    color: #222;
    font-size: 16px;
    line-height: 1.5;
}

.news-wrapper,
.news-feed {
    width: 100%;
}

.news-feed > h1 {
    display: none;
}

.news-feed hr {
    height: 1px;
    margin: 28px 0;
    border: 0;
    background: #ddd;
}

.news-item .newsDate {
    display: block;
    margin: 0 0 5px;
    color: #75a4c9;
    font-size: 11px;
    line-height: 2.3;
    text-transform: uppercase;
}

.news-item h3 {
    margin: 0 0 10px;
    color: var(--thomas-blue);
    font-family: "Open Sans Condensed", Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.12;
}

.news-item h3 a {
    color: inherit;
    text-decoration: none;
}

.news-item p {
    margin: 0;
    color: #222;
    font-size: 16px;
    line-height: 1.48;
}

.news-item img {
    width: 100%;
    margin: 0 0 12px;
}

.newsSummaryText {
    display: inline;
}

.thomas-news-detail h1 {
    margin: 0 0 20px;
    color: #2672a6;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.1;
}

#newsContent {
    color: #222;
    font-size: 16px;
    line-height: 1.5;
}

.thomas-single-post h1 {
    margin: 0 0 12px;
    color: #2672a6;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.1;
}

.thomas-single-post .newsDate {
    display: block;
    margin-bottom: 18px;
}

.thomas-single-image img {
    width: 100%;
    margin: 0 0 18px;
}

.thomas-single-post #newsContent p {
    margin: 0 0 16px;
}

.thomas-single-post #newsContent a {
    color: #2672a6;
    font-weight: 700;
}

.thomas-endorsements-title {
    margin: 0;
    color: #2672a6;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.1;
    text-align: right;
}

.thomas-endorsements-title img {
    width: 100%;
    margin: 20px auto;
}

.e-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
}

#endorsementsWithTextWrapper {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 80px;
}

#endorsementsWithTextWrapper blockquote {
    position: relative;
    margin: 0 0 20px;
    color: #222;
    font-size: 16px;
    line-height: 1.5;
}

#endorsementsWithTextWrapper blockquote::before {
    content: open-quote;
    position: relative;
    top: 10px;
    display: block;
    height: 1px;
    margin-left: -30px;
    color: #ccc;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 60px;
}

#endorsementsWithTextWrapper blockquote::after {
    content: close-quote;
    position: relative;
    top: 20px;
    display: block;
    height: 1px;
    margin-right: 10px;
    color: #ccc;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 60px;
    text-align: right;
}

#endorsementsWithTextWrapper cite {
    display: block;
    margin-top: 10px;
    margin-right: 50px;
    font-style: normal;
    text-align: right;
}

#makeEndorsement {
    margin-top: 100px;
    text-align: center;
}

.endorsementLink {
    color: #2672a6;
    font-weight: 700;
    text-decoration: none;
}

.thomas-events-page .thomas-archive-content > h1 {
    margin: 0 0 20px;
    color: #2672a6;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.1;
}

.thomas-events-page .thomas-archive-content > p {
    margin: 0 0 16px;
    color: #222;
    font-size: 16px;
    line-height: 1.5;
}

#eventsTopLinks {
    margin: 26px 0 18px;
    color: #2672a6;
    font-size: 14px;
}

#eventsTopLinks a,
#eventsBar a {
    color: #2672a6;
    text-decoration: none;
}

#eventsTopLinks .pad,
#eventsBar .pad {
    display: inline-block;
    margin: 0 8px;
    color: #777;
}

#eventsWrapper {
    margin-top: 18px;
}

#eventsBar {
    padding: 12px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    color: #222;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.eventItem h3 {
    margin-top: 10px;
}

.newsTime,
.newsLoc {
    display: block;
}

.thomas-narrow {
    width: min(900px, calc(100% - 40px));
}

.thomas-home-images {
    display: grid;
    justify-items: center;
    gap: 22px;
    margin-bottom: 18px;
}

.thomas-home-images img,
.thomas-page-images img {
    width: 100%;
}

.thomas-home-copy {
    margin-top: 22px;
}

.thomas-home-copy p {
    margin: 0 0 12px;
    color: #00324d;
    font-size: 10px;
    line-height: 1.65;
}

.thomas-home-copy a {
    color: #2b9cd9;
}

.thomas-home-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: min(980px, calc(100% - 40px));
    margin: 28px auto;
}

.thomas-donation {
    margin: 28px 0 22px;
    padding: 24px 20px 30px;
    background: #eee;
    text-align: center;
}

.thomas-donation h2,
.thomas-signup h2 {
    margin: 0;
    color: #00324d;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.15;
}

.thomas-donation p {
    margin: 3px 0 14px;
    color: #00324d;
    font-size: 10px;
    line-height: 1.2;
}

.thomas-donation-grid {
    display: grid;
    grid-template-columns: repeat(2, 146px);
    justify-content: center;
    gap: 4px;
}

.thomas-donation-grid a {
    display: grid;
    min-height: 31px;
    place-items: center;
    background: #cf1f2e;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.thomas-signup {
    width: 100vw;
    margin: 0 0 72px 50%;
    padding: 34px max(46px, calc((100vw - 1440px) / 2 + 86px)) 42px;
    background: #3298dc;
    text-align: center;
    transform: translateX(-50%);
}

.thomas-signup h2 {
    margin-bottom: 26px;
    color: #fff;
    font-size: 32px;
}

.thomas-signup form {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1.45fr 0.45fr 0.86fr;
    gap: 12px;
}

.thomas-signup input {
     border: 0;
    padding: 0 16px;
    color: #333;
    font-size: 16px;
    text-transform: uppercase;
}

.thomas-signup button {
     border: 0;
    background: #cf1f2e;
    color: #fff;
     font-weight: 800;
    text-transform: uppercase;
        height: 100%;
    font-size: 16px;
}

.thomas-action-button,
.thomas-button,
.amountLink {
    display: grid;
    min-height: 60px;
    place-items: center;
    padding: 12px 18px;
    background: var(--thomas-blue);
    color: #fff !important;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.thomas-action-button:hover,
.thomas-button:hover,
.amountLink:hover {
    opacity: 0.78;
}

.thomas-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 25px;
    width: min(1250px, calc(100% - 40px));
    margin: 20px auto 40px;
}

.thomas-sidebar {
    min-width: 264px;
    padding: 18px;
    background: var(--thomas-panel);
}

.thomas-sidebar h3 {
    margin: 0 0 15px;
    color: var(--thomas-blue);
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
}

.thomas-sidebar p,
.thomas-sidebar li {
    font-size: 14px;
    line-height: 1.45;
}

.thomas-sidebar ul {
    margin: 0;
    padding-left: 18px;
}

.thomas-issue-grid,
.thomas-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.thomas-card {
    border: 1px solid #e5e8ec;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.thomas-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.thomas-card-body {
    padding: 16px;
}

.thomas-card h2 {
    margin-top: 0;
    font-size: 22px;
}

.newsDate {
    color: #75a4c9;
    font-size: 11px;
    line-height: 2.3;
    text-transform: uppercase;
}

.thomas-form {
    display: grid;
    gap: 14px;
    max-width: 760px;
}

.thomas-form label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

.thomas-form input,
.thomas-form textarea,
.thomas-form select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #acaeb0;
    padding: 10px;
}

.thomas-form textarea {
    min-height: 120px;
}

.thomas-amounts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0;
}

.thomas-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.thomas-photo-grid figure {
    margin: 0;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 3px 3px 3px #999;
}

.thomas-photo-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.thomas-photo-grid figure[hidden],
.thomas-load-more[hidden] {
    display: none;
}

.thomas-load-more {
    display: grid;
    width: 100%;
    min-height: 50px;
    place-items: center;
    margin: 26px 0 0;
    border: 0;
    background: #e6e7eb;
    color: var(--thomas-blue);
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

.thomas-footer {
    position: relative;
    margin-top: auto;
    padding: 0;
    background: var(--thomas-footer);
    text-align: center;
}

.thomas-footer__inner {
    width: min(1440px, calc(100% - 116px));
    margin: 0 auto;
    padding:46px 0;
}

.thomas-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px 48px;
    margin: 0 auto 60px;
    padding: 0;
    list-style: none;
}

.thomas-footer-nav a {
    color: var(--thomas-blue);
    font-family: "Open Sans Condensed", Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
}

.thomas-footer-social {
    display: flex;
    justify-content: center;
    gap: 62px;
    margin-bottom: 62px;
}

.thomas-footer-social a {
    color: var(--thomas-blue);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 46px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.thomas-footer-social a:hover {
    color: var(--thomas-light-blue);
}

.thomas-paid {
    display: inline-block;
    margin: 0 auto 28px;
    padding: 12px 24px;
    border: 2px solid var(--thomas-blue);
    color: var(--thomas-blue);
    font-family: Lato, Arial, sans-serif;
    font-size: clamp(14px, 1vw, 18px);
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
}

.thomas-powered {
    margin: 0;
    color: var(--thomas-blue);
    font-family: Lato, Arial, sans-serif;
    font-size: clamp(12px, 0.9vw, 16px);
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1;
    text-transform: uppercase;
}

.thomas-back-top {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    background: #bfbfbf;
    color: #fff !important;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

@media (max-width: 959px) {
    .thomas-logo-wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;
                width: min(760px, calc(100% - 32px));
        min-height: 0;
        gap: 12px;
        padding: 22px 0 0;
    }

    .thomas-page {
        padding-top: 66px;
    }

    .thomas-logo-main {
        font-size: clamp(34px, 9vw, 48px);
    }

    .thomas-logo-sub {
        padding-left: 24px;
        font-size: clamp(21px, 6vw, 28px);
    }

    .thomas-menu-toggle {
        display: block;
    }

    .thomas-nav {
        display: block;
        min-height: 0;
        padding: 12px 0;
        text-align: right;
    }

    .thomas-nav ul {
        display: none;
        padding: 12px 0 0;
    }

    .thomas-nav ul.is-open {
        display: grid;
    }

    .thomas-nav a {
        text-align: center;
        font-size: 26px;
    }

    .thomas-nav .nav-highlight {
        margin-left: 0;
    }

    .thomas-hero {
        min-height: 360px;
     }

    .thomas-page-hero {
        min-height: 320px;
     }

    .thomas-hero h1,
    .thomas-hero p,
    .thomas-page-hero h1,
    .thomas-page-hero p {
        font-size: clamp(40px, 10vw, 62px);
    }

    .thomas-hero a,
    .thomas-page-hero a {
        min-height: 70px;
    }

    .thomas-layout {
        grid-template-columns: 1fr;
    }

    .thomas-sidebar {
        min-width: 0;
    }

    .thomas-home-actions,
    .thomas-issue-grid,
    .thomas-news-grid,
    .thomas-photo-grid,
    .thomas-amounts,
    .thomas-signup form {
        grid-template-columns: 1fr;
    }

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

    .thomas-vote-links {
        grid-template-columns: 1fr;
    }

    .thomas-archive-content {
        width: min(760px, calc(100% - 32px));
        margin-top: 176px;
    }

    .thomas-signup {
        padding: 18px;
        margin-left: 50%;
    }
}

@media (min-width: 960px) and (max-width: 1500px) {
    .thomas-logo-wrap {
        grid-template-columns: minmax(330px, 0.45fr) minmax(560px, 1fr);
        width: min(1260px, calc(100% - 86px));
        min-height: 84px;
        gap: 24px;
    }

    .thomas-logo-main {
        font-size: clamp(34px, 3.1vw, 42px);
    }

    .thomas-logo-sub {
        padding-left: 36px;
        font-size: clamp(19px, 1.8vw, 25px);
    }

    .thomas-nav {
        min-height: 78px;
    }

    .thomas-nav ul {
        gap: 14px 34px;
    }

    .thomas-nav a {
        font-size: clamp(21px, 1.8vw, 25px);
    }

    .thomas-nav .nav-highlight {
        min-width: 170px;
        min-height: 54px;
        margin-left: 12px;
    }
  

    .thomas-signup {
        padding-right: max(46px, calc((100vw - 1260px) / 2 + 64px));
        padding-left: max(46px, calc((100vw - 1260px) / 2 + 64px));
    }
}

@media (max-width: 720px) {
    .thomas-logo-wrap {
        flex-direction: column;
    }
        .thomas-page {
        padding-top: 136px;
    }
    .thomas-footer__inner {
        width: min(520px, calc(100% - 32px));
        padding: 50px 0 68px;
    }

    .thomas-footer-nav {
        display: grid;
        justify-content: center;
     }

    .thomas-footer-social {
        margin-bottom: 64px;
    }

    .thomas-paid {
        font-size: 13px;
        line-height: 1.35;
    }

    .thomas-powered {
        font-size: 11px;
        line-height: 1.45;
    }

    .thomas-back-top {
        width: 52px;
        height: 52px;
        font-size: 38px;
    }
}
