/*
Theme Name: Carealia
Theme URI: https://carealia.gr/
Author: Carealia
Author URI: https://carealia.gr/
Description: Custom theme for Carealia — Intelligent Sense Care. Pixel-matched to the legacy Zerif Lite design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: carealia
*/

/* =========================================================
   Design tokens — matched to existing Carealia/Zerif design
   ========================================================= */
:root {
    --color-hero-bg:       #2a2556;   /* dark navy/purple */
    --color-coral:         #ec6c5c;   /* coral pink buttons */
    --color-coral-dark:    #d4543f;
    --color-blue:          #2aabe2;   /* bright sky blue — Why Dementia */
    --color-teal:          #17a79e;   /* teal — feature icons */
    --color-teal-dark:     #0e7d74;
    --color-pink:          #ed5a74;   /* hot pink CTA band */
    --color-testimonial-bg:#fff4eb;   /* pale peach */
    --color-footer-bg:     #222225;   /* near-black footer */
    --color-text:          #3a3a3a;
    --color-text-muted:    #999;
    --color-heading:       #2e2e2e;
    --color-white:         #ffffff;
    --color-border:        #e8e8e8;
    --color-bg:            #ffffff;

    --font-body:    "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --font-heading: "Lato", sans-serif;

    --container: 1170px;
}

/* =========================================================
   Reset / base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}
body.admin-bar { scroll-padding-top: 122px; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-teal); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--color-teal-dark); }

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.25;
    margin: 0 0 1rem;
    color: var(--color-heading);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}
h3 { font-size: 1.2rem; font-weight: 400; }
p { margin: 0 0 1rem; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.skip-link { position: absolute; left: -9999px; top: 0; background: #000; color: #fff; padding: 8px; z-index: 9999; }
.skip-link:focus { left: 0; }

/* =========================================================
   Header — white, sticky, logo left / menu right
   ========================================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}
.site-logo { display: flex; align-items: center; }
.site-logo img { max-height: 50px; width: auto; }
.site-logo a { display: block; }

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-heading);
    padding: 6px 10px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.75rem;
}
.main-nav a {
    color: #8b8b8b;
    font-weight: 400;
    font-size: 14px;
    text-transform: none;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}
.main-nav a:hover {
    color: var(--color-teal);
    border-bottom-color: var(--color-teal);
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }
    .main-nav.open { max-height: 500px; }
    .main-nav ul { flex-direction: column; gap: 0; padding: 10px 0; }
    .main-nav li { border-top: 1px solid var(--color-border); }
    .main-nav li:first-child { border-top: 0; }
    .main-nav a { display: block; padding: 14px 20px; border-bottom: 0; }
}

/* Push content below fixed header */
main { padding-top: 78px; }
.single-post main, .page main, .blog main, .archive main, .search main { padding-top: 78px; }

/* Admin bar offset (when logged-in user sees the WP admin bar) */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar .site-header { top: 46px; }
}

/* =========================================================
   Hero — mouse-tracked parallax (bg.png + NH_bg.png)
   ========================================================= */
