:root {
    --color-sand: #ebd9c4;
    --color-sage: #b0c1b4;
    --color-forest: #094448;
    --color-deep: #0d0a4b;
    --color-pearl: #e2e2e2;
    --color-text: #161616;
    --color-muted: #4a4a4a;
    --color-border: #d8c5af;
    --color-white: #ffffff;
    --font-display: 'Fraunces', serif;
    --font-body: 'Source Sans 3', sans-serif;
    --container: 1840px;
    --radius-sm: 10px;
    --radius-lg: 28px;
    --shadow-soft: 0 10px 26px rgba(7, 12, 30, 0.09);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.45;
    background: var(--color-white);
}

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

a {
    color: inherit;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

main {
    overflow: clip;
    padding-top: 100px;
}

.homepage main {
    padding-top: 0;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--color-sand);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: background-color 350ms ease, color 350ms ease, border-color 350ms ease;
}

.site-header--home {
    background: transparent;
    border-bottom-color: transparent;
}

.site-header--home,
.site-header--home .main-nav a {
    color: var(--color-white);
}

.site-header--home .btn-header-cta {
    background: var(--color-white);
    color: var(--color-deep);
}

.site-header--home .brand img {
    filter: brightness(0) invert(1);
}

.site-header--home .nav-toggle {
    border-color: var(--color-white);
    color: var(--color-white);
}

.site-header--home.site-header--scrolled {
    background: var(--color-sand);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.site-header--home.site-header--scrolled,
.site-header--home.site-header--scrolled .main-nav a {
    color: var(--color-text);
}

.site-header--home.site-header--scrolled .btn-header-cta {
    background: var(--color-deep);
    color: var(--color-white);
}

.site-header--home.site-header--scrolled .brand img {
    filter: none;
}

.site-header--home.site-header--scrolled .nav-toggle {
    border-color: var(--color-deep);
    color: var(--color-deep);
}

.header-inner {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    min-width: 260px;
}

.brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-sand);
    background: var(--color-deep);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-family: var(--font-display);
    font-size: 1.15rem;
}

.brand-text small {
    font-size: 0.95rem;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1rem;
}

.main-nav a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--color-deep);
    border-radius: var(--radius-sm);
    background: transparent;
    padding: 0.45rem 0.8rem;
    font-family: var(--font-display);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 0;
    padding: 0.62rem 1rem;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.2vw, 1.4rem);
    transition: transform 160ms ease, opacity 160ms ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.btn-primary {
    background: var(--color-deep);
    color: var(--color-sand);
}

.btn-light {
    background: var(--color-sand);
    color: var(--color-deep);
}

.btn-header-cta {
    font-size: 1.2rem;
    background: var(--color-deep);
    color: var(--color-white);
    white-space: nowrap;
}

/* Home sections */
.opl-hero,
.opl-section {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.opl-video-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.opl-video-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 30%, transparent 60%);
    pointer-events: none;
}

.opl-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.opl-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: clamp(3rem, 6vw, 6rem);
}

.opl-video-hero .opl-hero-copy {
    text-align: left;
    color: var(--color-white);
}


.opl-video-hero h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    max-width: 1200px;
    color: var(--color-white);
}

.opl-video-hero .eyebrow {
    color: var(--color-sage);
}

.opl-video-hero p {
    color: rgba(255, 255, 255, 0.9);
}

.opl-video-hero .btn-primary {
    background: var(--color-sage);
    color: var(--color-deep);
}

.opl-hero {
    min-height: min(100vh - 100px, 960px);
    background: var(--color-sand);
}

.opl-hero-copy {
    padding: clamp(2rem, 5vw, 5rem) clamp(1.2rem, 3vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
}

.eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.84rem;
}

.opl-hero h1,
.opl-hero-copy h1,
.opl-section h2,
.opl-section h3,
.opl-center-title,
.opl-final-cta h2 {
    font-family: var(--font-display);
    margin: 0;
    line-height: 1.14;
}

.opl-hero h1 {
    font-size: clamp(2rem, 5.2vw, 5rem);
}

.opl-hero p {
    margin: 0;
    font-size: clamp(1.1rem, 1.6vw, 1.55rem);
}

