﻿:root {
    /* Color Palette */
    --tkd-red: #C21B17;
    --tkd-navy: #0A2540;
    --tkd-teal: #00A3AD;
    --tkd-gray: #64748B;
    --tkd-bg-light: #F8F9FA;
    --tkd-white: #FFFFFF;
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Effects */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-pill: 6px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--tkd-bg-light);
    color: var(--tkd-navy);
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6, .serif {
    font-family: var(--font-main);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --- Layout --- */

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

/* --- Full Width Navbar --- */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fbf3f4;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.nav-container {
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 45px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--tkd-navy);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--tkd-red);
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.btn-tkd {
    background: var(--tkd-red);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    display: inline-block;
}

.btn-tkd:hover {
    background: #a01613;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(194, 27, 23, 0.3);
    color: white;
}

.btn-tkd-outline {
    border: 2px solid var(--tkd-red);
    color: var(--tkd-red);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-tkd-outline:hover {
    background: var(--tkd-red);
    color: white;
}

/* --- Search Bar Dropdown --- */
.search-bar-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    z-index: 999;
    display: none;
    border-top: 1px solid rgba(0,0,0,0.05);
    animation: slideDown 0.3s ease-out forwards;
}

.search-bar-dropdown.active {
    display: block;
}

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

/* --- Hero Section --- */
.hero {
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
}

.hero-slider-container {
    height: 55vh;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
}

