/* =========================================================
   ARTICLE
========================================================= */

.aa-single {
    background: #0b0b0b;
    color: #fff;
}

.aa-single-container {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
}


/* HERO
========================================================= */

.aa-single-hero {
    padding: 145px 20px 70px;

    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(245, 196, 0, 0.12),
            transparent 35%
        ),
        #090909;

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.aa-single-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;

    margin-bottom: 25px;
}

.aa-single-category {
    display: inline-block;

    padding: 7px 12px;

    background: #f5c400;
    color: #080808;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    text-decoration: none;
}

.aa-single-meta time {
    color: rgba(255,255,255,0.45);

    font-size: 12px;
}

.aa-single h1 {
    max-width: 850px;

    margin: 0;

    color: #fff !important;

    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;

    letter-spacing: -0.04em;
}

.aa-single-excerpt {
    max-width: 700px;

    margin: 28px 0 0;

    color: rgba(255,255,255,0.62);

    font-size: 18px;
    line-height: 1.65;
}


/* ARTICLE
========================================================= */

.aa-single-article {
    padding: 70px 0 110px;
}


/* IMAGE
========================================================= */

.aa-single-featured {
    margin-bottom: 55px;

    border-radius: 22px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.08);
}

.aa-single-featured img {
    display: block;

    width: 100%;
    height: auto;
}


/* TEXTE
========================================================= */

.aa-single-content {
    max-width: 760px;

    margin: 0 auto;

    color: rgba(255,255,255,0.72);

    font-size: 17px;
    line-height: 1.85;
}

.aa-single-content p {
    margin: 0 0 27px;
}

.aa-single-content h2,
.aa-single-content h3,
.aa-single-content h4 {
    color: #fff !important;

    letter-spacing: -0.025em;
}

.aa-single-content h2 {
    margin: 60px 0 22px;

    font-size: 32px;
    line-height: 1.2;
}

.aa-single-content h3 {
    margin: 45px 0 18px;

    font-size: 24px;
}

.aa-single-content a {
    color: #f5c400;
}

.aa-single-content strong {
    color: #fff;
}

.aa-single-content ul,
.aa-single-content ol {
    margin: 25px 0 30px 22px;
}

.aa-single-content li {
    margin-bottom: 10px;
}

.aa-single-content blockquote {
    margin: 45px 0;

    padding: 25px 30px;

    background: #131313;

    border-left: 4px solid #f5c400;
    border-radius: 0 12px 12px 0;

    color: rgba(255,255,255,0.78);

    font-size: 18px;
    line-height: 1.7;
}


/* IMAGES DANS L'ARTICLE
========================================================= */

.aa-single-content img {
    max-width: 100%;
    height: auto;

    border-radius: 14px;
}

.aa-single-content figure {
    margin: 40px 0;
}

.aa-single-content figcaption {
    margin-top: 10px;

    color: rgba(255,255,255,0.4);

    font-size: 12px;
    text-align: center;
}


/* BAS ARTICLE
========================================================= */

.aa-single-footer {
    max-width: 760px;

    margin: 70px auto 0;
    padding-top: 35px;

    border-top: 1px solid rgba(255,255,255,0.08);
}

.aa-single-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #f5c400;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;
}

.aa-single-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 30px;

    margin-top: 45px;
}

.aa-single-prev a,
.aa-single-next a {
    display: flex;
    flex-direction: column;

    color: #fff;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;

    text-decoration: none;
}

.aa-single-next {
    text-align: right;
}

.aa-single-prev span,
.aa-single-next span {
    margin-bottom: 7px;

    color: rgba(255,255,255,0.38);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}


/* RESPONSIVE
========================================================= */