.opl-list-card-list {
    margin: 0;
    padding: 1.5rem;
}
.opl-list-card article{
    padding-bottom: 1.8rem;
}

.opl-thin, .opl-thin li {
    font-weight: 300 !important;
}

.opl-col.opl-gap{
    gap: 1.8rem;
}

.opl-steps article{
    padding-bottom: 1.8rem;
}

.opl-full{
    width: 100%;
    margin: auto;
    padding: 20px;
    grid-column: 1 / -1;
}

.opl-full h2{
    padding: 2.3rem 0;
    text-align: center;
}

.opl-list-card-list li {
    margin-bottom: 0.5rem;
    font-size: clamp(1rem, 1.4vw, 1.3rem);
}

.opl-hero-image,
.opl-media {
    min-height: 480px;
}

.opl-hero-image img,
.opl-media img,
.opl-testimonial-bg,
.opl-inline-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.opl-inline-image.noradius{
    border-radius: 0;
}
.opl-center{ 
    text-align: center;
}

.opl-space-y {
    padding: 1.5rem 0;
}

.opl-black{
    color: var(--color-text) !important;
}

.opl-section {
    min-height: 75vh;
    margin: 0;
}

.opl-section-card {
    min-height: 50vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.opl-col {
    padding: clamp(2rem, 4vw, 4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
}

.opl-col h2, .opl-full h2 {
    font-size: clamp(1.8rem, 4vw, 3.6rem);
    margin-bottom: 1.5rem;
}

.opl-col p,
.opl-col li,
.opl-full p,
.opl-full li,
.opl-steps p,
.opl-testimonials-list p {
    font-size: clamp(1.03rem, 1.5vw, 1.42rem);
    margin: 0;
}

.opl-col ul, .opl-full ul {
    margin: 0;
    padding-left: 3rem;
}

.opl-note {
    font-style: italic;
    color: #212121;
}

.opl-note-light {
    color: var(--color-white);
    font-style: italic;
}

.opl-list-card article {
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    margin-bottom: 3.8rem;
}

.opl-list-card h3,
.opl-steps h3,
.opl-faq-card h3 {
    font-size: clamp(1.3rem, 2.2vw, 2.4rem);
    margin: 0 0 0.25rem;
    line-height: 1.25;
}

.opl-steps article {
    border-left: 3px solid var(--color-deep);
    padding-left: 1rem;
    margin-bottom: 3.8rem;
}

.opl-section-sage {
    background: var(--color-sage);
}

.opl-section-grey {
    background: var(--color-pearl);
}

.opl-section-deep {
    background: var(--color-deep);
    color: var(--color-white);
}

.opl-section--media-third {
    grid-template-columns: 1fr 2fr;
}

.opl-section-sand.opl-section--media-third {
    grid-template-columns: 2fr 1fr;
}

.opl-section-forest {
    background: var(--color-forest);
    color: var(--color-white);
}


.opl-section-sand {
    background: var(--color-sand);
}

.opl-section-grey {
    background: var(--color-pearl);
}

.opl-center-title {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 2rem 0;
    font-size: clamp(1.85rem, 3.7vw, 3.8rem);
}

.opl-center-title-low {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 2rem 0;
    font-size: clamp(1.35rem, 2.7vw, 3.2rem) !important;
}

.opl-left-title {
    grid-column: 1 / -1;
    text-align: left;
    padding: 2.5rem 2rem 0;
    font-size: clamp(1.85rem, 3.7vw, 3.8rem);
}

.opl-grid-4 {
    grid-column: 1 / -1;
    padding: 0 2.2rem 2.5rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.opl-gallery-5 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
}

.opl-card-link {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    border-radius: var(--radius-sm);
    min-height: 300px;
}

.opl-card-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 450ms ease;
}

.opl-card-link:hover img {
    transform: scale(1.06);
}

.opl-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.4vw, 1.5rem);
    text-align: center;
    padding: 1.2rem;
    transform: translateY(100%);
    transition: transform 450ms ease;
}

.opl-card-link:hover .opl-card-overlay {
    transform: translateY(0);
}

