/*
Theme Name: Yolta
Theme URI: https://yolta.fr
Description: Theme custom pour Yolta - CRM pour installateurs d'energies renouvelables
Author: Yolta
Version: 1.0.0
Text Domain: yolta
*/

/* ===== RESET & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

:root {
    --yolta-dark: #262626;
    --yolta-yellow: #FACC15;
    --yolta-yellow-hover: #EAB308;
    --yolta-yellow-accent: #ffcb3d;
    --yolta-light: #F3F4F6;
    --yolta-gray-50: #f9fafb;
    --yolta-gray-100: #f3f4f6;
    --yolta-gray-200: #e5e5e5;
    --yolta-gray-300: #cccccc;
    --yolta-gray-400: #999999;
    --yolta-gray-500: #666666;
    --yolta-gray-600: #6b7280;
    --yolta-muted: hsl(210 40% 96.1%);
    --yolta-muted-fg: hsl(215.4 16.3% 46.9%);
    --radius: 0.5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--yolta-dark);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body > main,
.blog-page,
.single-post {
    flex: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
    background: transparent;
}

.navbar.scrolled {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.navbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo img {
    height: 2rem;
    width: auto;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.navbar-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--yolta-gray-500);
    transition: color 0.2s;
}

.navbar-links a:hover {
    color: var(--yolta-dark);
}

.btn-demo {
    background: var(--yolta-yellow);
    color: var(--yolta-dark);
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    transition: background 0.2s;
    display: inline-block;
}

.btn-demo:hover {
    background: var(--yolta-yellow-hover);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--yolta-dark);
}

.mobile-toggle svg {
    width: 24px;
    height: 24px;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--yolta-gray-100);
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    flex-direction: column;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    padding: 0.75rem 0;
    font-weight: 500;
    border-bottom: 1px solid var(--yolta-gray-50);
    display: block;
}

.mobile-menu .btn-demo {
    margin-top: 1rem;
    text-align: center;
    border-radius: 0.375rem;
    padding: 0.75rem;
}

@media (max-width: 768px) {
    .navbar-links { display: none; }
    .mobile-toggle { display: block; }
}

/* ===== SECTION COMMON ===== */
.section {
    padding: 4rem 0;
    scroll-margin-top: 6rem;
}

@media (min-width: 768px) {
    .section { padding: 6rem 0; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title { font-size: 3rem; }
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--yolta-muted-fg);
    text-align: center;
    margin-bottom: 4rem;
}

.divider {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
}

.divider-bar {
    height: 0.5rem;
    width: 6rem;
    border-radius: 9999px;
    background: var(--yolta-yellow-accent);
}

/* ===== HERO ===== */
.hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero { padding-top: 9rem; padding-bottom: 6rem; }
}

.hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .hero-inner {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
}

.hero-content {
    flex: 1;
    padding: 3rem 1.5rem;
    max-width: 600px;
}

@media (min-width: 1024px) {
    .hero-content { padding: 0 3rem; }
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
    .hero-title { font-size: 3.75rem; }
}

.hero-title .highlight {
    color: var(--yolta-dark);
    background: linear-gradient(transparent 60%, var(--yolta-yellow) 60%);
    padding: 0 0.25rem;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--yolta-muted-fg);
    margin-bottom: 2rem;
}

/* Marquee */
.hero-marquee {
    flex: 1;
    width: 100%;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero-marquee { width: auto; }
}

.marquee-row {
    display: flex;
    gap: 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-row.reverse .marquee-track {
    animation-direction: reverse;
}

.marquee-item {
    width: 16rem;
    height: 16rem;
    flex-shrink: 0;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .marquee-item { width: 20rem; height: 20rem; }
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-marquee::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 8rem;
    background: linear-gradient(to right, #fff, transparent);
    z-index: 2;
    pointer-events: none;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== LOGO CLOUD / BRANDS ===== */
.brands {
    padding: 2rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.brands-header {
    margin-bottom: 2rem;
    text-align: center;
}

.brands-header .label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--yolta-gray-600);
    margin-bottom: 0.5rem;
}

.brands-header .title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--yolta-dark);
}

