/* ============================================================
   ARTICLE : TEARDROP vs ROUND SILICONE IMPLANTS
   Style : blog éditorial classique (modèle drermanak),
   cohérent avec la charte Argaman Plastic Surgeries Mexico (or / sombre / crème).
   Se superpose à blog.css (qui fournit header/footer/hero).
   ============================================================ */

/* ============================================================
   HERO + META — calque exact Sinis (mêmes classes, mêmes valeurs)
   ============================================================ */

/* Variables Sinis (valeurs exactes copiées de la WP custom theme.json) */
:root {
    --sinis-font: "Lato", sans-serif;
    --sinis-gray-100: #F3F4F4;
    --sinis-gray-200: #EBEDED;
    --sinis-gray-300: #D0D4D4;
    --sinis-gray-400: #C2C7C7;
    --sinis-gray-500: #8E9698;
    --sinis-gray-600: #6E787A;
    --sinis-gray-700: #5E696C;
    --sinis-gray-800: #32333b;
    --sinis-gray-900: #2D383B;
    --sinis-primary: #C6AC5B;
    --sinis-lh-small: 1.2;
}

/* ---------- PAGE HERO ---------- */
.page-hero,
.page-hero *,
.section_post-meta,
.section_post-meta * {
    font-family: var(--sinis-font) !important;
    text-align: left !important;
}

.page-hero {
    position: relative;
    background-color: var(--sinis-gray-900);
    color: #fff;
    overflow: hidden;
    padding: 0 0 0;
    min-height: 720px;
    min-height: clamp(640px, 442.77px + 19.23vw, 720px);
}
.page-hero__media,
.page-hero__media::before,
.page-hero__media::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.page-hero__media > img,
.page-hero__media > picture img {
    position: absolute;
    bottom: 0;
    z-index: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 50% 15%;
    max-width: 1660px;
    left: 50%;
    transform: translateX(-50%);
}
.page-hero__media::before {
    content: "";
    pointer-events: none;
    z-index: 1;
    background: rgba(45, 56, 59, 0.1);
}
.page-hero__media::after {
    content: "";
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(180deg, rgba(45, 56, 59, 0) 0%, var(--sinis-gray-900) 100%);
}
.page-hero__top-shadow {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, rgba(45, 56, 59, 0.3) 0%, rgba(45, 56, 59, 0) 100%);
}
.page-hero__blur,
.page-hero__blur img {
    display: none;
}

.page-hero .l-container,
.page-hero__inner {
    min-height: inherit;
}
.page-hero .l-container {
    position: relative;
    z-index: 2;
    max-width: 77.75rem;
    margin: 0 auto;
    width: calc(100% - 2rem);
    padding: 0;
}
.page-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.l-site-breadcrumbs {
    position: absolute;
    top: 1.25rem;
    left: 0;
    margin: 0;
}
.page-hero .l-site-breadcrumbs { margin-bottom: 0; }

.p-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: var(--sinis-font);
    font-size: clamp(12px, 11.46px + 0.23vw, 14px);
    color: rgba(255, 255, 255, 0.7);
}
.p-breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}
.p-breadcrumbs__item::before { display: none; }
.p-breadcrumbs__link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}
.p-breadcrumbs__link:hover { color: var(--sinis-primary); }
.p-breadcrumbs__last { color: rgba(255, 255, 255, 0.5); }
.p-breadcrumbs__item:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
}

.page-hero__main {
    width: 66.6667%;
    max-width: 51.5rem;
    padding: 0;
    text-align: center;
    margin: 0 auto;
}
.page-hero__title {
    color: #fff;
    font-family: var(--sinis-font);
    font-weight: 500;
    font-size: clamp(28px, 12.466px + 4.143vw, 64px);
    line-height: var(--sinis-lh-small);
    margin: 0;
    letter-spacing: -0.2px;
    text-align: center !important;
}
.page-hero__category {
    position: absolute;
    top: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    font-family: var(--sinis-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--sinis-primary);
    padding: 6px 14px;
    border: 1px solid rgba(198, 172, 91, 0.5);
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    z-index: 3;
    white-space: nowrap;
}
.page-hero__main { text-align: center !important; }
.page-hero__main * { text-align: center !important; }


