/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* ======================================================
   Layout général
   ====================================================== */
.entry-content > section {
    margin-bottom: 2.5rem;
}

.entry-content > section ol,
.entry-content > section ul {
    margin-left: 0;   
}

/* ======================================================
   Typographie
   ====================================================== */
.entry-content h2 {
    margin-bottom: 1.5rem;
    font-size: 1.875rem;
    font-weight: 700;
    padding-bottom: 0.75rem;
}

.entry-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.technique-translation {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* ======================================================
   Meta (Grade, Category, Breakdown)
   ====================================================== */
.technique-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.2rem !important;
    padding: 0.625rem 1.25rem;
    background: var(--ast-global-color-5);
}

.technique-meta-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.technique-meta-value {
    padding: 0.25rem 1rem;
    font-size: 1rem;
    border-radius: 6px;
}

.technique-category {
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    border: 1px solid currentColor;
    background-color: transparent;
}

/* ======================================================
   Sections de contenu
   ====================================================== */

/* Martial intent */
.technique-highlight {
    padding: 2rem 0;
}

/* In short & Steps */
.technique-summary, 
.technique-steps {
    padding: 2rem;
    background: var(--ast-global-color-5);
    border: 1px solid var(--ast-global-color-6);
    border-radius: 12px;
}

/* Video */
.technique-video {
    margin: 3rem 0;
}

.video-container {
    aspect-ratio: 16/9;
    position: relative;
    width: 100%;
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
}

.cmplz-blocked-content-notice {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.cmplz-blocked-content-notice p {
    color: #fff;
    margin: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Cache le placeholder de Complianz une fois le consentement accordé */
.cmplz-status-accepted .cmplz-blocked-content-container,
.cmplz-status-accepted .cmplz-accept-service {
    display: none !important;
}

.cmplz-status-accepted iframe.cmplz-iframe {
    z-index: 20;
    position: absolute;
    top: 0;
    left: 0;
}

/* Steps */
.technique-steps ol {
    padding-left: 0;
    counter-reset: step-counter;
    list-style: none;
}

.technique-steps li {
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 2.75rem;
    counter-increment: step-counter;
}

.technique-steps li:last-child {
    margin-bottom: 0;
}

.technique-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: var(--ast-global-color-8);
    color: var(--ast-global-color-5);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50%;
}

/* Key points */
.technique-keypoints,
.technique-recommendations {
    padding: 2rem 0;
}

.technique-keypoints ul {
    padding-left: 0;
    list-style: none;
}

.technique-keypoints li {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 2.25rem;
    line-height: 1.6;
}

.technique-keypoints li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--ast-global-color-1);
    color: var(--ast-global-color-5);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 4px;
}

/* Recommendations */
.technique-recommendations ul {
    padding-left: 0;
    list-style: none;
}

.technique-recommendations li {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 2.25rem;
    line-height: 1.6;
}

.technique-recommendations li::before {
    content: '💡';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.25rem;
}

/* Common mistakes */
.technique-mistakes {
    padding: 2rem 0;
}

.technique-mistakes ul {
    padding-left: 0;
    list-style: none;
}

.technique-mistakes li {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 2.25rem;
    line-height: 1.6;
}

.technique-mistakes li::before {
    content: '✗';
    position: absolute;
    left: 0;
    top: 0.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: #ef4444;
    color: var(--ast-global-color-5);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 4px;
}

/* Corrections */
.technique-correction {
    padding: 2rem 0;
}

.technique-correction ul {
    padding-left: 0;
    list-style: none;
}

.technique-correction li {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 2.25rem;
    line-height: 1.6;
}

.technique-correction li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--ast-global-color-8);
    color: var(--ast-global-color-5);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4px;
}

/* Related link */
.technique-related-link {
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--ast-global-color-5);
    border-radius: 8px;
    text-align: center;
}

.technique-related-link a {
    font-weight: 600;
    text-decoration: none;
}

