/*
Theme Name: Mayer Tax
Theme URI: https://mayer-tax.com/
Author: Mayer Tax
Description: A simple, responsive classic WordPress theme for Mayer Tax.
Version: 1.0.0
Text Domain: mayer-tax
*/

:root {
    --brand-green: #0c3422;
    --brand-gold: #c79f58;
    --ink: #171717;
    --muted: #5f625f;
    --line: #dfe4df;
    --paper: #ffffff;
    --soft-paper: #f5f7f4;
    --content-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.6;
}

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

a {
    color: var(--brand-green);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:hover,
a:focus {
    color: var(--brand-gold);
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    background: var(--paper);
}

.header-inner,
.nav-inner,
.content-width,
.footer-inner {
    width: min(100% - 3rem, var(--content-width));
    margin: 0 auto;
}

.header-inner {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr);
    align-items: center;
    gap: 2rem;
    padding: 1.25rem 0;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.custom-logo-link {
    display: inline-block;
}

.custom-logo,
.site-logo {
    max-height: 88px;
    width: auto;
}

.site-branding-text {
    color: var(--brand-green);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
}

.header-details {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    color: var(--muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    line-height: 1.4;
}

.header-detail {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.detail-icon {
    display: inline-flex;
    flex: 0 0 auto;
    color: var(--brand-gold);
    margin-top: 0.1rem;
}

.detail-icon svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.detail-lines {
    display: flex;
    flex-direction: column;
}

.client-portal {
    color: var(--brand-green);
    font-weight: 700;
}

.primary-navigation {
    background: var(--brand-green);
}

.nav-inner {
    display: flex;
    justify-content: flex-start;
}

.menu,
.menu ul {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu a {
    display: block;
    padding: 0.7rem 1.1rem;
    color: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

.primary-navigation .menu {
    width: 100%;
}

.menu a:hover,
.menu a:focus,
.menu .current-menu-item > a,
.menu .current_page_item > a {
    color: var(--brand-gold);
}

.site-main {
    flex: 1;
}

.hero {
    min-height: 420px;
    display: grid;
    place-items: center;
    padding: 4rem 1.5rem;
    background-color: var(--soft-paper);
    background-image: linear-gradient(rgba(12, 52, 34, 0.92), rgba(12, 52, 34, 0.92)), url('assets/accounting-hero.jpg');
    background-position: center;
    background-size: cover;
}

.hero-content {
    width: min(100%, 760px);
    color: var(--paper);
    text-align: center;
}

.hero h1,
.entry-title {
    margin: 0 0 1rem;
    color: var(--brand-green);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
}

.hero h1 {
    color: var(--paper);
}

.hero p {
    margin: 0;
    font-size: 1.15rem;
}

.content-section {
    padding: 4rem 0;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content > *:last-child {
    margin-bottom: 0;
}

.page-content {
    max-width: 760px;
}

.site-footer {
    background: var(--brand-green);
    color: var(--paper);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
}

.footer-copy {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.75rem;
}

.site-footer .menu {
    justify-content: flex-end;
}

.site-footer .menu a {
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 760px) {
    .header-inner,
    .footer-inner {
        display: block;
    }

    .site-branding {
        margin-bottom: 1rem;
    }

    .header-details {
        justify-content: flex-start;
    }

    .nav-inner {
        justify-content: flex-start;
    }

    .menu,
    .menu ul {
        width: 100%;
    }

    .menu a {
        padding: 0.65rem 0.75rem;
    }

    .hero {
        min-height: 360px;
    }

    .footer-inner {
        padding: 1.5rem 0;
    }

    .site-footer .menu {
        justify-content: flex-start;
        margin-top: 0.75rem;
    }
}

@media (max-width: 420px) {
    .header-inner,
    .nav-inner,
    .content-width,
    .footer-inner {
        width: min(100% - 2rem, var(--content-width));
    }

    .header-details {
        display: grid;
        gap: 0.6rem;
    }

    .menu a {
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }
}