.opl-card-link:hover .opl-card-overlay {
    transform: translateY(0);
}

.opl-faq-card {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

.opl-faq-card p {
    margin: 0;
    line-height: 1.5;
}

.opl-grid-4 > .opl-faq-card:nth-child(odd) {
    margin-top: 3rem;
}

.opl-info-card {
    padding: 0;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.opl-info-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.opl-info-card h3 {
    padding: 1.2rem 1.2rem 0.5rem;
    margin: 0;
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-family: var(--font-display);
}

.opl-info-card p {
    padding: 0 1.2rem 1.2rem;
    margin: 0;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}

.opl-testimonial-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.opl-testimonial-card p {
    margin: 0 0 0.8rem;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.5;
}

.opl-testimonial-author {
    font-style: italic;
    color: var(--color-white);
    font-weight: bold;
    margin: 0;
    font-size: clamp(1.1rem, 1.4vw, 1.25rem);
    text-align: right;
}

.opl-testimonial-item {
    padding: 1rem;
}

.opl-testimonial-item p {
    margin: 0 0 0.5rem;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    line-height: 1.5;
}

.opl-simple-card {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.opl-simple-card h3 {
    padding: 0 0 0.8rem;
    margin: 0;
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-family: var(--font-display);
    color: var(--color-white);
}

.opl-simple-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    margin-bottom: 0.8rem;
}

.opl-simple-card p {
    padding: 0;
    margin: 0;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: var(--color-white);
}

.opl-inline-image {
    height: clamp(280px, 38vw, 520px);
    border-radius: var(--radius-lg);
}

.opl-section-testimonials {
    position: relative;
    min-height: 680px;
    background: var(--color-deep);
    color: var(--color-sand);
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.opl-testimonial-title,
.opl-testimonials-list {
    position: relative;
    z-index: 2;
    padding: clamp(2rem, 4vw, 4rem);
}

.opl-testimonial-title h2 {
    font-size: clamp(2.5rem, 7vw, 8rem);
}

.opl-testimonials-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.opl-testimonials-list article {
    border-bottom: 1px solid rgba(235, 217, 196, 0.32);
    padding-bottom: 1rem;
    margin-bottom: 3.8rem;
}

.opl-testimonial-bg {
    position: absolute;
    right: 0;
    top: 0;
    width: 48%;
    height: 100%;
    opacity: 0.16;
}

.opl-price {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 3rem);
    color: var(--color-white);
}

.opl-faq-head {
    background: linear-gradient(145deg, rgba(13, 10, 75, 0.07), rgba(9, 68, 72, 0.18));
    border-radius: var(--radius-lg);
    margin: 2rem;
}

.opl-accordion details {
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    padding: 1.2rem 0;
}

.opl-accordion summary {
    font-family: var(--font-display);
    cursor: pointer;
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
    font-weight: 500;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.opl-accordion summary::-webkit-details-marker {
    display: none;
}

.opl-accordion summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
}

.opl-accordion details[open] summary::after {
    content: '−';
}

.opl-accordion p {
    margin-top: 0.8rem;
    padding-right: 2rem;
    line-height: 1.5;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.opl-final-cta {
    background: linear-gradient(154deg, rgba(235, 217, 196, 0.98), rgba(176, 193, 180, 0.9));
    padding: clamp(2rem, 5vw, 5rem) 1.25rem;
    text-align: center;
}

.opl-final-cta h2 {
    max-width: 20ch;
    margin: 0 auto 1rem;
    font-size: clamp(1.8rem, 4.5vw, 4rem);
    color: var(--color-forest);
}

.opl-final-cta p {
    max-width: 60ch;
    margin: 0 auto 1.6rem;
    font-size: clamp(1.06rem, 1.6vw, 1.35rem);
}

.opl-col > .opl-center-text{
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Generic sections (other pages) */
.hero {
    background: linear-gradient(130deg, var(--color-sand), rgba(176, 193, 180, 0.8));
    padding: 5rem 0 3rem;
}

.hero h1 {
    margin: 0 0 0.8rem;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-family: var(--font-display);
}

.section {
    padding: 3rem 0;
}

.section-alt {
    background: #f6f1ea;
}

.section-title {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.8vw, 2.3rem);
}

.grid {
    display: grid;
    gap: 1rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    padding: 1rem;
    box-shadow: var(--shadow-soft);
}

.prose h2,
.prose h3 {
    font-family: var(--font-display);
}

.flash {
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
}

.flash-success {
    background: #d5f5e0;
    color: #0e5f31;
}

.flash-error {
    background: #fadbd8;
    color: #8b2121;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.form-error,
.form-group .error {
    color: #8b2121;
    font-size: 0.875rem;
    margin-top: 0.3rem;
}

input.error,
textarea.error {
    border-color: #8b2121;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="datetime-local"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.72rem 0.8rem;
    border: 1px solid #c8c8c8;
    border-radius: var(--radius-sm);
    font: inherit;
}

.map-embed {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: var(--radius-sm);
}

.opl-contact-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.opl-contact-card p {
    margin: 0;
}

.opl-contact-phone a,
.opl-contact-email a {
    font-weight: 600;
    font-size: 1.2rem;
    text-decoration: none;
    transition: opacity 200ms ease;
}

.opl-contact-phone a:hover,
.opl-contact-email a:hover {
    opacity: 0.7;
}


.opl-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.opl-form-row {
    display: flex;
    flex-direction: column;
}

.opl-form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.opl-form-consent input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
}

.opl-form-consent label {
    font-weight: 400;
}

.opl-map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.opl-map-embed {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

.pagination {
    display: flex;
    gap: 0.45rem;
    margin-top: 1.4rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #bebebe;
    text-decoration: none;
}

.pagination .active {
    background: var(--color-deep);
    color: var(--color-white);
    border-color: var(--color-deep);
}

.filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
    background: var(--color-forest);
    color: var(--color-white);
    padding: 3rem 0 1.5rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo {
    width: clamp(150px, 20vw, 350px);
    filter: brightness(0) invert(1);
}

.footer-middle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem 0;
}

.footer-links a{
    font-family: var(--font-display);
}

.footer-brand,
.footer-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin: 0 0 0.8rem;
}

.site-footer p {
    margin: 0 0 0.55rem;
    font-size: 1.1rem;
}

.site-footer a {
    text-decoration: none;
    color: var(--color-white);
    font-size: 1.1rem;
}

.site-footer .footer-links a{
    font-size: 1.4rem;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-icon {
    width: 30px;
    height: 30px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    margin-top: 1.6rem;
    padding-top: 1rem;
    text-align: center;
    font-size: 1rem;
}

.site-footer .btn-light {
    background: var(--color-sand);
    color: var(--color-deep);
}

.opl-right{
    text-align: right;
}

/* CTA Section */
.opl-cta-section {
    position: relative;
    background-image: url('/assets/images/Sport/cta-image.png');
    background-size: cover;
    background-position: center;
    aspect-ratio: 16 / 7;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.opl-cta-overlay {
    position: absolute;
    inset: 0;
    background-color: var(--color-sand);
    opacity: 0.5;
}

.opl-cta-content {
    position: relative;
    z-index: 1;
    max-width: 1150px;
    padding: 2rem 1.25rem;
}

.opl-cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    color: var(--color-text);
    margin: 0 0 2rem;
}

.opl-cta-text {
    font-family: var(--font-body);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    color: var(--color-text);
    line-height: 2.3;
    margin: 0 auto 2.5rem;
    max-width: 1000px;
}


/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--color-white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.blog-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-card__body {
    padding: 1.5rem;
}

.blog-card__body h2 a {
    color: var(--color-text);
    text-decoration: none;
}

.blog-card__body h2 a:hover {
    color: var(--color-deep);
}

.blog-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.blog-hero__image img {
    width: 100%;
    border-radius: var(--radius-sm);
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.blog-hero__content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--color-text);
    margin: 0 0 1rem;
}

.blog-hero__content p {
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.blog-slide-card {
    background: var(--color-white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-slide-card__image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-slide-card__body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-slide-card__body h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-text);
    margin: 0 0 0.5rem;
}

.blog-slide-card__body p {
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
    margin: 0 0 1rem;
}

.blog-content {
    line-height: 1.8;
    color: var(--color-text);
}

.blog-content p {
    margin: 0 0 1rem;
}

.blog-swiper {
    padding-bottom: 3rem;
}

.blog-swiper .swiper-slide {
    height: auto;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.badge {
    display: inline-block;
    background: var(--color-sage);
    color: var(--color-white);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 0.25rem;
}

.btn-secondary {
    background: var(--color-border);
    color: var(--color-text);
}

/* Admin */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--color-deep);
    color: var(--color-white);
    padding: 1.5rem 1rem;
}

.admin-sidebar a {
    display: block;
    color: var(--color-white);
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.25rem;
    text-decoration: none;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: rgba(255, 255, 255, 0.15);
}

.admin-main {
    background: #f7f7f8;
}

.admin-header {
    background: var(--color-white);
    border-bottom: 1px solid #e4e4e4;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-content {
    padding: 1.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.admin-table th,
.admin-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #ececec;
    text-align: left;
}

.admin-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, var(--color-forest), var(--color-sage));
}