.technique-intro {
    margin: 0 auto 2em;
    padding: 0 1em;
    font-size: 1.05em;
    line-height: 1.6;
}

.technique-section-title {
    margin: 2em 0 0.8em;
    font-size: 1.875rem;
}

.technique-section-title-sep {
    width: 60px;
    border-top-width: 1px;
    border-top-color: var(--ast-global-color-0);
    border-top-style: solid;
    margin-bottom: 0px;
    padding-bottom: 20px;
}

.technique-related {
    margin-top: 2em;
    padding-top: 1.5em;
    border-top: 1px solid #e0e0e0;
}

.technique-related-intro {
    color: #666;
    margin-bottom: 0.5em;
}

.technique-related-list {
    list-style: none;
    padding-left: 0;
}

.technique-related-list li {
    padding: 0.4em 0;
    border-bottom: 1px solid #f0f0f0;
}

.technique-related-list li:last-child {
    border-bottom: none;
}

.technique-related-list li a {
    font-weight: 600;
}

.technique-related-subtitle {
    color: #888;
    font-style: italic;
}

/* ======================================================
   Archive - Grid Layout
   ====================================================== */
.technique-archive {
    margin: 2.5rem 0;
    padding: 0 30px;
}

.technique-archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* ======================================================
   Archive - Technique Cards
   ====================================================== */
.technique-card {
    background: #fff;
    border: 1px solid var(--ast-global-color-6);
    border-radius: 12px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.technique-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.technique-card-link {
    display: block;
    padding: 1.5rem;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.technique-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.technique-card-link:focus-visible {
    outline: 2px solid var(--ast-global-color-0, #0073aa);
    outline-offset: 3px;
}

.technique-card-title {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 600;
}

.technique-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.technique-card-category,
.technique-card-belt {
    display: inline-flex;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    border: 1px solid currentColor;
    background-color: transparent;
    line-height: 1.2;
}

.technique-card-belt {
    background: #eef3ff;
}

/* ======================================================
   Belt Colors
   ====================================================== */
.belt--white {
    color: #555;
    background-color: rgba(0, 0, 0, 0.04);
}

.belt--yellow {
    color: #b7950b;
    background-color: rgba(244, 208, 63, 0.15);
}

.belt--orange {
    color: #d35400;
    background-color: rgba(243, 156, 18, 0.15);
}

.belt--green {
    color: #1e8449;
    background-color: rgba(39, 174, 96, 0.12);
}

.belt--blue {
    color: #2471a3;
    background-color: rgba(41, 128, 185, 0.12);
}

.belt--brown {
    color: #6e2c00;
    background-color: rgba(142, 90, 43, 0.12);
}

.belt--black {
    color: #111;
    background-color: rgba(0, 0, 0, 0.06);
}

.technique-disclaimer {
    margin: 1rem;
    font-size: 0.9rem;
    color: #555;
}

/* ======================================================
   Responsive
   ====================================================== */
@media (min-width: 768px) {
    .technique-archive-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (max-width: 768px) {
    .entry-content h2 {
        font-size: 1.5rem;
    }
    
    .entry-content h3 {
        font-size: 1.25rem;
    }
    
    .technique-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .technique-meta-value {
        text-align: center;
    }
    
    .technique-highlight,
    .technique-summary,
    .technique-steps,
    .technique-keypoints,
    .technique-recommendations,
    .technique-mistakes,
    .technique-correction {
        padding: 1.5rem;
    }
    
    .technique-steps li {
        padding-left: 2.5rem;
    }
    
    .technique-steps li::before {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.875rem;
    }
    
    .technique-keypoints li,
    .technique-recommendations li,
    .technique-mistakes li,
    .technique-correction li {
        padding-left: 2rem;
    }
    
    .technique-keypoints li::before,
    .technique-mistakes li::before,
    .technique-correction li::before {
        width: 1.25rem;
        height: 1.25rem;
        font-size: 0.75rem;
    }
    
    .technique-recommendations li::before {
        font-size: 1rem;
    }
}