/* --- Bulletin Card --- */
.bulletin-card {
    background: white;
    height: 55vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.bulletin-header {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.bulletin-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bulletin-content {
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.bulletin-circle {
    width: 200px;
    height: 200px;
    background: var(--tkd-red);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.2rem;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(194, 27, 23, 0.3);
    transition: var(--transition);
}



.bulletin-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.bulletin-dots {
    display: flex;
    gap: 0.5rem;
}

.bulletin-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
    transition: var(--transition);
    border: none;
    padding: 0;
    cursor: pointer;
}

.bulletin-dots .dot.active {
    background: var(--tkd-red);
    width: 20px;
    border-radius: 10px;
}

.bulletin-footer {
    padding: 1.5rem;
    background: #f8fafc;
}

.hero-slide {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
}

.hero-content {
    display: none !important;
}

/* --- Hero Slider Dots & Controls --- */
.hero-slider-container .carousel-indicators {
    bottom: 16px;
    margin-bottom: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.45);
    padding: 6px 16px;
    border-radius: 30px;
    width: fit-content;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-slider-container .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    background-color: rgba(255, 255, 255, 0.6);
    opacity: 0.75;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.hero-slider-container .carousel-indicators [data-bs-target]:hover {
    opacity: 1;
    background-color: #ffffff;
    transform: scale(1.2);
}

.hero-slider-container .carousel-indicators [data-bs-target].active {
    width: 26px;
    height: 10px;
    border-radius: 6px;
    background-color: var(--tkd-red, #B81D24);
    border-color: #ffffff;
    opacity: 1;
    box-shadow: 0 0 8px rgba(184, 29, 36, 0.6);
}

.hero-slider-container .carousel-control-prev,
.hero-slider-container .carousel-control-next {
    width: 44px;
    height: 44px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: all 0.3s ease;
    margin: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-slider-container:hover .carousel-control-prev,
.hero-slider-container:hover .carousel-control-next {
    opacity: 0.9;
}

.hero-slider-container .carousel-control-prev:hover,
.hero-slider-container .carousel-control-next:hover {
    background: var(--tkd-red, #B81D24);
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

.hero-slider-container .carousel-control-prev-icon,
.hero-slider-container .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* --- News Cards --- */
.section-title {
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-title h2 {
    font-size: 2.5rem;
}

.news-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    border: none;
    box-shadow: var(--shadow-soft);
}

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

.news-img {
    height: 240px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-body {
    padding: 1.5rem;
}

.news-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 163, 173, 0.1);
    color: var(--tkd-teal);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.author-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- Support Section --- */
.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: center;
    padding: 2rem 0;
}

.support-item {
    text-align: center;
    padding: 1.5rem;
    background: #fbf3f4;
    border-radius: var(--radius-md);
    transition: var(--transition);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.03);
}

.support-item:hover {
    background: white;
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.support-item img {
    max-width: 100%;
    max-height: 70px;
    height: auto;
    object-fit: contain;
}



/* --- Fixed Social Sidebar --- */
.social-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-side-item {
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid rgba(194, 27, 23, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #727272;
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.08);
    position: relative;
}


.events-section-modern {
    position: relative;
}

.events-section-modern::before {
    content: '\F417';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: -10%;
    top: -10%;
    font-size: 35rem;
    color: rgba(194, 27, 23, 0.04);
    z-index: 0;
    pointer-events: none;
    animation: heart-beat 6s ease-in-out infinite;
}

.social-side-item:hover {
    background: var(--tkd-red);
    color: white;
    transform: scale(1.1) translateX(-5px);
    box-shadow: 0 15px 35px rgba(194, 27, 23, 0.4);
    border-color: var(--tkd-red);
}

/* --- Footer --- */
footer {
    background: var(--tkd-navy);
    color: white;
    padding: 6rem 0 3rem;
    border-top: 4px solid var(--tkd-red);
    position: relative;
    overflow: hidden;
}

/* Heart Watermark */
footer::before {
    content: '\F417'; /* Bootstrap heart-fill */
    font-family: 'bootstrap-icons';
    position: absolute;
    right: -5%;
    bottom: -10%;
    font-size: 25rem;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
    animation: heart-beat 4s ease-in-out infinite;
}

/* EKG Line Animation */
.ekg-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    opacity: 0.1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='100'%3E%3Cpath d='M0 50 L100 50 L120 20 L140 80 L160 50 L250 50 L270 10 L290 90 L310 50 L500 50 L520 20 L540 80 L560 50 L650 50 L670 10 L690 90 L710 50 L1000 50' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 1000px 100%;
    animation: ekg-move 20s linear infinite;
}

@keyframes heart-beat {
    0% { transform: scale(1); }
    15% { transform: scale(1.05); }
    30% { transform: scale(1); }
    45% { transform: scale(1.08); }
    60% { transform: scale(1); }
}

@keyframes ekg-move {
    from { background-position: 0 0; }
    to { background-position: -1000px 0; }
}

.ekg-line.red {
    top: 80px;
    bottom: auto;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='100'%3E%3Cpath d='M0 50 L100 50 L120 20 L140 80 L160 50 L250 50 L270 10 L290 90 L310 50 L500 50 L520 20 L540 80 L560 50 L650 50 L670 10 L690 90 L710 50 L1000 50' fill='none' stroke='%23C21B17' stroke-width='2'/%3E%3C/svg%3E");
}

.dev-section-modern {
    position: relative;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 2rem;
}

.footer-links h5 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* --- Compact Action Buttons --- */
.action-btn-sm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    background: white;
    color: var(--tkd-navy);
    transition: var(--transition);
    height: 100%;
    min-height: 74px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-soft);
}

.action-btn-sm.red h6 { color: var(--tkd-red) !important; }
.action-btn-sm.navy h6 { color: var(--tkd-navy) !important; }
.action-btn-sm.teal h6 { color: var(--tkd-teal) !important; }

.action-btn-sm h6 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.action-btn-sm p {
    color: var(--tkd-navy) !important;
    opacity: 0.5;
    font-weight: 500;
}

.icon-box-sm {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white !important;
    transition: var(--transition);
}

.action-btn-sm.red .icon-box-sm { background: var(--tkd-red); }
.action-btn-sm.navy .icon-box-sm { background: var(--tkd-navy); }
.action-btn-sm.teal .icon-box-sm { background: var(--tkd-teal); }

.action-btn-sm .bi-chevron-right {
    color: rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.action-btn-sm:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 0, 0, 0.1);
}

.action-btn-sm:hover .icon-box-sm {
    background: var(--tkd-red);
    color: white;
}

.action-btn-sm.navy:hover .icon-box-sm { background: var(--tkd-navy); }
.action-btn-sm.teal:hover .icon-box-sm { background: var(--tkd-teal); }

.action-btn-sm:hover .bi-chevron-right {
    color: var(--tkd-red);
    transform: translateX(3px);
}

/* --- TKD Konsultan Action Button --- */
.action-btn-sm.konsultasyon-btn {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.65rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.action-btn-sm.konsultasyon-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(10, 37, 64, 0.15);
}

.konsultan-logo {
    height: 44px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.action-btn-sm.konsultasyon-btn:hover .konsultan-logo {
    transform: scale(1.03);
}

.konsultan-anim-wrap {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

/* Light Gray Consultation Interactive Indicator */
.consult-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 11px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.action-btn-sm.konsultasyon-btn:hover .consult-badge {
    background: #E2E8F0;
    border-color: #CBD5E1;
}

/* Equalizer Sound/Dialogue Wave Bars in Light Gray */
.consult-wave-bar {
    display: inline-block;
    width: 3px;
    background: #94A3B8;
    border-radius: 3px;
    animation: consultWave 1.4s ease-in-out infinite;
}

.consult-wave-bar.bar-1 {
    height: 8px;
    animation-delay: 0s;
}

.consult-wave-bar.bar-2 {
    height: 16px;
    animation-delay: 0.25s;
}

.consult-wave-bar.bar-3 {
    height: 12px;
    animation-delay: 0.5s;
}

.consult-wave-bar.bar-4 {
    height: 7px;
    animation-delay: 0.15s;
}

@keyframes consultWave {
    0%, 100% {
        transform: scaleY(0.4);
        opacity: 0.45;
    }
    50% {
        transform: scaleY(1.15);
        opacity: 0.95;
    }
}

/* Consultation Icon with gentle pulse */
.consult-icon {
    font-size: 1rem;
    color: #64748B;
    margin-left: 2px;
    display: flex;
    align-items: center;
    animation: consultIconPulse 2.4s ease-in-out infinite;
}

@keyframes consultIconPulse {
    0%, 100% {
        transform: scale(1);
        color: #64748B;
    }
    50% {
        transform: scale(1.1);
        color: #475569;
    }
}

.consult-arrow {
    color: #94A3B8;
    font-size: 1rem;
    transition: transform 0.25s ease, color 0.25s ease;
}

.action-btn-sm.konsultasyon-btn:hover .consult-arrow {
    color: var(--tkd-navy);
    transform: translateX(3px);
}

.py-2rem { padding-top: 2rem !important; padding-bottom: 2rem !important; }

/* --- Icon Navigation --- */
.icon-nav-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.icon-link-item {
    text-align: center;
    text-decoration: none;
    color: var(--tkd-navy);
    flex: 1;
    min-width: 120px;
    transition: var(--transition);
}

.icon-link-item .icon-circle {
    width: 70px;
    height: 70px;
    background: var(--tkd-bg-light);
    border-radius: 50%;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--tkd-red);
    transition: var(--transition);
}

.icon-link-item:hover .icon-circle {
    background: var(--tkd-red);
    color: white;
    transform: scale(1.1);
}

.icon-link-item span {
    font-size: 0.9rem;
    font-weight: 600;
}

.icon-link-item.highlight .icon-circle {
    background: rgba(194, 27, 23, 0.05);
    border: none;
    position: relative;
    color: var(--tkd-red);
}

.icon-link-item.highlight:hover .icon-circle {
    background: rgba(194, 27, 23, 0.15);
    color: var(--tkd-red);
    transform: scale(1.1);
}

.icon-link-item.highlight .icon-circle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed var(--tkd-red);
    animation: rotate-spin 8s linear infinite;
}

@keyframes rotate-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Development List Item --- */
.dev-list-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.dev-list-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateX(10px);
    border-color: var(--tkd-teal);
}

