@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   1. VARIABLES
   ========================================================================== */
:root {
    --karate-red: #e31b23;
    --karate-red-dark: #b5121b;
    --navy: #071b2f;
    --navy-light: #102d4a;
    --white: #ffffff;
    --page-bg: #fafafa;
    --soft-bg: #f5f7f9;
    --text-dark: #1a1f25;
    --text-muted: #66717d;
    --border: #e4e7ea;
    --shadow: 0 10px 30px rgba(7, 27, 47, 0.08);
    --shadow-soft: 0 4px 15px rgba(7, 27, 47, 0.04);
    --shadow-hover: 0 15px 35px rgba(227, 27, 35, 0.15);
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   2. BASE PAGE
   ========================================================================== */
body {
    background-color: var(--page-bg);
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    padding-bottom: 0 !important;
}

/* Remove and disable mobile sticky bottom footer navigation on karate-classes page */
.mobile-bottom-nav,
.mobile-contact-actions {
    display: none !important;
}

h1, h2, h3, h4, .section-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.karate-page-container {
    width: min(100% - 30px, 1200px);
    margin-inline: auto;
    padding-block: 36px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.karate-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    padding: clamp(20px, 4vw, 40px);
    transition: var(--transition);
}

.karate-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.color-red {
    color: var(--karate-red) !important;
}

/* Faint Japanese Kanji watermarks */
.card-kanji-watermark {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(80px, 12vw, 150px);
    font-family: 'Bebas Neue', sans-serif;
    color: rgba(7, 27, 47, 0.02);
    font-weight: 900;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    z-index: 1;
}

.watermark-red {
    color: rgba(227, 27, 35, 0.03) !important;
}

/* ==========================================================================
   3. TOPBAR
   ========================================================================== */
.karate-topbar {
    background-color: var(--navy);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    font-weight: 500;
    letter-spacing: 0.3px;
}

.topbar-org-short {
    font-weight: 700;
    color: var(--karate-red);
    margin-right: 6px;
}

.topbar-socials {
    display: flex;
    gap: 12px;
}

.topbar-social-link {
    width: 28px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: var(--transition);
    text-decoration: none;
}

.topbar-social-link:hover {
    background-color: var(--karate-red);
    transform: scale(1.1);
}

/* ==========================================================================
   4. NAVBAR OVERRIDES & FIXED SPACING
   ========================================================================== */
.header-site {
    position: relative !important;
    top: 0 !important;
    box-shadow: var(--shadow-soft) !important;
}

/* ==========================================================================
   5. KARATE/FITNESS HERO (SPLIT DESIGN)
   ========================================================================== */
.karate-brand-hero {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #000000;
    border-bottom: 4px solid var(--karate-red);
    line-height: 0;
}

.karate-brand-hero-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

/* ==========================================================================
   6. PROFILE CARDS GENERAL LAYOUT (FOUNDER, INSTRUCTOR, KYOKUSHIN, AFFILIATION)
   ========================================================================== */
.profile-card-grid {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.profile-card-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.profile-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.karate-card:hover .profile-card-img {
    transform: scale(1.05);
}

.profile-card-details {
    display: flex;
    flex-direction: column;
}

.profile-card-name {
    font-size: clamp(22px, 3.5vw, 30px);
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 4px;
}

.profile-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--karate-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.profile-card-bio {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Sub-variations */
.profile-card-experience-badge {
    align-self: flex-start;
    background-color: rgba(227, 27, 35, 0.08);
    color: var(--karate-red);
    font-weight: 700;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    border: 1px solid rgba(227, 27, 35, 0.15);
}

.affiliation-meta-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.affiliation-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--navy-light);
}

.affiliation-meta-item i {
    color: var(--karate-red);
    font-size: 16px;
}

/* ==========================================================================
   10. TRAINING BIOGRAPHY
   ========================================================================== */
.training-bio-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: clamp(20px, 4vw, 35px);
    box-shadow: var(--shadow);
}

.training-bio-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: clamp(20px, 3.5vw, 35px);
    align-items: center;
}

.training-img-wrapper {
    width: 100%;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 3px solid var(--white);
    box-shadow: 0 6px 18px rgba(7, 27, 47, 0.12);
}

.training-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.training-bio-subtitle {
    font-size: clamp(14px, 1.3vw, 16px);
    font-weight: 700;
    color: var(--navy-light);
    margin-bottom: 12px;
}

/* Modern Specialization Block Cards (Replaces circular icons with block cards) */
.specialization-block-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 18px;
    width: 100%;
}

.specialization-block-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--page-bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.specialization-block-card:hover {
    transform: translateY(-3px);
    border-color: var(--karate-red);
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(227, 27, 35, 0.14);
}

.specialization-block-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: var(--karate-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(227, 27, 35, 0.25);
    transition: var(--transition);
}