/* ---------- SECTION POST META ---------- */
.section_post-meta {
    background: var(--sinis-gray-100);
    padding-top: 7rem;
    padding-top: clamp(80px, 49.79px + 8.06vw, 150px);
    padding-bottom: 6rem;
    padding-bottom: clamp(64px, 35.52px + 7.59vw, 130px);
}
.section_post-meta .l-container {
    max-width: 77.75rem;
    margin: 0 auto;
    width: calc(100% - 2rem);
    padding: 0;
}
.post-meta__grid {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 2.5rem 1.5rem;
}
.post-meta__grid-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* TOC */
.toc {
    max-width: 45rem;
    font-family: var(--sinis-font);
}
.toc__title {
    font-family: var(--sinis-font);
    font-size: clamp(18px, 15.41px + 0.69vw, 24px);
    font-weight: 400;
    color: var(--sinis-gray-800);
    line-height: 1.15;
    margin: 0;
}
.toc__list-wrap {
    margin-top: 1.5rem;
}
.toc-list {
    list-style: decimal;
    padding-left: 1.25em;
    margin: 0;
}
.toc-list li::marker {
    color: var(--sinis-primary);
    font-weight: 400;
}
.toc-list .toc-list { list-style: square; }
.toc-list__item {
    padding-left: 0.4rem;
    font-size: clamp(16px, 14.27px + 0.46vw, 20px);
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 2px;
    color: var(--sinis-gray-700);
    letter-spacing: 0.3px;
}
/* override blog.css : pas de "—" qui apparaît au hover, pas de padding-left shift */
.toc-list__item::before,
.toc-list__link::before { display: none !important; content: none !important; }
.toc-list__link {
    display: block;
    font-family: var(--sinis-font);
    font-size: inherit !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    color: var(--sinis-gray-700);
    padding-left: 0 !important;
    transition: none !important;
}
.toc-list__link:hover,
.toc-list__link:focus {
    color: var(--sinis-primary);
    padding-left: 0 !important;
}
.toc-list__link:hover::before,
.toc-list__link:focus::before { display: none !important; width: 0 !important; }
.toc-list__link:hover,
.toc-list__link:focus { color: var(--sinis-primary); }

/* Carte auteur */
.post-meta {
    width: 100%;
    max-width: 20rem;
    font-family: var(--sinis-font);
}
.post-meta__avatar {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    margin: auto auto 2rem;
    width: 7.25rem;
    height: 7.25rem;
    background: #ead8c2; /* fond crème-pêche comme Sinis */
    color: var(--sinis-gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
}
.post-meta__avatar img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 50%;
    display: block;
}

.post-meta__info {}
.post-meta__title {
    font-weight: 700;
    font-size: 1.125rem;
    line-height: var(--sinis-lh-small);
    color: var(--sinis-gray-800);
    margin: 0;
    font-family: var(--sinis-font);
}
.post-meta__list {
    margin-top: 0.75rem;
    padding: 0;
}
.post-meta__item {
    border-bottom: 1px solid var(--sinis-gray-300);
    padding: 0.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.5rem;
    color: var(--sinis-gray-700);
    font-family: var(--sinis-font);
    font-size: clamp(16px, 15.57px + 0.12vw, 17px);
    line-height: 1.5;
}
.post-meta__item:first-child {
    border-top: 1px solid var(--sinis-gray-300);
}
.post-meta__item dt {
    font-weight: 400;
    margin: 0;
    color: var(--sinis-gray-700);
}
.post-meta__item dd {
    margin: 0;
    color: var(--sinis-gray-800);
    font-weight: 400;
}
.post-meta__item dd time {
    color: var(--sinis-gray-700);
    font-weight: 400;
}
.post-meta__item dd a,
.post-category-link {
    color: var(--sinis-primary);
    text-decoration: none;
}
.post-meta__item dd a:hover,
.post-category-link:hover { text-decoration: underline; }

