/* main.css - Disability Help Guide */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: Georgia, 'Times New Roman', serif;
    background: #f0ebe4;
    color: #222;
    font-size: 16px;
    line-height: 1.6;
}

a { color: #1a6bbf; text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── HEADER ── */
.site-header {
    background: #1a1a1a;
    padding: 12px 0;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
}
.logo-text .name {
    display: block;
    font-family: Arial, sans-serif;
    font-weight: 900;
    font-size: 20px;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.1;
}
.logo-text .tagline {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 11px;
    color: #aaa;
    letter-spacing: 0.5px;
}
.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}
.main-nav a {
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}
.main-nav a:hover { color: #f5821f; }

/* ── LAYOUT ── */
.page-wrap {
    max-width: 1180px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}

/* ── ARTICLE GRID (homepage) ── */
.article-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.article-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.article-card .card-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.article-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #4a9fd4;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.article-card .card-body {
    padding: 18px 20px 22px;
}
.article-card h2 {
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #111;
}
.article-card h2 a { color: #111; }
.article-card h2 a:hover { color: #1a6bbf; text-decoration: none; }
.card-meta {
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}
.card-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 16px;
}
.btn-read-more {
    display: inline-block;
    background: #1a6bbf;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    transition: background .2s;
}
.btn-read-more:hover { background: #145299; text-decoration: none; }

/* ── SINGLE ARTICLE ── */
.single-hero {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 24px;
}
.single-meta {
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
}
.article-content h1 {
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 10px;
    color: #111;
}
.article-content h2 {
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: 900;
    margin: 28px 0 12px;
    color: #111;
}
.article-content h3 {
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 20px 0 10px;
}
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol {
    margin: 0 0 16px 24px;
}
.article-content li { margin-bottom: 6px; }
.article-content strong { font-weight: 700; }
.article-content a { color: #1a6bbf; }
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
}
.article-content th, .article-content td {
    border: 1px solid #ddd;
    padding: 10px 14px;
    text-align: left;
}
.article-content th { background: #f0f0f0; font-weight: 700; }

/* ── SIDEBAR ── */
.sidebar {}

.cta-box {
    background: #1a5ca8;
    color: #fff;
    padding: 28px 22px;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 24px;
}
.cta-box .cta-headline {
    font-family: Arial, sans-serif;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.cta-box .btn-cta {
    display: inline-block;
    background: #f5821f;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 900;
    padding: 12px 30px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background .2s;
}
.cta-box .btn-cta:hover { background: #d96e10; text-decoration: none; }

.sidebar-section {
    background: #fff;
    border-radius: 4px;
    padding: 18px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.sidebar-section h3 {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #222;
}
.sidebar-links { list-style: none; }
.sidebar-links li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links .thumb {
    width: 70px;
    height: 55px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 2px;
}
.sidebar-links .thumb-placeholder {
    width: 70px;
    height: 55px;
    background: #ddd;
    flex-shrink: 0;
    border-radius: 2px;
}
.sidebar-links a {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #222;
    line-height: 1.35;
}
.sidebar-links a:hover { color: #1a6bbf; text-decoration: none; }

/* ── FOOTER ── */
.site-footer {
    background: #1a1a1a;
    color: #aaa;
    padding: 24px 0;
    margin-top: 50px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    text-align: center;
}
.site-footer .footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.site-footer .footer-nav a {
    color: #aaa;
    text-decoration: none;
}
.site-footer .footer-nav a:hover { color: #fff; }

.site-footer .footer-copy {
    text-align: left;
    max-width: 720px;
    margin: 28px auto 0;
    padding-top: 24px;
    border-top: 1px solid #333;
    color: #9a9a9a;
    line-height: 1.6;
    font-size: 12px;
}
.site-footer .footer-copy p {
    margin: 0 0 14px;
}
.site-footer .footer-copy p:last-child {
    margin-bottom: 0;
}
.site-footer .footer-heading {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ccc;
    margin: 18px 0 8px;
    text-align: left;
}
.site-footer .footer-copy a {
    color: #7eb8e8;
    text-decoration: underline;
}
.site-footer .footer-copy a:hover {
    color: #fff;
}

/* ── LEGAL PAGES ── */
.legal-content {
    background: #fff;
    padding: 30px;
    border-radius: 4px;
}
.legal-content h1 {
    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 20px;
}
.legal-content h2 {
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 10px;
}
.legal-content p { margin-bottom: 14px; }
.legal-content ul { margin: 0 0 14px 24px; }

/* ── 404 ── */
.not-found {
    text-align: center;
    padding: 80px 20px;
}
.not-found h1 {
    font-family: Arial, sans-serif;
    font-size: 36px;
    margin-bottom: 16px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .page-wrap { grid-template-columns: 1fr; }
    .sidebar { order: -1; }
    .cta-box { display: none; } /* hide on mobile, show inline version */
}
@media (max-width: 600px) {
    .article-grid { grid-template-columns: 1fr; }
    .logo-text .name { font-size: 16px; }
    .main-nav { gap: 15px; }
    .main-nav a { font-size: 11px; }
}