@media (min-width: 768px) {
    .brands-header .title { font-size: 1.5rem; }
}

.logo-slider {
    overflow: hidden;
    padding: 1rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 2.625rem;
    width: max-content;
    animation: logo-scroll 30s linear infinite;
}

.logo-track img {
    height: 2rem;
    width: auto;
    object-fit: contain;
    opacity: 0.75;
    filter: grayscale(100%);
    transition: all 0.3s;
    pointer-events: none;
    user-select: none;
}

@media (min-width: 768px) {
    .logo-track img { height: 2.5rem; }
}

.logo-track img:hover {
    opacity: 1;
    filter: grayscale(0);
}

@keyframes logo-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== FEATURES ACCORDION ===== */
#avantages .features-grid {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.features-list {
    width: 100%;
}

@media (min-width: 768px) {
    .features-list { width: 50%; }
}

.feature-item {
    border-bottom: 1px solid var(--yolta-gray-200);
}

.feature-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.feature-trigger h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--yolta-muted-fg);
    transition: color 0.2s;
}

.feature-trigger.active h3 {
    color: var(--yolta-dark);
}

.feature-trigger .chevron {
    transition: transform 0.2s;
    color: var(--yolta-gray-400);
}

.feature-trigger.active .chevron {
    transform: rotate(180deg);
}

.feature-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.feature-content.open {
    max-height: 500px;
}

.feature-content p {
    padding-bottom: 1.25rem;
    color: var(--yolta-muted-fg);
}

.feature-content .feature-img-mobile {
    display: block;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .feature-content .feature-img-mobile { display: none; }
}

.features-preview {
    display: none;
    width: 50%;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--yolta-yellow-accent);
}

@media (min-width: 768px) {
    .features-preview { display: block; }
}

.features-preview img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    padding-left: 1rem;
    border-radius: 0.375rem;
}

.image-caption {
    font-size: 0.8125rem;
    color: var(--yolta-muted-fg);
    font-style: italic;
    text-align: center;
    margin-top: 0.5rem;
    padding: 0 1rem;
}

.features-preview .placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yolta-gray-100);
    color: var(--yolta-gray-400);
    font-weight: 500;
}

/* ===== HOW IT WORKS ===== */
.steps-indicators {
    position: relative;
    margin: 0 auto 3rem;
    padding: 0 3rem;
}

.steps-line {
    position: absolute;
    left: 16.6667%;
    top: 50%;
    width: 66.6667%;
    height: 2px;
    background: var(--yolta-yellow-accent);
    transform: translateY(-50%);
}

.steps-numbers {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.step-number {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    border-radius: 9999px;
    background: var(--yolta-muted);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--yolta-dark);
    z-index: 1;
    box-shadow: 0 0 0 4px #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

.step-card {
    border: 1px solid var(--yolta-gray-200);
    border-radius: 1rem;
    padding: 1.5rem;
    background: #fff;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: rgba(250, 204, 21, 0.5);
}

.step-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: var(--yolta-yellow-accent);
    color: #fff;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-card > p {
    color: var(--yolta-muted-fg);
    margin-bottom: 1.5rem;
}

.step-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.step-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--yolta-muted-fg);
}

.step-benefits .dot-outer {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    border-radius: 9999px;
    background: rgba(26, 26, 26, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-benefits .dot-inner {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: var(--yolta-dark);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: #fff;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 0 2rem;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 9999px;
    object-fit: cover;
    margin: 0 auto 1.5rem;
}

.testimonial-quote {
    font-size: 1.125rem;
    color: var(--yolta-gray-500);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--yolta-dark);
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--yolta-gray-400);
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonials-dots button {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background: var(--yolta-gray-200);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0.375rem;
    box-sizing: content-box;
    min-width: 24px;
    min-height: 24px;
}

.testimonials-dots button.active {
    background: var(--yolta-dark);
}

/* ===== CTA SECTION ===== */
.cta-box {
    background: #262626;
    border-radius: 0.5rem;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cta-box {
        flex-direction: row;
        padding: 4rem 5rem;
    }
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .cta-content h2 { font-size: 1.875rem; }
}

.cta-content p {
    color: #a3a3a3;
    margin-bottom: 1.5rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: var(--yolta-dark);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.2s;
}

.btn-cta:hover {
    background: var(--yolta-gray-200);
}

.cta-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cta-checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #d4d4d4;
}