@media (max-width: 700px) {

    .aa-single-container {
        width: min(100% - 28px, 920px);
    }

    .aa-single-hero {
        padding: 120px 14px 55px;
    }

    .aa-single-article {
        padding: 45px 0 80px;
    }

    .aa-single-featured {
        margin-bottom: 40px;

        border-radius: 16px;
    }

    .aa-single-content {
        font-size: 16px;
        line-height: 1.75;
    }

    .aa-single-content h2 {
        margin-top: 45px;

        font-size: 27px;
    }

    .aa-single-navigation {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .aa-single-next {
        text-align: left;
    }

}

/* =========================================================
   COMMENTAIRES
========================================================= */

.aa-comments {
    max-width: 760px;
    margin: 80px auto 0;
    padding-top: 55px;

    border-top: 1px solid rgba(255,255,255,0.08);
}

.aa-comments-heading {
    margin-bottom: 35px;
}

.aa-comments-heading > span {
    display: block;
    margin-bottom: 8px;

    color: #f5c400;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.aa-comments-heading h2 {
    margin: 0 0 10px;

    color: #fff !important;

    font-size: 30px;
    line-height: 1.2;
}

.aa-comments-heading p {
    margin: 0;

    color: rgba(255,255,255,0.5);

    font-size: 14px;
}


/* FORMULAIRE
========================================================= */

.aa-comments .comment-respond {
    padding: 30px;

    background: #131313;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
}

.aa-comments .comment-reply-title {
    margin: 0 0 22px;

    color: #fff !important;

    font-size: 20px;
}

.aa-comments .comment-notes,
.aa-comments .logged-in-as {
    color: rgba(255,255,255,0.45);

    font-size: 12px;
}

.aa-comments label {
    display: block;

    margin-bottom: 8px;

    color: rgba(255,255,255,0.7);

    font-size: 12px;
    font-weight: 700;
}


/* CHAMPS
========================================================= */

.aa-comments input[type="text"],
.aa-comments input[type="email"],
.aa-comments input[type="url"],
.aa-comments textarea {
    width: 100%;

    padding: 13px 15px;

    background: #0b0b0b;

    color: #fff;

    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 9px;

    outline: none;

    font-family: inherit;
    font-size: 14px;

    transition: border-color 0.2s ease;
}

.aa-comments textarea {
    min-height: 140px;

    resize: vertical;
}

.aa-comments input:focus,
.aa-comments textarea:focus {
    border-color: #f5c400;
}

.aa-comments .comment-form p {
    margin-bottom: 18px;
}


/* BOUTON
========================================================= */

.aa-comments .submit {
    appearance: none;

    padding: 14px 20px;

    background: #f5c400;

    color: #080808;

    border: 0;
    border-radius: 8px;

    cursor: pointer;

    font-size: 12px;
    font-weight: 800;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.aa-comments .submit:hover {
    background: #ffd51a;
    transform: translateY(-2px);
}


/* COMMENTAIRES PUBLIÉS
========================================================= */

.aa-comments .comment-list {
    margin: 0 0 40px;
    padding: 0;

    list-style: none;
}

.aa-comments .comment {
    margin-bottom: 15px;
    padding: 22px;

    background: #131313;

    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
}

.aa-comments .comment-author {
    color: #fff;

    font-weight: 700;
}

.aa-comments .comment-metadata {
    margin: 5px 0 15px;

    font-size: 11px;
}

.aa-comments .comment-metadata a {
    color: rgba(255,255,255,0.4);

    text-decoration: none;
}

.aa-comments .comment-content {
    color: rgba(255,255,255,0.68);

    font-size: 14px;
    line-height: 1.7;
}

.aa-comments .reply a {
    color: #f5c400;

    font-size: 11px;
    font-weight: 800;

    text-decoration: none;
}

/* =========================================================
   COMMENTAIRES - CORRECTION DESIGN
========================================================= */

.aa-comments {
    max-width: 760px;
    margin: 80px auto 0;
    padding-top: 55px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.aa-comments-heading {
    margin-bottom: 30px;
}

.aa-comments-heading > span {
    display: block;
    margin-bottom: 10px;
    color: #f5c400;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.aa-comments-heading h2 {
    margin: 0 0 10px;
    color: #fff !important;
    font-size: 30px;
    line-height: 1.2;
}

.aa-comments-heading p {
    margin: 0;
    color: rgba(255,255,255,0.52);
    font-size: 14px;
}


/* LISTE DES COMMENTAIRES
========================================================= */

.aa-comments .comments-title {
    display: none;
}

.aa-comments .comment-list {
    margin: 0 0 35px;
    padding: 0;
    list-style: none;
}

.aa-comments .comment {
    margin-bottom: 14px;
    padding: 22px 24px;

    background: #131313 !important;

    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 14px !important;
}

.aa-comments .comment-author {
    color: #fff !important;
    font-weight: 700;
}

.aa-comments .comment-author a {
    color: #fff !important;
    text-decoration: none;
}

.aa-comments .comment-metadata {
    margin-top: 5px;
    margin-bottom: 15px;
}

.aa-comments .comment-metadata a {
    color: rgba(255,255,255,0.4) !important;
    font-size: 11px;
    text-decoration: none;
}

.aa-comments .comment-content {
    color: rgba(255,255,255,0.7) !important;
    font-size: 14px;
    line-height: 1.7;
}

.aa-comments .reply a {
    color: #f5c400 !important;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}


/* FORMULAIRE
========================================================= */

.aa-comments .comment-respond {
    margin: 0 !important;
    padding: 30px !important;

    background: #131313 !important;

    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 16px !important;

    box-shadow: none !important;
}

.aa-comments .comment-reply-title {
    margin: 0 0 20px !important;

    color: #fff !important;

    font-size: 20px !important;
    font-weight: 700 !important;
}

.aa-comments .logged-in-as,
.aa-comments .comment-notes {
    margin-bottom: 18px !important;

    color: rgba(255,255,255,0.45) !important;

    font-size: 12px !important;
    line-height: 1.6;
}

.aa-comments .logged-in-as a {
    color: #f5c400 !important;
    text-decoration: none !important;
}

.aa-comments .logged-in-as a:hover {
    text-decoration: underline !important;
}


/* CHAMPS
========================================================= */

.aa-comments textarea,
.aa-comments input[type="text"],
.aa-comments input[type="email"],
.aa-comments input[type="url"] {
    width: 100% !important;

    padding: 15px 16px !important;

    background: #0b0b0b !important;

    color: #fff !important;

    border: 1px solid rgba(255,255,255,0.13) !important;
    border-radius: 9px !important;

    outline: none !important;
    box-shadow: none !important;

    font-family: inherit !important;
    font-size: 14px !important;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.aa-comments textarea {
    min-height: 170px !important;
    resize: vertical;
}

.aa-comments textarea:focus,
.aa-comments input[type="text"]:focus,
.aa-comments input[type="email"]:focus,
.aa-comments input[type="url"]:focus {
    border-color: #f5c400 !important;
    background: #0e0e0e !important;
}

.aa-comments textarea::placeholder,
.aa-comments input::placeholder {
    color: rgba(255,255,255,0.38) !important;
}


/* LABELS
========================================================= */

.aa-comments label {
    display: block;

    margin-bottom: 8px;

    color: rgba(255,255,255,0.68) !important;

    font-size: 12px;
    font-weight: 700;
}

.aa-comments .comment-form p {
    margin-bottom: 18px;
}


/* BOUTON
========================================================= */

.aa-comments .form-submit {
    margin-top: 20px !important;
    margin-bottom: 0 !important;
}

.aa-comments input[type="submit"],
.aa-comments .submit {
    appearance: none !important;

    padding: 14px 20px !important;

    background: #f5c400 !important;

    color: #080808 !important;

    border: none !important;
    border-radius: 8px !important;

    box-shadow: none !important;

    cursor: pointer !important;

    font-size: 12px !important;
    font-weight: 800 !important;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease !important;
}

.aa-comments input[type="submit"]:hover,
.aa-comments .submit:hover {
    background: #ffd51a !important;
    color: #080808 !important;

    transform: translateY(-2px);
}


/* SUPPRESSION DES STYLES PAR DÉFAUT DU THÈME
========================================================= */

.aa-comments form,
.aa-comments .comment-form,
.aa-comments .comment-respond,
.aa-comments #respond {
    box-shadow: none !important;
}

.aa-comments #respond::before,
.aa-comments #respond::after,
.aa-comments .comment-respond::before,
.aa-comments .comment-respond::after {
    display: none !important;
}


/* RESPONSIVE
========================================================= */

@media (max-width: 700px) {

    .aa-comments {
        margin-top: 60px;
        padding-top: 40px;
    }

    .aa-comments .comment-respond {
        padding: 22px !important;
        border-radius: 14px !important;
    }

    .aa-comments-heading h2 {
        font-size: 26px;
    }

}

/* Suppression du fond blanc hérité de WordPress */
.aa-comments #comments,
.aa-comments .comments-area,
.aa-comments .comment-respond,
.aa-comments #respond,
.aa-comments .comment-form {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.aa-comments #respond {
    padding: 0 !important;
    margin: 0 !important;
}

.aa-comments .comment-respond {
    background: #131313 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    padding: 30px !important;
}

.aa-comments .comment-form-author {
    max-width: 380px;
}

.aa-comments .comment-form-author input {
    width: 100% !important;
}