/*
Theme Name: Titan Tenant Starter
Theme URI: https://designa.xyz/
Author: Designa
Description: A neutral starter theme for newly provisioned tenant sites.
Version: 1.0.0
Text Domain: titan-tenant-starter
*/

:root {
    --page-bg: #f7f9fb;
    --surface: #ffffff;
    --text: #1e2329;
    --muted: #667085;
    --line: #d9e0e8;
    --accent: #007a6e;
    --accent-2: #d14d3f;
    --max-width: 1120px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--page-bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

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

.skip-link {
    left: 1rem;
    position: absolute;
    top: -4rem;
    z-index: 10;
}

.skip-link:focus {
    top: 1rem;
}

.site-header,
.site-footer {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.site-header__inner,
.site-footer__inner,
.site-main {
    margin: 0 auto;
    max-width: var(--max-width);
    padding: 0 24px;
}

.site-header__inner {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    min-height: 76px;
}

.site-brand {
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
}

.site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: var(--muted);
    font-size: 0.95rem;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus {
    color: var(--accent);
}

.site-main {
    padding-bottom: 72px;
    padding-top: 48px;
}

.starter-hero {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 16px;
    padding: 28px 0 40px;
}

.starter-hero h1,
.entry-title {
    color: var(--text);
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.05;
    margin: 0;
}

.starter-hero p,
.entry-summary,
.entry-content {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 760px;
}

.entry {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin: 0 0 24px;
    padding: 28px;
}

.entry-title a {
    color: var(--text);
    text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus {
    color: var(--accent);
}

.entry-meta,
.site-footer {
    color: var(--muted);
    font-size: 0.92rem;
}

.entry-featured {
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

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

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

.wp-block-button__link,
.button,
button,
input[type="submit"] {
    background: var(--accent);
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 700;
    padding: 0.75rem 1rem;
    text-decoration: none;
}

.wp-block-button__link:hover,
.button:hover,
button:hover,
input[type="submit"]:hover {
    background: var(--accent-2);
}

.pagination {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 32px;
}

.site-footer {
    border-bottom: 0;
    border-top: 1px solid var(--line);
}

.site-footer__inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 72px;
}

@media (max-width: 720px) {
    .site-header__inner,
    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-bottom: 18px;
        padding-top: 18px;
    }

    .site-main {
        padding-top: 32px;
    }

    .entry {
        padding: 20px;
    }
}