.login-card {
    width: min(100% - 2rem, 420px);
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
}

#tarteaucitronRoot {
    z-index: 9999;
}

@media (max-width: 1200px) {
    .main-nav ul {
        gap: 0.8rem;
    }

    .main-nav a {
        font-size: 0.95rem;
    }

    .btn-header-cta {
        font-size: 1rem;
    }

    .opl-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .header-inner {
        min-height: auto;
        padding: 0.8rem 0;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 4;
    }

    .main-nav.is-open {
        display: block;
        background: var(--color-sand);
        padding: 0.8rem 0;
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
        color: var(--color-text);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
        padding: 0.9rem 0 0.2rem;
    }

    .btn-header-cta {
        margin-left: auto;
    }

    .opl-hero,
    .opl-section,
    .opl-section-testimonials {
        grid-template-columns: 1fr;
    }

    .opl-hero {
        min-height: auto;
    }

    .opl-hero-image,
    .opl-media {
        max-height: 420px;
    }

    .opl-faq-head {
        margin: 1rem;
    }

    .opl-grid-4 {
        grid-template-columns: 1fr;
        padding-inline: 1rem;
    }

    .opl-testimonial-bg {
        width: 100%;
        opacity: 0.12;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        display: none;
    }
}

/* Blog Preview component with custom themes */
.opl-blog-preview {
    padding: clamp(3rem, 6vw, 6rem) 0;
    transition: background-color 300ms ease, color 300ms ease;
}