.hero {
    position: relative;
    background-color: var(--color-hero-bg);
    color: var(--color-white);
    text-align: center;
    overflow: hidden;
}
.hero-parallax {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.hero-parallax .layer {
    position: absolute;
    top: -60px;
    left: -60px;
    right: -60px;
    bottom: -60px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.hero-parallax .layer1 {
    background-image: url('assets/images/bg.png');
}
.hero-parallax .layer2 {
    background-image: url('assets/images/NH_bg.png');
}
/* Dark overlay covers the entire hero */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0px 5px 11px 0px rgba(50, 50, 50, 0.08);
    box-shadow: 0px 5px 11px 0px rgba(50, 50, 50, 0.08);
    z-index: 1;
    pointer-events: none;
}
/* Content sits on top */
.header-content-wrap {
    position: relative;
    padding: 285px 0 210px;
    z-index: 2;
}
.header-content-wrap > .container {
    width: 100%;
}
.hero .container {
    position: relative;
    z-index: 2;
}
.hero h1 {
    text-align: center;
    color: #FFF;
    line-height: 65px;
    z-index: 0;
    text-transform: uppercase;
    font-size: 55px;
    float: none;
    font-family: 'Montserrat', Helvetica, sans-serif;
    font-weight: 700;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 720px) {
    .hero h1 {
        font-size: 36px;
        line-height: 44px;
    }
}
.hero .video-embed {
    max-width: 560px;
    margin: 0 auto 2rem;
    position: relative;
    padding-bottom: 31.5%;
    height: 0;
    max-height: 315px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.hero .video-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.hero .buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Mobile: smaller padding, no parallax movement */
@media (max-width: 900px) {
    .header-content-wrap {
        padding: 120px 0 80px;
    }
    .hero-parallax .layer {
        transform: none !important;
    }
    .hero .video-embed {
        padding-bottom: 56.25%;
        max-height: none;
    }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: all .2s ease;
    line-height: 1.4;
}
.btn-coral {
    background: var(--color-coral);
    color: var(--color-white);
    border-color: var(--color-coral);
}
.btn-coral:hover {
    background: var(--color-coral-dark);
    border-color: var(--color-coral-dark);
    color: var(--color-white);
}
.btn-teal {
    background: #297fb8;
    color: var(--color-white);
    border-color: #297fb8;
}
.btn-teal:hover {
    background: #1f6798;
    border-color: #1f6798;
    color: var(--color-white);
}
.btn-outline-white {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}
.btn-outline-white:hover {
    background: var(--color-white);
    color: var(--color-hero-bg);
}

/* =========================================================
   Sections
   ========================================================= */
section { padding: 80px 0; }

/* Why Dementia — bright blue background */
.section-why {
    background-color: var(--color-blue);
    color: var(--color-white);
    text-align: center;
}
.section-why h2 {
    color: var(--color-white);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 3rem;
}
.section-why .lead {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1rem;
    line-height: 1.8;
}
.why-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
    align-items: center;
}
.why-heading {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.2;
    color: var(--color-white);
    text-transform: none;
    letter-spacing: 0;
}
.why-body {
    font-size: 0.95rem;
    line-height: 1.8;
}
@media (max-width: 720px) {
    .why-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
}

/* Features */
.section-features { background: var(--color-white); text-align: center; }
.section-features h2 {
    color: var(--color-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.section-features .lead {
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    font-size: 0.95rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.feature {
    padding: 1rem;
    --feature-accent: var(--color-teal); /* fallback */
}
.feature .icon-wrap {
    width: 130px;
    height: 130px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    border: 3px solid #d4d4d4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    transition: border-color .25s ease, transform .25s ease;
}
.feature:hover .icon-wrap {
    border-color: var(--feature-accent);
    transform: translateY(-3px);
}
.feature .icon-wrap img {
    max-width: 60%;
    max-height: 60%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform .25s ease;
}
.feature:hover .icon-wrap img {
    transform: scale(1.05);
}
.feature h3 {
    color: var(--color-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.feature .underline {
    width: 50px;
    height: 3px;
    background: var(--feature-accent);
    margin: 0 auto 1rem;
    transition: width .25s ease;
}
.feature:hover .underline {
    width: 70px;
}
.feature p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .features-grid { grid-template-columns: 1fr; }
}

/* Pink CTA band */
.section-cta {
    background-color: var(--color-pink);
    color: var(--color-white);
    text-align: center;
    padding: 60px 0;
}
.section-cta p {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

/* Team */
.section-team { background: var(--color-white); text-align: center; }
.section-team h2 {
    color: var(--color-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.section-team .lead {
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    font-size: 0.95rem;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.team-member {
    padding: 1rem;
    --team-accent: var(--color-teal); /* fallback */
    position: relative;
}
.team-photo {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 1.25rem;
    cursor: pointer;
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    transition: opacity .25s ease;
}
.team-bio-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 127%;
    max-width: 270px;
    height: 192px;
    background: #3a3a3a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em 1.25rem;
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
    z-index: 2;
}
.team-bio-overlay p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: left;
    color: #fff;
}
.team-photo:hover .team-bio-overlay,
.team-photo:focus-within .team-bio-overlay {
    opacity: 1;
}
.team-photo:hover img {
    opacity: 0;
}
.team-member h3 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-heading);
    margin-bottom: 0.5rem;
    text-align: center;
}
.team-member .team-underline {
    width: 60px;
    height: 3px;
    background: var(--team-accent);
    margin: 0 auto 0.75rem;
}
.team-member .role {
    color: var(--color-text);
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 0.85rem;
}
.team-member .team-social {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
}
.team-member .team-social a {
    color: #999;
    display: inline-flex;
    align-items: center;
    transition: color .2s ease;
}
.team-member .team-social a:hover {
    color: var(--team-accent);
}
.team-member .team-social svg {
    display: block;
}
@media (max-width: 900px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}
@media (max-width: 500px) {
    .team-grid { grid-template-columns: 1fr; }
}

/* Testimonials — pale peach background, white cards, 3 columns */
.section-testimonials {
    background-color: var(--color-testimonial-bg);
    text-align: center;
}
.section-testimonials h2 {
    color: var(--color-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}
.testimonial {
    background: #fff;
    padding: 1.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}
.testimonial blockquote {
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text);
    font-style: normal;
    padding-left: 0;
    flex: 1;
}
.testimonial-signature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
}
.testimonial-signature .who {
    font-style: normal;
    flex: 1;
    min-width: 0;
}
.testimonial-signature .who .name {
    font-family: 'Homemade Apple', cursive, serif;
    color: #404040;
    font-size: 1.15rem;
    line-height: 1.2;
    margin-bottom: 0.4rem;
    font-weight: 400;
}
.testimonial-signature .who .role {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}
.testimonial-signature .icon {
    flex: 0 0 auto;
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial-signature .icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}
@media (max-width: 960px) {
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Footer — dark, 4 columns with small icons
   ========================================================= */
.site-footer {
    background-color: var(--color-footer-bg);
    color: #bbb;
    padding: 40px 0;
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: center;
    text-align: center;
}
.footer-col { padding: 10px 0; }
.footer-col .icon {
    color: var(--color-coral);
    font-size: 1.6rem;
    display: block;
    margin-bottom: 0.75rem;
}
.footer-col.icon-email .icon { color: var(--color-teal); }
.footer-col.icon-phone .icon { color: var(--color-blue); }
.footer-col.icon-social .icon { color: var(--color-white); }
.footer-col a {
    color: #bbb;
}
.footer-col a:hover {
    color: var(--color-white);
}
.footer-copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
    color: #888;
}
.footer-copyright a { color: #aaa; }
.footer-copyright a:hover { color: var(--color-white); }

@media (max-width: 720px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   VR Rehab page
   ========================================================= */
.page-vrathome .page-header {
    background: var(--color-white);
    padding: 60px 0 30px;
    border-bottom: 0;
}
.page-vrathome .page-header h1 {
    font-size: 2rem;
    color: var(--color-heading);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-teal);
    display: inline-block;
}
.page-vrathome .page-content {
    padding: 20px 0 60px;
}
.page-vrathome .page-content .container {
    max-width: 1100px;
}
.page-vrathome h2, .page-vrathome h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-heading);
    font-weight: 700;
    margin-top: 2rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--color-teal);
    display: inline-block;
}
.page-vrathome ul {
    padding-left: 1.2rem;
    color: var(--color-text);
}
.page-vrathome li { margin-bottom: 0.5rem; }
.page-vrathome .page-content img {
    border-radius: 2px;
    margin: 1rem 0;
}

/* =========================================================
   Generic page (fallback)
   ========================================================= */
.standard-page .page-header {
    background: #fafafa;
    padding: 50px 0 30px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}
.standard-page .page-header h1 {
    margin: 0;
    font-size: 2rem;
    text-transform: uppercase;
}
.standard-page .page-content { padding: 60px 0; }
.standard-page .page-content .container { max-width: 800px; }

/* =========================================================
   Blog — matches screenshot: big cards left, sidebar right
   ========================================================= */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding: 40px 0;
}
.blog-main { min-width: 0; }
@media (max-width: 900px) {
    .blog-layout { grid-template-columns: 1fr; }
}

.blog-post-card {
    background: var(--color-white);
    margin-bottom: 2.5rem;
    border: 1px solid var(--color-border);
    border-radius: 2px;
    overflow: hidden;
}
.blog-post-card .thumb {
    display: block;
    background: #f4f4f4;
    overflow: hidden;
}
.blog-post-card .thumb img {
    width: 100%;
    height: auto;
    display: block;
}
.blog-post-card .content { padding: 24px 28px; }
.blog-post-card h2 {
    font-size: 1.25rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-teal);
    display: inline-block;
}
.blog-post-card h2 a { color: var(--color-heading); }
.blog-post-card h2 a:hover { color: var(--color-teal); }
.blog-post-card .excerpt {
    color: var(--color-text);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.blog-post-card .meta {
    border-top: 1px solid var(--color-border);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-style: italic;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.blog-post-card .meta a { color: var(--color-text-muted); }
.blog-post-card .meta a:hover { color: var(--color-teal); }

/* Blog sidebar */
.blog-sidebar {
    font-size: 0.9rem;
}
.widget {
    margin-bottom: 2.5rem;
}
.widget-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-heading);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-teal);
    display: inline-block;
}
.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget li {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
}
.widget li:last-child { border-bottom: 0; }
.widget li a { color: var(--color-text-muted); }
.widget li a:hover { color: var(--color-teal); }