.dev-author-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--tkd-bg-light);
}

.dev-title {
    font-size: 1.4rem;
    color: var(--tkd-red);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.dev-preview-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: transform 0.4s ease;
}
.dev-preview-img:hover {
    transform: scale(1.15);
}
.dev-preview-img:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--tkd-teal);
    text-decoration: none;
    font-weight: 700;
    margin-top: 1rem;
    transition: var(--transition);
}

.btn-read-more:hover {
    gap: 0.75rem;
    color: var(--tkd-navy);
}

/* --- Publications Modal --- */
.publications-modal-content {
    background: rgba(10, 37, 64, 0.98);
    backdrop-filter: blur(20px);
    color: #ffffff !important;
}

.publications-modal-content a,
.publications-modal-content a:visited,
.publications-modal-content a:hover,
.publications-modal-content a:focus {
    color: #ffffff !important;
    text-decoration: none;
}

.letter-spacing-lg {
    letter-spacing: 0.1em;
}

.pub-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    text-align: center;
}

.pub-card img {
    width: 100%;
    max-width: 140px;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.pub-card h5,
.pub-card h6,
.pub-card p,
.pub-card span {
    color: #ffffff !important;
}

.pub-card h5 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.3;
    color: #ffffff !important;
}

.pub-card h6 {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0;
    opacity: 0.9;
    color: #ffffff !important;
}

.pub-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: var(--tkd-red);
}

.pub-card:hover h5,
.pub-card:hover h6 {
    color: #ffffff !important;
}

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

.pub-card.bulten {
    padding: 1rem;
}

.pub-card.bulten img {
    margin-bottom: 1rem;
}

/* --- Modern Events Timeline & Interactive Calendar --- */
.events-section-modern {
    position: relative;
    background: #F8FAFC;
    padding: 3.5rem 0 3.75rem;
}

.events-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.events-header-modern h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--tkd-navy);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.events-header-modern p {
    color: var(--tkd-gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Calendar Card Container */
.event-calendar-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.6rem;
    box-shadow: 0 10px 30px rgba(10, 37, 64, 0.05);
    border: 1px solid rgba(10, 37, 64, 0.07);
    position: relative;
    min-height: auto;
}

/* Calendar Header & Controls */
.cal-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(10, 37, 64, 0.06);
}

.cal-month-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--tkd-navy);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cal-nav-btns {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cal-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #F1F5F9;
    border: 1px solid rgba(10, 37, 64, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tkd-navy);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cal-nav-btn:hover {
    background: var(--tkd-red);
    color: white;
    border-color: var(--tkd-red);
    transform: scale(1.05);
}

.cal-legend {
    display: flex;
    gap: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--tkd-gray);
    margin-bottom: 0.85rem;
}

.cal-legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cal-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.cal-legend-dot.red { background: var(--tkd-red); }
.cal-legend-dot.navy { background: var(--tkd-navy); }

/* Weekdays */
.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--tkd-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* Calendar Days Grid */
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    position: relative;
}

.cal-cell {
    min-height: 42px;
    height: 46px;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--tkd-navy);
    background: #F8FAFC;
    border: 1px solid rgba(10, 37, 64, 0.04);
    position: relative;
    cursor: default;
    transition: all 0.2s ease;
    user-select: none;
}

.cal-cell.empty {
    opacity: 0.25;
    background: transparent;
    border-color: transparent;
}

/* Days with Events */
.cal-cell.has-event {
    cursor: pointer;
    font-weight: 800;
}

.cal-cell.has-event.physical {
    background: #FDF2F2;
    color: var(--tkd-red);
    border: 1.5px solid rgba(194, 27, 23, 0.35);
}

