﻿: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-circle.second {
    background: var(--tkd-navy);
    box-shadow: 0 10px 30px rgba(10, 37, 64, 0.3);
}

.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: 95%;
    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%;
    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: 80px;
    height: 80px;
    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: 160px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.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: 95%;
        max-width: 360px;
        z-index: 1050;
    }
}

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

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0; margin-left: auto; margin-right: auto;
    width: 95%;
    max-width: 1400px;
    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: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 1.2rem;
}
.mega-menu-list a::before {
    content: "\F287";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--tkd-red);
    opacity: 0.5;
    transition: var(--transition);
}

.mega-menu-list a:hover {
    color: var(--tkd-red);
}
.mega-menu-list a:hover::before {
    opacity: 1;
    color: var(--tkd-teal);
    transform: translateY(-50%) translateX(3px);
}

/* --- 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) {
    .nav-links { display: 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;
}