.widget_search .search-form { position: relative; }
.widget_search input[type="search"] {
    width: 100%;
    padding: 10px 40px 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: 2px;
    font-family: inherit;
    font-size: 0.9rem;
}
.widget_search button {
    position: absolute;
    right: 0; top: 0;
    height: 100%;
    padding: 0 14px;
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--color-coral);
    font-size: 1rem;
}

/* Recent posts widget with thumbnails */
.widget_recent_posts_thumb li {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.6rem 0;
}
.widget_recent_posts_thumb .thumb {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 2px;
    background: #eee;
}
.widget_recent_posts_thumb .thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget_recent_posts_thumb .title { flex: 1; color: var(--color-text-muted); font-size: 0.85rem; line-height: 1.4; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}
.pagination a, .pagination span {
    padding: 8px 14px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 0.85rem;
}
.pagination a:hover, .pagination .current {
    background: var(--color-teal);
    color: var(--color-white);
    border-color: var(--color-teal);
}

/* Single post */
.single-post .post-header {
    background: #fafafa;
    padding: 60px 0 30px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}
.single-post .post-header h1 {
    margin: 0 0 1rem;
    font-size: 2rem;
}
.single-post .post-meta {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-style: italic;
}
.single-post .featured-image {
    max-width: 1100px;
    margin: 2rem auto 0;
}
.single-post .featured-image img { width: 100%; }
.single-post .post-content { padding: 2rem 0 4rem; }
.single-post .post-content .container { max-width: 800px; }

/* =========================================================
   Utility
   ========================================================= */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