/* Theme: lagon */
.opl-blog-preview--lagon {
    background-color: #568cc1;
    color: var(--color-white);
}
.opl-blog-preview--lagon .opl-blog-preview__header h2,
.opl-blog-preview--lagon .opl-blog-preview__hero-content h3 {
    color: var(--color-white);
}
.opl-blog-preview--lagon .opl-blog-preview__header p,
.opl-blog-preview--lagon .opl-blog-preview__hero-content p {
    color: rgba(255, 255, 255, 0.9);
}
.opl-blog-preview--lagon .opl-blog-preview__btn {
    background-color: var(--color-sand);
    color: var(--color-deep);
}

/* Theme: deep */
.opl-blog-preview--deep {
    background-color: var(--color-deep);
    color: var(--color-white);
}
.opl-blog-preview--deep .opl-blog-preview__header h2,
.opl-blog-preview--deep .opl-blog-preview__hero-content h3 {
    color: var(--color-white);
}
.opl-blog-preview--deep .opl-blog-preview__header p,
.opl-blog-preview--deep .opl-blog-preview__hero-content p {
    color: rgba(255, 255, 255, 0.9);
}
.opl-blog-preview--deep .opl-blog-preview__btn {
    background-color: var(--color-sand);
    color: var(--color-deep);
}

/* Theme: forest */
.opl-blog-preview--forest {
    background-color: var(--color-forest);
    color: var(--color-white);
}
.opl-blog-preview--forest .opl-blog-preview__header h2,
.opl-blog-preview--forest .opl-blog-preview__hero-content h3 {
    color: var(--color-white);
}
.opl-blog-preview--forest .opl-blog-preview__header p,
.opl-blog-preview--forest .opl-blog-preview__hero-content p {
    color: rgba(255, 255, 255, 0.9);
}
.opl-blog-preview--forest .opl-blog-preview__btn {
    background-color: var(--color-sand);
    color: var(--color-deep);
}