/* Desktop : avatar plus grand */
@media (min-width: 1024px) {
    .post-meta__avatar { width: 10.625rem; height: 10.625rem; }
}

/* Tablet & mobile : grid en 1 colonne, avatar 116px */
@media (max-width: 1023px) {
    .post-meta__grid { grid-template-columns: 1fr; gap: 4.5rem 1.25rem; }
    .page-hero__main { width: 100%; max-width: none; padding-top: 6rem; }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .page-hero { min-height: 520px; }
    .page-hero__main { padding-top: 4rem; padding-bottom: 1.25rem; }
    .page-hero .l-container { padding: 0 20px; }
    .section_post-meta .l-container { padding: 0 20px; }
}


/* ---------- CONTENEUR ARTICLE ---------- */
.post-main {
    background-color: #fff;
    padding-top: clamp(60px, 32.34px + 7.36vw, 124px);
    padding-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
    font-family: var(--sinis-font);
}
.post-main * { font-family: var(--sinis-font) !important; }

.post-article {
    max-width: 51.5rem;
    margin: 0 auto;
    font-family: var(--sinis-font);
    color: var(--sinis-gray-800);
}




/* ---------- FEATURED IMAGE (STYLE DRERMANAK) ---------- */
.post-featured {
    margin: 0 0 40px;
    text-align: center;
}
.post-featured img {
    width: 100%;
    max-width: 1020px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 3px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.post-featured figcaption {
    margin-top: 12px;
    font-size: 13px;
    font-style: italic;
    color: var(--color-grey);
    letter-spacing: 0.2px;
}


/* ---------- CHAPO ---------- */
.post-lead {
    font-family: var(--sinis-font);
    font-size: clamp(18px, 15.41px + 0.69vw, 24px);
    line-height: 1.55;
    color: var(--sinis-gray-800);
    font-weight: 400;
    font-style: italic;
    margin: 0 0 24px;
}
.post-lead em {
    color: var(--color-gold);
    font-style: italic;
}


/* ---------- TYPOGRAPHIE DE L'ARTICLE (calque text-component Sinis) ---------- */
.post-article {
    font-size: clamp(15px, 13.27px + 0.46vw, 17px);
    line-height: 1.75;
}
.post-article > * + * {
    margin-top: 2.25em;
}
.post-article p {
    font-family: var(--sinis-font);
    font-size: inherit;
    line-height: 1.75;
    color: var(--sinis-gray-700);
    font-weight: 400;
    margin: 0;
}
.post-article p strong {
    color: var(--sinis-gray-800);
    font-weight: 700;
}
.post-article p em {
    font-style: italic;
}
.post-article p a,
.post-article ul a,
.post-article ol a {
    color: var(--sinis-gray-800);
    text-decoration: underline;
    text-decoration-color: var(--sinis-primary);
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
.post-article p a:hover,
.post-article ul a:hover,
.post-article ol a:hover {
    color: var(--sinis-primary);
}

.post-article h2 {
    font-family: var(--sinis-font);
    font-size: clamp(18px, 14.5px + 0.9vw, 26px);
    font-weight: 700;
    color: var(--sinis-gray-800);
    letter-spacing: -0.2px;
    margin-top: 1.5em;
    margin-bottom: 1em;
    line-height: 1.25;
    padding-bottom: 0;
    border-bottom: none;
    scroll-margin-top: 130px;
}
.post-article h2:first-of-type { margin-top: 0.5em; }

.post-article h3 {
    font-family: var(--sinis-font);
    font-size: clamp(16px, 13.5px + 0.6vw, 20px);
    font-weight: 700;
    color: var(--sinis-gray-800);
    margin-top: 1em;
    margin-bottom: 0.8em;
    line-height: 1.25;
    letter-spacing: -0.1px;
}


/* ---------- LISTES (style Sinis : list-style: disc, marker doré) ---------- */
.post-article ul,
.post-article ol {
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.post-article ul { list-style: none; }
.post-article ol { list-style-type: decimal; padding-left: calc(1.2em + 0.5vw); }
.post-article ul li::marker { content: none; color: transparent; }
.post-article ol > li::marker { font-weight: 700; color: inherit; }
.post-article li {
    color: var(--sinis-gray-700);
    line-height: 1.75;
}

.post-list {
    list-style: none;
    padding: 0;
    margin: 6px 0 26px;
}
.post-list li {
    position: relative;
    padding-left: 0;
    margin-bottom: 0;
    font-family: var(--sinis-font);
    line-height: 1.5;
    color: var(--sinis-gray-800);
}
.post-list li::before {
    content: none;
    display: none;
    position: absolute;
    left: 8px;
    top: 13px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--sinis-gray-700);
}


/* ---------- TABLE DES MATIÈRES (legacy, plus utilisée dans nouveau template) ---------- */
.post-toc {
    background: transparent;
    border-left: none;
    padding: 0;
    margin: 30px 0 40px;
}
.post-toc h2 {
    font-family: var(--sinis-font);
    font-size: 13px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold);
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.2;
}
.post-toc ol {
    list-style: decimal inside;
    padding: 0;
    margin: 0;
    counter-reset: toc;
}
.post-toc ol li {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--color-slate);
}
.post-toc ol li a {
    color: var(--color-slate);
    text-decoration: none;
    transition: color 0.2s;
    padding: 0 !important;
    position: static;
}
.post-toc ol li a::before { display: none !important; }
.post-toc ol li a:hover {
    color: var(--color-gold);
    padding-left: 0 !important;
}