.cal-cell.has-event.online {
    background: #EEF3F8;
    color: var(--tkd-navy);
    border: 1.5px solid rgba(10, 37, 64, 0.35);
}

.cal-cell.has-event:hover {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 6px 16px rgba(10, 37, 64, 0.12);
    z-index: 5;
}

.cal-cell.has-event.physical:hover {
    background: var(--tkd-red);
    color: white;
    border-color: var(--tkd-red);
}

.cal-cell.has-event.online:hover {
    background: var(--tkd-navy);
    color: white;
    border-color: var(--tkd-navy);
}

.cal-cell.selected {
    outline: 2px solid var(--tkd-red);
    outline-offset: 1px;
}

/* Event Dot Indicator */
.cal-event-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-top: 3px;
    background: currentColor;
}

/* Tooltip / Popover */
.cal-popover-box {
    position: absolute;
    z-index: 100;
    width: 320px;
    background: white;
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 20px 45px rgba(10, 37, 64, 0.22);
    border: 1px solid rgba(10, 37, 64, 0.08);
    animation: popoverFade 0.22s ease-out forwards;
    pointer-events: auto;
}

@keyframes popoverFade {
    from { opacity: 0; transform: translateY(6px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.cal-popover-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
}

.cal-popover-close {
    background: none;
    border: none;
    color: var(--tkd-gray);
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}

.cal-popover-close:hover {
    color: var(--tkd-red);
}

.cal-popover-badge {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
}
.cal-popover-badge.physical {
    background: rgba(194, 27, 23, 0.1);
    color: var(--tkd-red);
}
.cal-popover-badge.online {
    background: rgba(10, 37, 64, 0.1);
    color: var(--tkd-navy);
}

.cal-popover-title {
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--tkd-navy);
    margin-bottom: 0.5rem;
}

.cal-popover-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--tkd-red);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
}

.cal-popover-loc {
    font-size: 0.78rem;
    color: var(--tkd-gray);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.cal-popover-desc {
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.4;
    margin-bottom: 0.95rem;
}

.cal-popover-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--tkd-red);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
}

.cal-popover-btn:hover {
    background: #a01613;
    color: white;
    transform: translateX(2px);
}

/* Right Column: Events Side Card */
.event-side-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.4rem;
    box-shadow: 0 10px 30px rgba(10, 37, 64, 0.05);
    border: 1px solid rgba(10, 37, 64, 0.07);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-side-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(10, 37, 64, 0.06);
}

.event-side-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--tkd-navy);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.event-side-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    flex: 1 1 auto;
}

.event-side-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.55rem 0.85rem;
    background: #F8FAFC;
    border-radius: 8px;
    border: 1px solid rgba(10, 37, 64, 0.05);
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.event-side-item:hover {
    background: white;
    border-color: var(--tkd-red);
    transform: translateX(3px);
    box-shadow: 0 4px 14px rgba(10, 37, 64, 0.08);
}

.event-side-date {
    min-width: 58px;
    height: 50px;
    border-radius: 7px;
    background: var(--tkd-red);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(194, 27, 23, 0.2);
}

.event-side-date.online {
    background: var(--tkd-navy);
    box-shadow: 0 3px 8px rgba(10, 37, 64, 0.2);
}

.event-side-date .day {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.1;
}

.event-side-date .month {
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 1px;
}

.event-side-info {
    flex: 1 1 auto;
    min-width: 0;
}

.event-side-tag {
    font-size: 0.64rem;
    font-weight: 800;
    color: var(--tkd-red);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.15rem;
    display: flex;
    align-items: center;
    gap: 3px;
}

.event-side-tag.online {
    color: var(--tkd-navy);
}

.event-side-item-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--tkd-navy);
    line-height: 1.25;
    margin-bottom: 0.15rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.event-side-item:hover .event-side-item-title {
    color: var(--tkd-red);
}

.event-side-link-text {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--tkd-red);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: gap 0.2s;
}

.event-side-item:hover .event-side-link-text {
    gap: 6px;
}

/* Button: Tüm Etkinlikler */
.btn-all-events-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1.15rem;
    border-radius: 8px;
    background: var(--tkd-navy);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid var(--tkd-navy);
}

.btn-all-events-modern:hover {
    background: var(--tkd-red);
    border-color: var(--tkd-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(194, 27, 23, 0.25);
}

.btn-all-events-modern i {
    font-size: 1.1rem;
    transition: transform 0.25s;
}

.btn-all-events-modern:hover i.bi-arrow-right {
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .cal-popover-box {
        position: fixed;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90%;
        max-width: 360px;
        z-index: 1050;
    }
}

/* --- Mega Menu --- */
.dropdown-static {
    position: static !important;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 5%;
    width: 90%;
    max-width: 1200px;
    background: white;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
    padding: 3rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    height: 30px;
    background: transparent;
}

.dropdown:hover > .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
}

.mega-menu-content {
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.mega-menu-col {
    flex: 1 1 0;
    min-width: 180px;
}

.mega-menu-col h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tkd-red);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.mega-menu-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--tkd-red);
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li {
    margin-bottom: 0.8rem;
}

.mega-menu-list a {
    color: var(--tkd-navy);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    display: block;
}