.cta-checklist .check-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: var(--yolta-yellow);
}

/* ===== FOOTER ===== */
.site-footer {
    background: #fff;
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    border-top: 1px solid var(--yolta-gray-100);
}

.footer-cta {
    text-align: center;
    margin-bottom: 5rem;
}

.footer-cta h2 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-cta h2 { font-size: 3.75rem; }
}

.footer-cta p {
    color: var(--yolta-gray-600);
    max-width: 32rem;
    margin: 0 auto 2.5rem;
    font-size: 1.125rem;
}

.btn-footer-demo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--yolta-dark);
    color: #fff;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-footer-demo:hover {
    background: var(--yolta-yellow);
    color: var(--yolta-dark);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--yolta-gray-100);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom img {
    height: 1.5rem;
    width: auto;
}

.footer-links {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--yolta-gray-600);
}

.footer-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    list-style: none;
}

.footer-links a:hover {
    color: var(--yolta-dark);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--yolta-gray-500);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== WORDPRESS OVERRIDES ===== */
.wp-admin-bar-fix {
    padding-top: 32px;
}

/* Hide WP admin bar on frontend */
body.admin-bar .navbar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .navbar {
        top: 46px;
    }
}

/* ===== BLOG LISTING (archive.php) ===== */
.blog-page {
    padding-top: 8rem;
    padding-bottom: 4rem;
    min-height: 70vh;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--yolta-dark);
    margin-bottom: 0.5rem;
}

.blog-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.blog-card-image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 0.75rem;
}

.blog-card-cat a {
    color: var(--yolta-yellow);
    font-weight: 600;
    text-decoration: none;
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.blog-card-title a {
    color: var(--yolta-dark);
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--yolta-yellow);
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--yolta-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-link:hover {
    color: var(--yolta-yellow);
}

.blog-pagination {
    margin-top: 3rem;
    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--yolta-dark);
    background: #f3f4f6;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: var(--yolta-dark);
    color: #fff;
}

.blog-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: #9ca3af;
    font-size: 1.1rem;
}

/* ===== SINGLE POST (single.php) ===== */
.single-post {
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.single-header {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

.single-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.single-cat a {
    color: var(--yolta-yellow);
    font-weight: 600;
    text-decoration: none;
}

.single-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--yolta-dark);
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .single-title { font-size: 1.75rem; }
}

.single-excerpt {
    font-size: 1.15rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.single-featured {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    border-radius: 1rem;
    overflow: hidden;
}

.single-featured img {
    width: 100%;
    height: auto;
    display: block;
}

.single-content {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
}

.single-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--yolta-dark);
    margin: 2.5rem 0 1rem;
}

.single-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--yolta-dark);
    margin: 2rem 0 0.75rem;
}

.single-content p {
    margin-bottom: 1.25rem;
}

.single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
}

.single-content blockquote {
    border-left: 4px solid var(--yolta-yellow);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #fefce8;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: #4b5563;
}

.single-content ul,
.single-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.single-content li {
    margin-bottom: 0.5rem;
}

.single-content a {
    color: var(--yolta-yellow);
    font-weight: 500;
    text-decoration: underline;
}

.single-tags {
    max-width: 750px;
    margin: 2rem auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.single-tags .tag {
    display: inline-block;
    background: #f3f4f6;
    color: #4b5563;
    padding: 0.35rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.single-tags .tag a {
    color: inherit;
    text-decoration: none;
}

.single-nav {
    max-width: 750px;
    margin: 3rem auto 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
}

.single-nav-link {
    text-decoration: none;
    max-width: 45%;
}

.single-nav-link.next {
    text-align: right;
    margin-left: auto;
}

.single-nav-label {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.single-nav-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--yolta-dark);
    transition: color 0.2s;
}

.single-nav-link:hover .single-nav-title {
    color: var(--yolta-yellow);
}