.specialization-block-card:hover .specialization-block-icon {
    background-color: var(--karate-red-dark);
    transform: scale(1.05);
}

.specialization-block-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy);
    letter-spacing: 0.3px;
    line-height: 1.2;
}

/* ==========================================================================
   11. INSTRUCTOR DETAILS
   ========================================================================== */
.details-rows-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}

.details-info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.details-row-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--karate-red);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(227, 27, 35, 0.2);
}

.details-row-text {
    display: flex;
    flex-direction: column;
}

.details-row-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.details-row-val {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

.details-row-link-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--karate-red);
    text-decoration: none;
    transition: var(--transition);
}

.details-row-link-val:hover {
    color: var(--karate-red-dark);
    text-decoration: underline;
}

/* ==========================================================================
   12. BOARD MEMBERS
   ========================================================================== */
.board-members-section {
    background-color: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 60px 0;
}

.board-section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.board-header-line {
    flex-grow: 1;
    max-width: 80px;
    height: 2px;
    background-color: var(--karate-red);
}

.board-section-title {
    font-size: clamp(20px, 4vw, 28px);
    color: var(--navy);
    margin: 0;
    text-align: center;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.board-card {
    background: var(--page-bg);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-sm);
    padding: 24px 15px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.board-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--karate-red);
}

.board-avatar-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 3px solid var(--white);
    box-shadow: 0 4px 10px rgba(7, 27, 47, 0.1);
    transition: var(--transition);
}

.board-card:hover .board-avatar-wrapper {
    border-color: var(--karate-red);
    transform: scale(1.05);
}

.board-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-member-name {
    font-size: 17px;
    color: var(--navy);
    margin: 0 0 8px;
    font-weight: 700;
}

.board-member-divider {
    width: 30px;
    height: 2px;
    background-color: var(--karate-red);
    margin: 0 auto 10px;
}

.board-member-role {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
}

/* ==========================================================================
   12.1 INDIAN KARATE BOARD MEMBERS & IFKK SHOWCASE
   ========================================================================== */
.indian-board-section {
    background-color: var(--page-bg);
    border-bottom: 1px solid var(--border);
    padding: 60px 0;
}

.ifkk-showcase-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: clamp(25px, 4vw, 40px);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.ifkk-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--karate-red) 0%, var(--navy) 100%);
}

.ifkk-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: clamp(25px, 4vw, 45px);
    align-items: center;
}

.ifkk-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(227, 27, 35, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    padding: 15px;
    border-radius: var(--border-radius-sm);
    border: 1px dashed rgba(227, 27, 35, 0.3);
}

.ifkk-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(7, 27, 47, 0.12));
    transition: var(--transition);
}

.ifkk-showcase-card:hover .ifkk-logo-img {
    transform: scale(1.05);
}

.ifkk-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(227, 27, 35, 0.10);
    color: var(--karate-red);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.ifkk-main-title {
    font-size: clamp(20px, 2.5vw, 26px);
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.25;
}

.ifkk-desc-text {
    font-size: clamp(14px, 1.4vw, 15.5px);
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
}

.ifkk-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ifkk-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--page-bg);
    border: 1px solid var(--border);
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

.ifkk-tag i {
    color: var(--karate-red);
}

@media (max-width: 768px) {
    .ifkk-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .ifkk-logo-wrapper {
        max-width: 180px;
        margin: 0 auto;
    }
    
    .ifkk-feature-tags {
        justify-content: center;
    }
}

/* ==========================================================================
   13. SERVICE / ACTION CARDS
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 12px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--karate-red);
}

.service-card-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--karate-red);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 20px;
    margin: 0 auto 14px;
    box-shadow: 0 4px 10px rgba(227, 27, 35, 0.25);
    transition: var(--transition);
}

.service-card:hover .service-card-icon-wrapper {
    transform: scale(1.1);
    background-color: var(--karate-red-dark);
}

.service-card-title {
    font-size: 14px;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.service-card-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

/* ==========================================================================
   14. CTA ACTIONS
   ========================================================================== */
.karate-cta-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.karate-btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 54px;
    border-radius: 50px;
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(7, 27, 47, 0.15);
}

.btn-primary-red {
    background-color: var(--karate-red);
    color: var(--white);
}