.mega-menu-list a:hover {
    color: var(--tkd-red);
    transform: translateX(5px);
}

/* --- Working Groups (Çalışma Grupları) Section --- */
.cg-section-modern {
    position: relative;
    background: #F4F6F9;
    padding-top: 5rem;
    padding-bottom: 5.5rem;
    border-top: 1px solid rgba(10, 37, 64, 0.06);
    border-bottom: 1px solid rgba(10, 37, 64, 0.06);
    overflow: hidden;
}

.cg-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(1200px 300px at 50% 0%, rgba(194, 27, 23, 0.04) 0%, transparent 100%);
    pointer-events: none;
}

/* Header */
.cg-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cg-badge-pre {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tkd-red);
    background: rgba(194, 27, 23, 0.08);
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    margin-bottom: 0.75rem;
}

.cg-title {
    font-size: 2.2rem;
    color: var(--tkd-navy);
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.cg-subtitle {
    color: var(--tkd-gray);
    font-size: 1rem;
    margin-bottom: 0;
    max-width: 650px;
}

.cg-filter-pills {
    display: inline-flex;
    background: white;
    padding: 4px;
    border-radius: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(10, 37, 64, 0.08);
}

.cg-filter-btn {
    border: none;
    background: transparent;
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--tkd-navy);
    transition: all 0.25s ease;
    cursor: pointer;
}

.cg-filter-btn:hover {
    color: var(--tkd-red);
}

.cg-filter-btn.active {
    background: var(--tkd-navy);
    color: white;
    box-shadow: 0 4px 12px rgba(10, 37, 64, 0.25);
}

/* Card Grid Styling */
.cg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.cg-card {
    background: white;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    height: 460px;
    border: 1px solid rgba(10, 37, 64, 0.07);
    box-shadow: 0 10px 25px rgba(10, 37, 64, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    position: relative;
}

.cg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(10, 37, 64, 0.12);
    border-color: rgba(194, 27, 23, 0.25);
}

/* Circular Corner Badge for Latest Updated Group */
.cg-badge-circle {
    display: none;
    position: absolute;
    top: -14px;
    left: -10px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF2E4D 0%, #C9082A 100%);
    border: 3px solid #FFFFFF;
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 10;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(201, 8, 42, 0.45);
    animation: badgePulseWave 2.2s infinite ease-in-out;
    user-select: none;
}

@keyframes badgePulseWave {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 46, 77, 0.7), 0 6px 18px rgba(201, 8, 42, 0.45);
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 46, 77, 0), 0 6px 18px rgba(201, 8, 42, 0.45);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 46, 77, 0), 0 6px 18px rgba(201, 8, 42, 0.45);
        transform: scale(1);
    }
}

.cg-card.is-latest .cg-badge-circle,
.cg-card.has-badge .cg-badge-circle {
    display: flex;
}

/* Card Head */
.cg-card-head {
    position: relative;
    padding: 1.15rem 1.35rem 1rem;
    min-height: 148px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--cg-color, #0A2540);
    overflow: hidden;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.cg-card-head::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0.38) 100%);
    pointer-events: none;
}

.cg-card-head::after {
    content: '';
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 140px;
    height: 90px;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60'%3E%3Cpath d='M0 30 L25 30 L35 10 L45 50 L55 30 L100 30' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.cg-card-top-row {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
}

.cg-logo-wrap {
    height: 46px;
    max-width: 160px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cg-card-logo {
    max-height: 44px;
    max-width: 145px;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
    transition: transform 0.3s ease;
}

.cg-card:hover .cg-card-logo {
    transform: scale(1.05);
}

.cg-card-meta {
    position: relative;
    z-index: 2;
    margin-top: 0.45rem;
}

.cg-group-title {
    font-size: 1.12rem;
    line-height: 1.3;
    font-weight: 800;
    color: white;
    margin-bottom: 0.35rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.cg-date-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
}

.cg-pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #2ECC71;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    animation: cg-pulse 2s infinite;
}

@keyframes cg-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* Card Body & News List */
.cg-card-body {
    flex: 1 1 auto;
    padding: 0.75rem 1.1rem 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    overflow-y: auto;
}

.cg-card-body::-webkit-scrollbar {
    width: 4px;
}
.cg-card-body::-webkit-scrollbar-thumb {
    background: rgba(10, 37, 64, 0.12);
    border-radius: 4px;
}

.cg-news-link {
    display: block;
    padding: 0.52rem 0.75rem;
    background: #F8FAFC;
    border-radius: 8px;
    border: 1px solid rgba(10, 37, 64, 0.05);
    text-decoration: none;
    transition: all 0.2s ease;
}

.cg-news-link:hover {
    background: white;
    border-color: var(--cg-color, var(--tkd-red));
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(10, 37, 64, 0.06);
}

.cg-news-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--cg-color, var(--tkd-red));
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.18rem;
}

/* Micro-chip for new content */
.cg-news-chip-new {
    display: none;
    align-items: center;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    background: #ECFDF5;
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-left: 0.3rem;
    line-height: 1.2;
}

.cg-card.is-latest .cg-news-link:first-of-type .cg-news-chip-new,
.cg-card.has-badge .cg-news-link:first-of-type .cg-news-chip-new {
    display: inline-flex;
}

