/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

:root {
    --op-bg: #f7f7f4;
    --op-surface: #ffffff;
    --op-text: #1f2521;
    --op-muted: #5f665f;
    --op-accent: #c56a2d;
    --op-accent-deep: #a5541f;
    --op-border: #e6e5de;
    --op-shadow: 0 10px 26px rgba(22, 26, 23, 0.06);
    --op-shadow-hover: 0 16px 34px rgba(22, 26, 23, 0.1);
    --op-radius: 10px;
    --op-max: 1160px;
    --op-space-s: 0.9rem;
    --op-space-m: 1.35rem;
    --op-space-l: 2.25rem;
    --op-space-xl: clamp(3.5rem, 6vw, 5.5rem);
}

body {
    background: var(--op-bg);
    color: var(--op-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.site {
    overflow-x: clip;
}

h1,
h2,
h3,
h4 {
    color: var(--op-text);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    color: var(--op-muted);
    line-height: 1.75;
}

a {
    color: var(--op-accent);
}

a:hover,
a:focus {
    color: var(--op-accent-deep);
}

.op-wrap {
    max-width: var(--op-max);
    margin: 0 auto;
    padding: 0 clamp(1rem, 2.2vw, 1.5rem);
}

.site-content > .ast-container {
    max-width: var(--op-max);
    padding-left: clamp(1rem, 2.2vw, 1.5rem);
    padding-right: clamp(1rem, 2.2vw, 1.5rem);
}

.op-section {
    padding: var(--op-space-xl) 0;
}

.op-categories,
.op-about,
.op-why-us {
    position: relative;
}

.op-section__heading {
    margin-bottom: 1.7rem;
}

.op-section__heading h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.op-homepage .entry-content {
    margin: 0;
}

.op-hero {
    background: linear-gradient(145deg, #1f3b2e 0%, #2e5844 60%, #3b6c55 100%);
    padding: clamp(3.5rem, 9vw, 6rem) 0;
    border-radius: 0 0 14px 14px;
}

.op-hero__content {
    max-width: 760px;
}

.op-hero h1 {
    color: #ffffff;
    font-size: clamp(2rem, 5.2vw, 3.45rem);
    margin: 0 0 1rem;
    line-height: 1.1;
}

.op-hero p {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    margin-bottom: 1.5rem;
    max-width: 680px;
}

.op-button {
    display: inline-block;
    background: var(--op-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    letter-spacing: 0.01em;
    padding: 0.9rem 1.45rem;
    box-shadow: 0 8px 18px rgba(165, 84, 31, 0.24);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.op-button:hover,
.op-button:focus {
    color: #fff;
    background: var(--op-accent-deep);
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(165, 84, 31, 0.28);
}

.op-card-grid {
    display: grid;
    gap: 1.35rem;
}

.op-card-grid--three {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.op-card-grid--posts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.op-card {
    background: var(--op-surface);
    border: 1px solid var(--op-border);
    border-radius: var(--op-radius);
    box-shadow: var(--op-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.op-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--op-shadow-hover);
    border-color: #d8d5cb;
}

.op-card--category {
    min-height: 100%;
}

.op-card--category,
.op-card__body {
    padding: 1.35rem;
}

.op-card h3 {
    font-size: 1.3rem;
    line-height: 1.25;
    margin: 0 0 0.7rem;
}

.op-card h3 a {
    color: var(--op-text);
    text-decoration: none;
}

.op-card p {
    margin: 0;
}

.op-card__link {
    display: inline-block;
    margin-top: 1rem;
    text-decoration: none;
    font-weight: 600;
}

.op-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--op-radius) var(--op-radius) 0 0;
    background: #e9ece7;
}

.op-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.op-card__placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    padding: 1rem;
    color: #3e4a41;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(140deg, #e5ece5, #f0f4ef);
}

.op-card__title {
    font-size: clamp(1.15rem, 1.9vw, 1.35rem);
    margin-bottom: 0.65rem;
}

.op-card__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--op-accent-deep);
}

.op-feature-card,
.op-page-card {
    background: var(--op-surface);
    border: 1px solid var(--op-border);
    border-radius: var(--op-radius);
    box-shadow: var(--op-shadow);
    padding: clamp(1.2rem, 2.5vw, 2rem);
}

.op-feature-card h2 {
    margin: 0 0 0.7rem;
    font-size: clamp(1.55rem, 2.6vw, 2.1rem);
}

.op-feature-card p {
    margin: 0;
    max-width: 860px;
}

.op-about .op-feature-card,
.op-why-us .op-feature-card {
    border-left: 4px solid #e7d6c8;
}

.op-page {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.op-page-card .entry-title {
    margin-bottom: 1rem;
}

.archive-description {
    color: var(--op-muted);
}

.op-pagination {
    margin-top: 1.6rem;
}

.op-pagination .nav-links {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.op-pagination .page-numbers {
    display: inline-block;
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    border: 1px solid var(--op-border);
    background: #fff;
    text-decoration: none;
}

.op-pagination .page-numbers.current {
    background: var(--op-accent);
    border-color: var(--op-accent);
    color: #fff;
}

.op-page--archive {
    padding-top: clamp(1.7rem, 4vw, 2.5rem);
}

.main-header-bar,
.ast-header-break-point .main-header-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.ast-primary-header-bar,
.ast-mobile-header-wrap .ast-primary-header-bar {
    background: linear-gradient(145deg, #1f3b2e 0%, #2a5440 60%, #37664f 100%);
}

.site-header .site-title a,
.site-header .site-title a:focus,
.site-header .site-title a:hover,
.main-header-menu .menu-link,
.ast-mobile-header-content .menu-link,
.ast-header-social-wrap .ast-builder-social-element {
    color: #f4f7f4;
}

.main-header-menu .menu-link:hover,
.main-header-menu .menu-link:focus,
.ast-mobile-header-content .menu-link:hover,
.ast-mobile-header-content .menu-link:focus {
    color: #ffd7bd;
}

.main-header-menu .menu-link,
.ast-mobile-header-content .menu-link {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.main-header-menu .current-menu-item > .menu-link {
    color: var(--op-accent);
}

.site-footer-primary-section-1,
.site-below-footer-wrap {
    color: #5f665f;
}

.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
    background: var(--op-surface);
    border: 1px solid var(--op-border);
    border-radius: var(--op-radius);
    box-shadow: var(--op-shadow);
    padding: clamp(1.2rem, 2.3vw, 1.9rem);
}

.ast-separate-container .ast-article-post {
    margin-bottom: 1.4rem;
}

.single-post .site-content .ast-container,
.archive .site-content .ast-container,
.blog .site-content .ast-container {
    max-width: var(--op-max);
}

.single-post .entry-header,
.archive .entry-header,
.blog .entry-header {
    margin-bottom: 0.85rem;
}

.single-post .post-thumb img,
.archive .post-thumb img,
.blog .post-thumb img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.archive .ast-article-post,
.blog .ast-article-post {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.archive .ast-article-post:hover,
.blog .ast-article-post:hover {
    transform: translateY(-2px);
    box-shadow: var(--op-shadow-hover);
    border-color: #d8d5cb;
}

.archive .entry-meta,
.blog .entry-meta,
.single-post .entry-meta {
    color: #6b716b;
    font-size: 0.92rem;
}

.archive .entry-meta a,
.blog .entry-meta a,
.single-post .entry-meta a {
    color: #6b716b;
}

.archive .entry-meta a:hover,
.blog .entry-meta a:hover,
.single-post .entry-meta a:hover {
    color: var(--op-accent-deep);
}

.entry-title,
.entry-title a {
    color: var(--op-text);
    font-size: clamp(1.5rem, 2.8vw, 2.15rem);
    text-decoration: none;
}

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

.entry-content,
.entry-summary {
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.82;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 1.9em;
    margin-bottom: 0.6em;
}

.entry-content p,
.entry-summary p {
    margin-bottom: 1.1em;
}

.ast-single-post .entry-content,
.blog .entry-content,
.archive .entry-content {
    max-width: 760px;
}

.ast-single-post .post-thumb img,
.blog .post-thumb img,
.archive .post-thumb img {
    border-radius: 10px;
}

@media (max-width: 980px) {
    .op-section {
        padding: clamp(2.8rem, 7vw, 4rem) 0;
    }

    .op-card-grid--posts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .op-section {
        padding: clamp(2.1rem, 7.5vw, 3rem) 0;
    }

    .op-hero {
        padding: clamp(2.6rem, 9vw, 3.8rem) 0;
    }

    .op-hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
    }

    .op-hero p {
        margin-bottom: 1.2rem;
    }

    .op-card-grid--three,
    .op-card-grid--posts {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .op-card--category,
    .op-card__body {
        padding: 1.1rem;
    }

    .entry-title,
    .entry-title a {
        font-size: clamp(1.35rem, 6vw, 1.9rem);
    }
}