.btn-primary-red:hover {
    background-color: var(--karate-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(227, 27, 35, 0.3);
}

.btn-secondary-navy {
    background-color: var(--navy);
    color: var(--white);
}

.btn-secondary-navy:hover {
    background-color: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(7, 27, 47, 0.25);
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.karate-footer {
    background-color: var(--navy);
    color: var(--white);
    padding-top: 50px;
    border-top: 5px solid var(--karate-red);
}

.footer-brand-call-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.footer-brand-info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.footer-brand-logo-wrapper {
    flex-shrink: 0;
    background: var(--white);
    padding: 10px;
    border-radius: 50%;
    width: 85px;
    height: 85px;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-brand-logo-img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.footer-brand-title {
    font-size: 20px;
    margin: 0 0 4px;
    letter-spacing: 0.5px;
}

.footer-brand-full-name {
    font-size: 12px;
    color: var(--karate-red);
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-brand-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

/* Red rounded call card */
.footer-call-cta-card {
    background-color: var(--karate-red);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(227, 27, 35, 0.25);
    z-index: 1;
}

.footer-call-card-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-call-card-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.footer-call-card-text {
    display: flex;
    flex-direction: column;
}

.footer-call-phone-link {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.footer-call-phone-link:hover {
    text-decoration: underline;
}

.footer-call-tagline {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
    margin: 0;
}

/* Background karate fighter vector silhouette overlay */
.footer-call-silhouette {
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 100px;
    height: 100px;
    background: url('../../assets/images/karate_silhouette_footer.png') center/contain no-repeat;
    opacity: 0.12;
    pointer-events: none;
    z-index: 2;
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-nav-title {
    font-size: 15px;
    color: var(--white);
    border-left: 3px solid var(--karate-red);
    padding-left: 10px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-contact-items-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-row-icon {
    color: var(--karate-red);
    font-size: 15px;
    margin-top: 2px;
}

.footer-contact-row-val {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    text-decoration: none;
    transition: var(--transition);
}

a.footer-contact-row-val:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-links-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-menu a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links-menu a:hover {
    color: var(--white);
    padding-left: 4px;
}

.bullet-red {
    width: 6px;
    height: 6px;
    background-color: var(--karate-red);
    border-radius: 50%;
}

/* Red copyright strip */
.karate-copyright-strip {
    background-color: var(--karate-red-dark);
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
}

.copyright-container p {
    margin: 0;
}

/* ==========================================================================
   16. ANIMATIONS & SCROLL REVEAL
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   17. TABLET (MAX-WIDTH: 992px)
   ========================================================================== */
@media (max-width: 992px) {
    .karate-page-container {
        padding-block: 28px;
        gap: 25px;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   18. MEDIUM MOBILE (MAX-WIDTH: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .topbar-org-full {
        display: none; /* Hide full association form on tablets/mobiles */
    }

    /* Stack card images ON TOP of text for clean mobile responsiveness */
    .profile-card-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: left;
    }

    .profile-card-img-wrapper {
        max-width: 170px;
        width: 100%;
        margin: 0 auto 10px auto;
        border-radius: 12px;
        aspect-ratio: 4 / 5;
    }

    .kanji-img-wrapper,
    .affiliation-logo-wrapper {
        max-width: 140px;
        height: 140px;
        aspect-ratio: 1 / 1;
        margin: 0 auto 10px auto;
    }

    .training-bio-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .training-img-wrapper {
        width: 100%;
        max-width: 100%;
        max-height: 230px;
        aspect-ratio: 16 / 9;
        margin: 0 auto 10px auto;
        border-radius: 12px;
    }

    .profile-card-details {
        width: 100%;
        text-align: left;
    }

    .profile-card-name {
        font-size: clamp(20px, 5.5vw, 26px);
        margin-bottom: 6px;
    }

    .specialization-block-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .specialization-block-card {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 10px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .specialization-block-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
        border-radius: 6px;
        flex-shrink: 0;
    }

    .specialization-block-label {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .details-rows-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .board-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand-call-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-nav-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================================
   19. MOBILE (MAX-WIDTH: 576px)
   ========================================================================== */
@media (max-width: 576px) {
    .karate-page-container {
        padding-block: 18px;
        gap: 18px;
    }

    .karate-card {
        padding: 20px 16px;
    }

    .training-bio-card {
        padding: 20px 16px;
    }

    .profile-card-img-wrapper {
        max-width: 155px;
    }

    .kanji-img-wrapper,
    .affiliation-logo-wrapper {
        max-width: 130px;
        height: 130px;
    }

    .training-img-wrapper {
        max-height: 195px;
    }

    .specialization-block-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .specialization-block-card {
        padding: 7px 9px;
        gap: 7px;
    }

    .specialization-block-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
        border-radius: 6px;
    }

    .specialization-block-label {
        font-size: 10.5px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .copyright-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ==========================================================================
   20. SMALL MOBILE (MAX-WIDTH: 420px)
   ========================================================================== */
@media (max-width: 420px) {
    .profile-card-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .profile-card-img-wrapper {
        max-width: 140px;
    }

    .specialization-block-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .specialization-block-card {
        padding: 6px 7px;
        gap: 6px;
    }

    .specialization-block-icon {
        width: 26px;
        height: 26px;
        font-size: 11px;
        border-radius: 5px;
    }

    .specialization-block-label {
        font-size: 9.5px;
    }

    .board-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .karate-cta-actions {
        grid-template-columns: 1fr;
    }
}