.cg-card.is-latest .cg-news-link:first-of-type,
.cg-card.has-badge .cg-news-link:first-of-type {
    background: #FFFAFA;
    border-color: rgba(184, 29, 36, 0.22);
}

.cg-news-title {
    font-size: 0.88rem;
    line-height: 1.35;
    font-weight: 600;
    color: var(--tkd-navy);
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.cg-news-link:hover .cg-news-title {
    color: var(--cg-color, var(--tkd-red));
}

/* Card Footer */
.cg-card-footer {
    padding: 0.65rem 1.15rem 0.85rem;
    background: white;
    border-top: 1px solid rgba(10, 37, 64, 0.05);
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

.cg-more-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--tkd-navy);
    padding: 0.38rem 0.65rem;
    border-radius: 6px;
    background: #F4F6F9;
    transition: all 0.25s ease;
}

.cg-more-btn i {
    font-size: 1rem;
    color: var(--cg-color, var(--tkd-red));
    transition: transform 0.25s ease;
}

.cg-more-btn:hover {
    background: var(--cg-color, var(--tkd-navy));
    color: white;
}

.cg-more-btn:hover i {
    color: white;
    transform: translateX(4px);
}

/* --- Responsive --- */
@media (max-width: 1200px) {
    .cg-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    /* removed .nav-links none */
    .hero-content h1 { font-size: 2.5rem; }
    .icon-nav-row { justify-content: center; }
    .pub-card h5 { font-size: 0.9rem; }
}

@media (max-width: 768px) {
    .cg-grid {
        grid-template-columns: 1fr;
    }
    .cg-header-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .cg-title {
        font-size: 1.75rem;
    }
    .cg-card {
        height: auto;
        min-height: 400px;
    }
    .cg-filter-pills {
        width: 100%;
        display: flex;
    }
    .cg-filter-btn {
        flex: 1;
        text-align: center;
        white-space: nowrap;
        padding: 0.45rem 0.75rem;
        font-size: 0.8rem;
    }
}

.py-2rem {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}
/* --- Subpage Modern Layout 2026 --- */
.subpage-wrapper {
    padding-top: 5rem;
    min-height: calc(100vh - 400px);
    background-color: var(--tkd-bg-light);
}

.subpage-header {
    background-color: var(--tkd-red);
    height: 4px;
    padding: 0;
    margin-bottom: 2rem;
    border: none;
}

.subpage-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

/* Modern Card for Main Content */
.subpage-content-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 3rem;
    border: 1px solid rgba(0,0,0,0.04);
}

/* Page Title inside content if header isn't used */
.subpage-content-card h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--tkd-red);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    position: relative;
}
.subpage-content-card h1::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--tkd-red);
}

/* Subpage Breadcrumb Override */
.breadcrumb-2026 {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 1.5rem !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    list-style: none !important;
}
.breadcrumb-2026 > span {
    display: inline-flex !important;
    align-items: center !important;
}
.breadcrumb-2026 li {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Modern Tables inside Subpages */
.subpage-content-card table {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 2rem;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.08);
}
.subpage-content-card table thead th,
.subpage-content-card table tr:first-child td[bgcolor] {
    background: var(--tkd-navy) !important;
    color: white !important;
    font-weight: 600;
    padding: 1.2rem 1rem;
    border: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
.subpage-content-card table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: #475569;
    font-size: 0.95rem;
    transition: background 0.2s;
}
.subpage-content-card table tbody tr:last-child td {
    border-bottom: none;
}
.subpage-content-card table tbody tr:hover td {
    background: #f8fafc;
}
.subpage-content-card table a {
    color: var(--tkd-navy);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: var(--transition);
}
.subpage-content-card table a:hover {
    color: var(--tkd-red);
    transform: translateX(3px);
}
/* Year Badge styling inside tables (usually the first column) */
.subpage-content-card table tbody td:first-child {
    font-weight: 600;
}