/* Theme: sable */
.opl-blog-preview--sable {
    background-color: var(--color-sand);
    color: var(--color-text);
}
.opl-blog-preview--sable .opl-blog-preview__header h2,
.opl-blog-preview--sable .opl-blog-preview__hero-content h3 {
    color: var(--color-deep);
}
.opl-blog-preview--sable .opl-blog-preview__header p,
.opl-blog-preview--sable .opl-blog-preview__hero-content p {
    color: var(--color-muted);
}
.opl-blog-preview--sable .opl-blog-preview__btn {
    background-color: var(--color-deep);
    color: var(--color-white);
}

/* Layout styles */
.opl-blog-preview__header {
    margin-bottom: 3rem;
}
.opl-blog-preview__header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin: 0 0 0.5rem;
}
.opl-blog-preview__header p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin: 0;
}

.opl-blog-preview__hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 4rem;
}
@media (max-width: 991px) {
    .opl-blog-preview__hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
.opl-blog-preview__hero-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.opl-blog-preview__hero-content h3 {
    font-family: var(--font-body);
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 700;
    margin: 0 0 1rem;
}
.opl-blog-preview__hero-content p {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.6;
    margin: 0 0 2rem;
}
.opl-blog-preview__btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 6px;
    font-size: 1.1rem;
    display: inline-block;
}

/* Swiper custom styles */
.opl-blog-preview__swiper-container {
    position: relative;
    padding: 0 4.5rem;
}
@media (max-width: 767px) {
    .opl-blog-preview__swiper-container {
        padding: 0;
    }
}

.opl-blog-preview .blog-swiper {
    padding-bottom: 3.5rem;
}

.opl-blog-preview__swiper-container .swiper-button-prev,
.opl-blog-preview__swiper-container .swiper-button-next {
    position: absolute;
    top: 36%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-deep);
    color: var(--color-white) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 200ms ease, opacity 200ms ease;
    z-index: 10;
}
@media (max-width: 767px) {
    .opl-blog-preview__swiper-container .swiper-button-prev,
    .opl-blog-preview__swiper-container .swiper-button-next {
        display: none;
    }
}

.opl-blog-preview__swiper-container .swiper-button-prev {
    left: 1rem;
}
.opl-blog-preview__swiper-container .swiper-button-next {
    right: 1rem;
}

.opl-blog-preview__swiper-container .swiper-button-prev:hover,
.opl-blog-preview__swiper-container .swiper-button-next:hover {
    transform: scale(1.08);
    opacity: 0.95;
}

.opl-blog-preview__swiper-container .swiper-button-prev::after,
.opl-blog-preview__swiper-container .swiper-button-next::after {
    font-size: 1.15rem;
    font-weight: 800;
}

.opl-blog-preview .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
}
.opl-blog-preview--sable .swiper-pagination-bullet {
    background: rgba(13, 10, 75, 0.3);
}
.opl-blog-preview .swiper-pagination-bullet-active {
    background: var(--color-white) !important;
}
.opl-blog-preview--sable .swiper-pagination-bullet-active {
    background: var(--color-deep) !important;
}

/* Boxed Article Cards */
.opl-blog-preview__card {
    background-color: transparent;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 250ms ease;
}
.opl-blog-preview__card:hover {
    transform: translateY(-5px);
}
.opl-blog-preview__card-link {
    text-decoration: none;
    color: inherit !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.opl-blog-preview__card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: 1.2rem;
}
.opl-blog-preview__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}
.opl-blog-preview__card-link:hover .opl-blog-preview__card-image img {
    transform: scale(1.04);
}
.opl-blog-preview__card-body {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.opl-blog-preview__card-body h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    color: inherit !important;
    margin: 0 0 0.6rem;
    line-height: 1.35;
}
.opl-blog-preview__card-body p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: inherit !important;
    opacity: 0.85;
    margin: 0;
    flex: 1;
}