/* ---------- CITATION ---------- */
.post-quote {
    position: relative;
    margin: 36px 0;
    padding: 8px 0 8px 30px;
    background: transparent;
    border-left: 2px solid var(--sinis-gray-300);
    font-family: var(--sinis-font);
    font-size: clamp(18px, 15.41px + 0.69vw, 22px);
    line-height: 1.55;
    font-style: italic;
    color: var(--sinis-gray-800);
}
.post-quote::before {
    content: none;
    position: absolute;
    left: 16px;
    top: 2px;
    font-family: var(--sinis-font);
    font-size: 54px;
    color: var(--sinis-gray-700);
    line-height: 1;
    font-style: normal;
}
.post-quote cite {
    display: block;
    margin-top: 12px;
    font-family: var(--sinis-font);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-slate);
}


/* ---------- TABLEAU COMPARATIF ---------- */
.post-table-wrap {
    margin: 20px 0 30px;
    overflow-x: auto;
}
.post-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--sinis-font);
    font-size: 15px;
    background: #fff;
    border: 1px solid #e6e3dc;
}
.post-table thead th {
    background: transparent;
    color: var(--sinis-gray-800);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--sinis-gray-300);
}
.post-table thead th:last-child { border-right: none; }

.post-table tbody td {
    padding: 14px 18px;
    border-top: 1px solid var(--sinis-gray-300);
    color: var(--sinis-gray-800);
    line-height: 1.6;
}
.post-table tbody td:first-child {
    font-weight: 600;
    color: var(--sinis-gray-800);
    width: 28%;
}