/* Sidebar Panels Modernization */
.subpage-sidebar .panel-group {
    margin-bottom: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
}
.subpage-sidebar .panel {
    background: transparent;
    border: none;
    box-shadow: none;
    margin: 0;
}
.subpage-sidebar .panel-heading {
    background: var(--tkd-bg-light);
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}
.subpage-sidebar .panel-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}
.subpage-sidebar .panel-title a {
    color: var(--tkd-navy);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.subpage-sidebar .panel-title a:hover {
    color: var(--tkd-red);
}
.subpage-sidebar .panel-title .glyphicon {
    color: var(--tkd-red);
    font-size: 1.2rem;
}
.subpage-sidebar .panel-body {
    padding: 0;
}
.subpage-sidebar .table {
    margin: 0;
}
.subpage-sidebar .table td {
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.subpage-sidebar .table td:hover {
    background: #f8fafc;
    padding-left: 1.8rem;
}
.subpage-sidebar .table td a {
    color: var(--tkd-navy);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    flex: 1;
}
.subpage-sidebar .table td:hover a,
.subpage-sidebar .table td a.active {
    color: var(--tkd-red);
    font-weight: 600;
}
.subpage-sidebar .table td .glyphicon-arrow-right {
    font-size: 0.8rem;
    color: #cbd5e1;
    transition: var(--transition);
}
.subpage-sidebar .table td:hover .glyphicon-arrow-right {
    color: var(--tkd-red);
}

/* Bulletins Custom Styling for Multi-Slide */
.bulletin-card .carousel-inner {
    height: 100%;
}
.bulletin-card .carousel-item {
    height: 100%;
}
.bulletin-card .bulletin-content {
    flex-direction: column;
    gap: 1.5rem;
}
.bulletin-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: center;
    padding: 1.5rem;
}
.bulletin-circle strong {
    font-size: 1.1rem;
    display: block;
    margin: 0.3rem 0;
    color: #FFD700; /* Subtle gold for emphasis inside dark circles */
}


/* Responsive adjustments */
@media (max-width: 991px) {
    .subpage-wrapper {
        padding-top: 6rem;
    }
    .subpage-content-card {
        padding: 1.5rem;
    }
}

.breadcrumb-2026 a, .breadcrumb-2026 li a {
    text-decoration: none !important;
    color: var(--tkd-navy) !important;
    transition: var(--transition);
}
.breadcrumb-2026 a:hover, .breadcrumb-2026 li a:hover {
    color: var(--tkd-red) !important;
}
.bi-chevron-right-color {
    margin: 0 12px !important;
    color: #cbd5e1 !important;
    font-size: 0.85rem !important;
    display: flex !important;
    align-items: center !important;
}
.bi-home-color {
    margin-right: 8px !important;
    color: var(--tkd-red) !important;
    display: flex !important;
    align-items: center !important;
}
/* Legacy Content Accordion Styling (Bootstrap 3 to 2026 Modern) */
.subpage-content-card .panel {
    border: 1px solid rgba(0,0,0,0.08);
    margin-bottom: 1rem;
    border-radius: 8px !important;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.subpage-content-card .panel-heading {
    background: #f8fafc;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: background 0.2s;
}
.subpage-content-card .panel-heading:hover {
    background: #f1f5f9;
}
.subpage-content-card .panel-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}
.subpage-content-card .panel-title a {
    color: var(--tkd-navy) !important;
    text-decoration: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.subpage-content-card .panel-title a::after {
    content: '\F282'; /* bi-chevron-down */
    font-family: 'bootstrap-icons';
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: var(--tkd-red);
}
.subpage-content-card .panel-title a[aria-expanded="true"]::after {
    transform: rotate(-180deg);
}
.subpage-content-card .panel-collapse {
    background: white;
}
.subpage-content-card .panel-collapse table {
    margin-bottom: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
}
.subpage-content-card .panel-collapse > p {
    padding: 1rem 1.5rem;
    margin: 0;
}

/* Modern Text Link Styling for Inner Content */
.subpage-content-card p a:not(.btn),
.subpage-content-card ul:not(.breadcrumb-2026) li a:not(.btn),
.subpage-content-card ol li a:not(.btn) {
    color: var(--tkd-red);
    text-decoration: none !important;
    border-bottom: none;
    transition: all 0.2s ease;
}
.subpage-content-card p a:not(.btn):hover,
.subpage-content-card ul:not(.breadcrumb-2026) li a:not(.btn):hover,
.subpage-content-card ol li a:not(.btn):hover {
    color: var(--tkd-red);
}
.subpage-content-card ul:not(.breadcrumb-2026) > li,
.subpage-content-card ol > li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}






/* Legacy Bootstrap 3 Accordion (.accordion-group variant) */
.accordion-group {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
}
.accordion-heading {
    background: #f8fafc;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.accordion-heading h4 {
    margin: 0;
    font-size: 1.05rem;
}
.accordion-heading a {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--tkd-navy);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}
.accordion-heading a::after {
    content: '\F282'; /* bi-chevron-down */
    font-family: 'bootstrap-icons';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: var(--tkd-red);
}
.accordion-heading a.collapsed::after {
    content: '\F285'; /* bi-chevron-right */
}
.accordion-heading a:hover {
    color: var(--tkd-red);
    background-color: rgba(220, 53, 69, 0.05);
}
.accordion-inner {
    padding: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5568;
}

/* Legacy Bootstrap 4 Accordion (.card variant) */
.subpage-content-card .card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: none;
    overflow: hidden;
}
.subpage-content-card .card-header {
    background: #f8fafc;
    padding: 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.subpage-content-card .card-header h2 {
    margin: 0;
}
.subpage-content-card .card-header .btn-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 1.2rem 1.5rem;
    color: var(--tkd-navy);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}
.subpage-content-card .card-header .btn-link::after {
    content: '\F282'; /* bi-chevron-down */
    font-family: 'bootstrap-icons';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: var(--tkd-red);
}
.subpage-content-card .card-header .btn-link.collapsed::after {
    content: '\F285'; /* bi-chevron-right */
}
.subpage-content-card .card-header .btn-link:hover {
    color: var(--tkd-red);
    background-color: rgba(220, 53, 69, 0.05);
}
.subpage-content-card .card-body {
    padding: 1.5rem;
    font-size: 0.95rem;
}


/* --- Publications Grid (.pubs) --- */
.pubs {
    margin-top: 2rem;
    row-gap: 2rem;
}
.pubs .pub a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    height: 100%;
    transition: var(--transition);
    color: var(--tkd-navy) !important;
    text-decoration: none !important;
}
.pubs .pub a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--tkd-red);
    background: white;
}
.pubs .pub img {
    max-width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}
.pubs .pub a:hover img {
    transform: scale(1.05);
}
.pubs .pub span {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    transition: var(--transition);
}
.pubs .pub a:hover span {
    color: var(--tkd-red);
}


/* --- TKD Takvim Shortcut Button Override --- */
.shortcut.takvim {
    display: inline-block;
}
.shortcut.takvim a {
    display: inline-flex !important;
    align-items: center;
    gap: 0.6rem;
    background: var(--tkd-red);
    color: white !important;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-md);
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.15);
}
.shortcut.takvim a:hover {
    background: var(--tkd-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(10, 37, 64, 0.2);
}
.shortcut.takvim a img {
    display: none !important;
}
.shortcut.takvim a::before {
    content: "\F22A"; /* bi-calendar3 */
    font-family: "bootstrap-icons";
    font-size: 1.2rem;
}
.shortcut.takvim a::after {
    content: "TKD Bilimsel Takvimi";
}





/* --- Modern Publication List Cards --- */
.pub-list-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem !important;
    padding: 2rem 1rem !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: var(--transition);
    align-items: center;
}
.pub-list-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(0,0,0,0.1);
}
.pub-list-card img {
    border-radius: var(--radius-sm);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    max-width: 180px;
    width: 100%;
}
.pub-list-card h4 {
    color: var(--tkd-red);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0;
}
.pub-list-card strong {
    color: var(--tkd-navy);
}
.pub-list-card .text-center {
    border-right: 1px solid rgba(0,0,0,0.05);
}
@media (max-width: 768px) {
    .pub-list-card .text-center {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
}


/* --- TKD Custom List (.tkdul) Modernization (e.g. Hasta Onam Formlari) --- */
.subpage-content-card ul.tkdul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.subpage-content-card ul.tkdul li {
    margin: 0;
    padding: 0;
}
.subpage-content-card ul.tkdul li a {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    color: var(--tkd-navy) !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.4;
    transition: var(--transition);
}
.subpage-content-card ul.tkdul li a::before {
    content: "\F3E4"; /* bi-file-earmark-text */
    font-family: "bootstrap-icons";
    font-size: 1.4rem;
    color: var(--tkd-red);
    margin-right: 1.2rem;
    opacity: 0.8;
    transition: var(--transition);
    flex-shrink: 0;
}
.subpage-content-card ul.tkdul li a:hover {
    background: white;
    border-color: rgba(220, 53, 69, 0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transform: translateX(4px);
    color: var(--tkd-red) !important;
}
.subpage-content-card ul.tkdul li a:hover::before {
    opacity: 1;
    transform: scale(1.1);
}

/* Polyfill for Bootstrap 4 btn-block */
.btn-block { display: block; width: 100%; margin-bottom: 1rem; }




/* All News button on Hero Slider */
.hero-slider-container {
    position: relative;
}
.btn-all-news-slider {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: rgba(0, 0, 0, 0.5);
    color: white !important;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none !important;
    z-index: 20;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-all-news-slider:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
}
.hero-slider-container:hover .btn-all-news-slider {
    opacity: 1;
}

/* TKD TV Ticker Animation */
.tkdtv-ticker-wrap {
    height: 22px;
    position: relative;
    width: 90px;
    margin-left: 10px;
    overflow: hidden;
}
.tkdtv-ticker-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: 22px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(-100%);
    animation: tkdtv-fade-slide 9s infinite;
}

.tkdtv-ticker-item:nth-child(1) { animation-delay: 0s; }
.tkdtv-ticker-item:nth-child(2) { animation-delay: 3s; }
.tkdtv-ticker-item:nth-child(3) { animation-delay: 6s; }

@keyframes tkdtv-fade-slide {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    8% {
        opacity: 1;
        transform: translateY(0);
    }
    25% {
        opacity: 1;
        transform: translateY(0);
    }
    33% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 0;
        transform: translateY(100%);
    }
}






/* Mobile Menu & Slider Fixes */
@media (max-width: 991px) {
    .nav-links {
        display: flex !important;
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
        gap: 1.5rem;
        box-shadow: 2px 5px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        left: 0;
    }
    .nav-links .dropdown {
        width: 100%;
    }
    .nav-links .dropdown-menu, .nav-links .mega-menu {
        position: static !important;
        box-shadow: none !important;
        display: none;
        width: 100%;
        padding: 1rem 0 0 1rem;
        margin-top: 0;
        border: none;
    }
    .nav-links .dropdown:hover .mega-menu,
    .nav-links .dropdown:hover .dropdown-menu {
        display: block !important;
    }
    .mega-menu-content {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-slider-container {
        height: 55vw; /* Match aspect ratio */
    }
    .hero-slide {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-color: #fff;
    }
}


/* Google Translate Widget Hiding */
body {
    top: 0 !important;
}
.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt {
    display: none !important;
}
.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}