/* ---------- AUTHOR CARD ---------- */
.post-author {
    margin: 50px 0 40px;
    padding: 30px 0;
    background: transparent;
    border-top: 1px solid var(--sinis-gray-300);
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 28px;
    align-items: flex-start;
    border: 1px solid #eae6db;
}
.author-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-slate);
}
.author-avatar svg {
    width: 52px;
    height: 52px;
    color: var(--color-gold);
}
.author-body .author-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 8px;
}
.author-body h3 {
    font-family: var(--sinis-font);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 10px;
}
.author-body p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-slate);
    margin: 0 0 14px !important;
}
.author-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sinis-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-dark);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--color-gold);
    transition: color 0.3s;
}
.author-link i { font-size: 10px; transition: transform 0.3s; }
.author-link:hover { color: var(--color-gold); }
.author-link:hover i { transform: translateX(4px); }


/* ---------- CTA FINAL ---------- */
.post-cta {
    margin: 50px 0 20px;
    padding: 46px 40px;
    background: var(--sinis-gray-100);
    color: var(--sinis-gray-800);
    text-align: center;
    position: relative;
}
.post-cta::before { content: none; }
.post-cta h3 {
    font-family: var(--sinis-font);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--sinis-gray-800);
    letter-spacing: -0.3px;
}
.post-cta p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: var(--sinis-gray-700) !important;
    max-width: 560px;
    margin: 0 auto 28px !important;
}
.post-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-gold);
    color: #fff;
    text-decoration: none;
    padding: 15px 32px;
    font-family: var(--sinis-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border: 1px solid var(--color-gold);
    transition: all 0.3s ease;
}
.post-cta-btn:hover {
    background: transparent;
    color: var(--color-gold);
}


/* ============================================================
   RELATED POSTS
   ============================================================ */
.related-posts {
    background: var(--color-cream);
    padding: 70px 40px;
    border-top: 1px solid #eae6db;
}
.related-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.related-inner > h2 {
    font-family: var(--sinis-font);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.3px;
}
.related-posts .blog-grid {
    margin-bottom: 0 !important;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .post-hero { height: 32vh !important; min-height: 240px !important; }
    .post-main { padding: 50px 18px 30px; }

    .post-lead { font-size: 19px; }
    .post-article h2 { font-size: 24px; margin: 40px 0 14px; }
    .post-article h3 { font-size: 18px; }
    .post-article p { font-size: 16px; }

    .post-author {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 26px 22px;
    }
    .author-avatar { margin: 0 auto; }
    .author-link { margin: 0 auto; }

    .post-cta { padding: 36px 24px; }
    .post-cta h3 { font-size: 22px; }

    .related-posts { padding: 50px 20px; }

    /* Tableau : chaque ligne en carte verticale */
    .post-table thead { display: none; }
    .post-table tbody,
    .post-table tr,
    .post-table td { display: block; width: 100%; border-right: none; }
    .post-table tr {
        margin-bottom: 16px;
        border: 1px solid #eae6db;
    }
    .post-table tbody td:first-child {
        background: var(--color-dark);
        color: #fff;
        letter-spacing: 2px;
        text-transform: uppercase;
        font-size: 12px;
    }
    .post-table tbody td:nth-child(2)::before {
        content: 'Teardrop — ';
        font-weight: 700;
        color: var(--color-gold);
        letter-spacing: 1px;
        font-size: 11px;
        text-transform: uppercase;
    }
    .post-table tbody td:nth-child(3)::before {
        content: 'Round — ';
        font-weight: 700;
        color: var(--color-gold);
        letter-spacing: 1px;
        font-size: 11px;
        text-transform: uppercase;
    }
    .post-table tbody tr:nth-child(even) td { background: transparent; }
}

@media (max-width: 480px) {
    .post-hero h1 { font-size: 26px !important; padding: 0; }
    .post-lead { font-size: 17px; }
    .post-article h2 { font-size: 22px; }
    .post-quote {
        padding: 22px 20px 22px 46px;
        font-size: 17px;
    }
    .post-quote::before { font-size: 42px; left: 14px; }
    .post-toc { padding: 22px 22px 18px; }
    .post-toc ol li { font-size: 14px; }
}
