/* ==========================================================================
   HÜSEYİN KALKAN — EDITORIAL DESIGN SYSTEM
   Bespoke International Education Consultancy & Personal Authority Brand
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Brand Palette - Academic Luxury */
    --color-obsidian: #0A1118;
    --color-navy-dark: #0F1A24;
    --color-navy: #162432;
    --color-navy-light: #223445;
    
    --color-linen: #FBF9F5;
    --color-warm-white: #FFFFFF;
    --color-sand: #F3EFE8;
    --color-sand-light: #F7F5F0;
    
    --color-gold: #B89058;
    --color-gold-dark: #9A743C;
    --color-gold-light: #D4B484;
    --color-gold-subtle: rgba(184, 144, 88, 0.12);

    --color-charcoal: #1E262F;
    --color-slate: #546270;
    --color-slate-light: #8391A0;
    
    --color-border: #E5E0D8;
    --color-border-subtle: rgba(15, 26, 36, 0.08);
    --color-border-dark: rgba(255, 255, 255, 0.12);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Layout & Spacing */
    --container-max: 1320px;
    --container-narrow: 1040px;
    --container-wide: 1480px;

    --space-2xs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8.5rem;

    /* Radii - Subtle & Architectural */
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-normal: 0.35s var(--ease-out-expo);
    --transition-slow: 0.6s var(--ease-out-expo);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--color-charcoal);
    background-color: var(--color-linen);
    line-height: 1.68;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ==========================================================================
   TYPOGRAPHY SYSTEM
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-obsidian);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    line-height: 1.1;
    font-weight: 600;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.18;
}

h3 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.28;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.25rem;
    color: var(--color-slate);
    font-size: 1.05rem;
}

p:last-child {
    margin-bottom: 0;
}

.text-lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--color-navy);
}

.text-editorial-italic {
    font-style: italic;
    font-family: var(--font-heading);
}

.text-gold {
    color: var(--color-gold);
}

.text-obsidian {
    color: var(--color-obsidian);
}

.text-muted {
    color: var(--color-slate-light);
}

.eyebrow-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-gold-dark);
    margin-bottom: 1rem;
    position: relative;
}

.eyebrow-label::after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 28px;
    height: 1px;
    background: var(--color-gold-dark);
    margin-left: 10px;
}

/* ==========================================================================
   CONTAINERS & GRID
   ========================================================================== */
.hk-container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.hk-container-narrow {
    max-width: var(--container-narrow);
}

.hk-container-wide {
    max-width: var(--container-wide);
}

.hk-grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-lg);
}

.hk-section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    position: relative;
}

.hk-section-dark {
    background-color: var(--color-navy-dark);
    color: var(--color-linen);
}

.hk-section-dark h1,
.hk-section-dark h2,
.hk-section-dark h3,
.hk-section-dark h4 {
    color: var(--color-warm-white);
}

.hk-section-dark p {
    color: #A4B3C2;
}

.hk-section-sand {
    background-color: var(--color-sand);
}

.hk-section-sand-light {
    background-color: var(--color-sand-light);
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */
.hk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.95rem 1.85rem;
    font-size: 0.925rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
    text-align: center;
}

.hk-btn-primary {
    background-color: var(--color-gold);
    color: var(--color-obsidian);
    border-color: var(--color-gold);
}

.hk-btn-primary:hover {
    background-color: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.hk-btn-outline {
    background-color: transparent;
    color: var(--color-obsidian);
    border-color: var(--color-obsidian);
}

.hk-btn-outline:hover {
    background-color: var(--color-obsidian);
    color: var(--color-warm-white);
    transform: translateY(-1px);
}

.hk-btn-outline-gold {
    background-color: transparent;
    color: var(--color-gold);
    border-color: var(--color-gold);
}

.hk-btn-outline-gold:hover {
    background-color: var(--color-gold);
    color: var(--color-obsidian);
}

.hk-btn-outline-light {
    background-color: transparent;
    color: var(--color-warm-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.hk-btn-outline-light:hover {
    background-color: var(--color-warm-white);
    color: var(--color-obsidian);
    border-color: var(--color-warm-white);
}

.hk-btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    border-color: #25D366;
}

.hk-btn-whatsapp:hover {
    background-color: #1EBE5D;
    border-color: #1EBE5D;
    color: #ffffff;
}

.hk-btn-sm {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
}

.hk-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-navy);
    position: relative;
}

.hk-link-arrow::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width var(--transition-normal);
}

.hk-link-arrow:hover::after {
    width: 100%;
}

.hk-link-arrow i {
    transition: transform var(--transition-fast);
}

.hk-link-arrow:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   HEADER & NAVIGATION — TWO-TIER SYSTEM (Inspired by isokalitebelgeleri)
   ========================================================================== */

/* Tier 1: Top Header (White Background, Logo, Contacts & Slanted Sub-Bar) */
.top-header-wrapper {
    background: #ffffff;
    padding: 12px 0 0;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    z-index: 100;
}

.top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.brand-logo-main {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    transition: transform var(--transition-fast);
}

.brand-logo-main:hover {
    transform: scale(1.02);
}

.brand-logo-main .site-logo-img {
    height: 52px;
    width: auto;
    max-width: 290px;
    object-fit: contain;
    display: block;
}

.top-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.top-contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.85rem;
    color: var(--color-charcoal);
    font-weight: 500;
}

.top-contact-link {
    color: var(--color-charcoal);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition-fast);
}

.top-contact-link:hover {
    color: var(--color-gold-dark);
}

.top-divider {
    color: #cbd5e1;
    font-weight: 300;
    user-select: none;
}

.top-lang-link {
    color: var(--color-charcoal);
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.825rem;
    transition: color var(--transition-fast);
}

.top-lang-link:hover {
    color: var(--color-gold-dark);
}

.top-search-btn {
    background: var(--color-sand-light);
    border: 1px solid #cbd5e1;
    color: var(--color-slate);
    width: 32px;
    height: 30px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all var(--transition-fast);
}

.top-search-btn:hover {
    background: var(--color-navy-dark);
    color: #ffffff;
    border-color: var(--color-navy-dark);
}

/* =========================================================================
   TOP SUB-BAR (PRESTIGIOUS ITALIAN CRIMSON RED & GOLD)
   ========================================================================= */
.top-sub-bar-wrapper {
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 100;
}

.top-sub-bar {
    position: relative;
    background: linear-gradient(135deg, #C8000B 0%, #A00008 55%, #840005 100%);
    color: #ffffff;
    padding: 9px 24px 9px 30px;
    clip-path: polygon(18px 0%, 100% 0%, 100% 100%, 0% 100%);
    border-radius: 0 0 6px 0;
    display: inline-flex;
    gap: 14px;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 4px 18px rgba(160, 0, 8, 0.28);
    border-bottom: 2px solid rgba(255, 215, 0, 0.4);
}

.top-sub-bar a {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    letter-spacing: 0.2px;
    opacity: 1;
}

.top-sub-bar a:hover {
    color: #FFF5CC;
    text-shadow: 0 0 8px rgba(255, 245, 204, 0.6);
    transform: translateY(-1px);
}

.top-sub-bar i {
    font-size: 0.8rem;
    color: #FFD700;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.top-sub-bar .top-sub-sep {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
    font-size: 0.75rem;
    user-select: none;
}

/* Dropdown Container */
.top-dropdown-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.top-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 2px 0;
}

.top-caret, .nav-caret {
    font-size: 0.6rem;
    margin-left: 3px;
    color: rgba(255, 255, 255, 0.85);
    transition: transform 0.25s ease;
}

.top-dropdown-wrap:hover .top-caret,
.nav-dropdown-wrapper:hover .nav-caret {
    transform: rotate(180deg);
    color: #FFD700;
}

/* Floating Dropdown Panel */
.top-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: -10px;
    min-width: 265px;
    background: #0F172A;
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-top: 3px solid #C8000B;
    border-radius: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    display: none;
    flex-direction: column;
    z-index: 9999999;
    padding: 6px 0;
}

.top-dropdown-wrap:hover .top-dropdown-menu {
    display: flex;
    animation: hkTopDropFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.top-dropdown-menu a {
    padding: 10px 18px;
    color: #F1F5F9;
    font-size: 0.82rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.top-dropdown-menu a:hover {
    background: rgba(200, 0, 11, 0.28);
    color: #FFD700;
    padding-left: 22px;
}

.top-dropdown-menu a:last-child {
    border-bottom: none;
}

/* Tier 2: Main Navbar (Full Width Dark Slate Navy) */
.main-navbar-bar {
    background: #0F1A24;
    color: #ffffff;
    height: 52px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 18px rgba(15, 26, 36, 0.15);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 2px solid var(--color-gold);
}

.main-navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.main-nav-links {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-item-link {
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0 14px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.01em;
}

.nav-item-link:hover, 
.nav-item-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-gold-light);
}

.nav-pipe {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
    font-size: 0.8rem;
    margin: 0 1px;
    user-select: none;
}

.nav-dropdown-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.custom-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 290px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    display: none;
    flex-direction: column;
    z-index: 99999;
    border-top: 3px solid var(--color-gold);
    border-left: 1px solid #E2E8F0;
    border-right: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    padding: 8px 0;
}

.nav-dropdown-wrapper:hover .custom-dropdown-panel {
    display: flex;
    animation: hkDropdownFade 0.2s ease-in-out;
}

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

.custom-dropdown-panel a {
    padding: 10px 18px;
    color: var(--color-obsidian);
    font-size: 0.86rem;
    font-weight: 600;
    border-bottom: 1px solid #F1F5F9;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-fast);
}

.custom-dropdown-panel a i {
    color: var(--color-gold);
    font-size: 0.85rem;
    width: 18px;
    text-align: center;
    transition: transform var(--transition-fast);
}

.custom-dropdown-panel a:hover {
    background: #FDFBF7;
    color: var(--color-navy-dark);
    padding-left: 22px;
}

.custom-dropdown-panel a:hover i {
    transform: scale(1.15);
}

.custom-dropdown-panel a:last-child {
    border-bottom: none;
}

.btn-navbar-teklif {
    background: #ffffff;
    color: var(--color-navy-dark);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 7px 20px;
    border-radius: var(--radius-full);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.btn-navbar-teklif:hover {
    background: var(--color-gold);
    color: #ffffff;
    border-color: var(--color-gold);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(184, 144, 88, 0.35);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 8px;
}

/* Search Overlay Modal */
.search-overlay-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 17, 24, 0.85);
    backdrop-filter: blur(5px);
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.search-modal-content {
    background: #ffffff;
    max-width: 600px;
    width: 100%;
    border-radius: var(--radius-sm);
    padding: var(--space-xl);
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--color-border);
}

.search-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-slate);
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION — ASYMMETRIC EDITORIAL
   ========================================================================== */
.hk-hero {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    background-color: var(--color-linen);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.hk-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hk-hero-content {
    padding-right: var(--space-lg);
}

.hk-hero-title {
    margin-bottom: var(--space-md);
}

.hk-hero-title span {
    display: block;
}

.hk-hero-title em {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
    color: var(--color-gold-dark);
}

.hk-hero-desc {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--color-slate);
    max-width: 580px;
    margin-bottom: var(--space-lg);
}

.hk-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: var(--space-xl);
}

.hk-hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.hk-hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hk-hero-trust-item i {
    color: var(--color-gold);
    font-size: 1.1rem;
}

.hk-hero-trust-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-navy);
}

.hk-hero-media-wrapper {
    position: relative;
}

.hk-hero-portrait-card {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(10, 17, 24, 0.15);
    background-color: var(--color-sand);
    border: 1px solid var(--color-border);
}

.hk-hero-portrait {
    width: 100%;
    height: 540px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.hk-hero-badge-overlay {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    right: var(--space-md);
    background: rgba(15, 26, 36, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 1.15rem 1.35rem;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hk-badge-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.hk-badge-subtitle {
    font-size: 0.775rem;
    color: var(--color-gold-light);
    letter-spacing: 0.04em;
}

.hk-badge-flag-group {
    display: flex;
    gap: 6px;
    font-size: 1.15rem;
}

/* ==========================================================================
   2. WHY ITALY SECTION — 7/5 ASYMMETRIC EDITORIAL LAYOUT
   ========================================================================== */
.hk-why-italy-section {
    background-color: var(--color-linen);
    border-bottom: 1px solid var(--color-border);
}

.hk-why-italy-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: var(--space-3xl);
    align-items: flex-start;
}

.hk-section-title-serif {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.25;
    color: var(--color-obsidian);
    margin-bottom: var(--space-md);
}

.hk-section-title-serif em {
    font-style: italic;
    color: var(--color-gold-dark);
}

.hk-lead-paragraph {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--color-slate);
    margin-bottom: var(--space-xl);
}

.hk-why-pillars-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.hk-why-pillar-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1.25rem;
    align-items: flex-start;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border-subtle);
}

.hk-why-pillar-item:last-child {
    border-bottom: none;
}

.hk-pillar-num {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--color-gold);
    line-height: 1;
}

.hk-pillar-body h4 {
    font-size: 1.05rem;
    color: var(--color-obsidian);
    margin-bottom: 0.35rem;
}

.hk-pillar-body p {
    font-size: 0.9rem;
    color: var(--color-slate);
    line-height: 1.55;
    margin-bottom: 0;
}

.hk-why-italy-media {
    position: sticky;
    top: 80px;
}

.hk-media-frame {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(10, 17, 24, 0.12);
    border: 1px solid var(--color-border);
}

.hk-frame-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.hk-quote-card {
    background: #ffffff;
    border-left: 3px solid var(--color-gold);
    padding: 1.5rem;
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
    margin-top: 1.25rem;
    box-shadow: 0 8px 24px rgba(15, 26, 36, 0.04);
    border-top: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.hk-quote-text {
    font-size: 0.925rem;
    line-height: 1.6;
    color: var(--color-charcoal);
    font-style: italic;
    margin-bottom: 0.75rem;
}

.hk-quote-author {
    display: flex;
    flex-direction: column;
}

.hk-quote-author strong {
    font-size: 0.875rem;
    color: var(--color-obsidian);
}

.hk-quote-author span {
    font-size: 0.775rem;
    color: var(--color-gold-dark);
}

/* ==========================================================================
   3. UNIVERSITIES SHOWCASE — EDITORIAL INTERACTIVE LIST
   ========================================================================== */
.hk-universities-editorial-section {
    background-color: var(--color-sand-light);
    border-bottom: 1px solid var(--color-border);
}

.hk-section-header-editorial {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hk-uni-editorial-table {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    background: #ffffff;
    border-radius: var(--radius-xs);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.hk-uni-row {
    display: grid;
    grid-template-columns: 1.35fr 1.65fr 1.25fr 100px;
    gap: 1.5rem;
    align-items: center;
    padding: 1.35rem 1.75rem;
    border-bottom: 1px solid var(--color-border);
    transition: background-color var(--transition-fast), border-left var(--transition-fast);
}

.hk-uni-row:last-child {
    border-bottom: none;
}

.hk-uni-row:hover {
    background-color: #FAF8F4;
}

.hk-uni-badge-status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 2px 8px;
    border-radius: 2px;
    background: var(--color-gold-subtle);
    color: var(--color-gold-dark);
    margin-bottom: 4px;
}

.hk-uni-badge-status.status-state {
    background: rgba(22, 36, 50, 0.08);
    color: var(--color-navy);
}

.hk-uni-row-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-obsidian);
    margin-bottom: 2px;
}

.hk-uni-location {
    font-size: 0.8rem;
    color: var(--color-slate);
}

.hk-uni-col-programs strong {
    display: block;
    font-size: 0.775rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-slate-light);
    margin-bottom: 2px;
}

.hk-uni-col-programs span {
    font-size: 0.875rem;
    color: var(--color-charcoal);
    line-height: 1.45;
}

.hk-stat-pill {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-gold-dark);
    margin-bottom: 2px;
}

.hk-fee-text {
    font-size: 0.8rem;
    color: var(--color-slate);
}

/* ==========================================================================
   4. CITIES SECTION — MILANO, BOLOGNA, ROMA, PADOVA
   ========================================================================== */
.hk-cities-section {
    background-color: var(--color-linen);
    border-bottom: 1px solid var(--color-border);
}

.hk-cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.hk-city-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xs);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.hk-city-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-gold);
    box-shadow: 0 16px 36px -10px rgba(15, 26, 36, 0.1);
}

.hk-city-media {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.hk-city-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.hk-city-cost-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(15, 26, 36, 0.92);
    backdrop-filter: blur(4px);
    color: var(--color-gold-light);
    font-size: 0.725rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 2px;
}

.hk-city-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.hk-city-meta {
    font-size: 0.725rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gold-dark);
    font-weight: 700;
    margin-bottom: 2px;
}

.hk-city-title {
    font-size: 1.35rem;
    color: var(--color-obsidian);
    margin-bottom: 0.5rem;
}

.hk-city-desc {
    font-size: 0.85rem;
    color: var(--color-slate);
    line-height: 1.5;
    margin-bottom: 0.85rem;
}

.hk-city-unis-list {
    font-size: 0.8rem;
    color: var(--color-navy);
    background: var(--color-sand-light);
    padding: 8px 10px;
    border-radius: 2px;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.hk-city-footer {
    padding-top: 0.5rem;
    border-top: 1px solid var(--color-sand);
}

.hk-city-tag {
    font-size: 0.75rem;
    color: var(--color-slate-light);
    font-weight: 600;
}

/* ==========================================================================
   5. POPULAR DEPARTMENTS IN ITALY
   ========================================================================== */
.hk-departments-section {
    background-color: var(--color-sand);
    border-bottom: 1px solid var(--color-border);
}

.hk-dept-editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.hk-dept-item {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    padding: 1.75rem;
    border-radius: var(--radius-xs);
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.hk-dept-item:hover {
    transform: translateY(-2px);
    border-color: var(--color-gold);
    box-shadow: 0 10px 25px -8px rgba(15, 26, 36, 0.06);
}

.hk-dept-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
    line-height: 1;
    margin-top: 3px;
}

.hk-dept-body h3 {
    font-size: 1.15rem;
    color: var(--color-obsidian);
    margin-bottom: 0.35rem;
}

.hk-dept-body p {
    font-size: 0.875rem;
    color: var(--color-slate);
    line-height: 1.55;
    margin-bottom: 0.65rem;
}

.hk-dept-unis {
    font-size: 0.8rem;
    color: var(--color-navy);
    font-weight: 600;
}

/* ==========================================================================
   6. VERTICAL APPLICATION TIMELINE
   ========================================================================== */
.hk-timeline-section {
    background-color: var(--color-navy-dark);
}

.hk-timeline-vertical {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 920px;
    margin: 0 auto;
}

.hk-timeline-item {
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem 1.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xs);
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.hk-timeline-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(184, 144, 88, 0.4);
}

.hk-timeline-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-gold);
    font-weight: 600;
    line-height: 1;
}

.hk-timeline-content h3 {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.hk-timeline-content p {
    font-size: 0.9rem;
    color: #A4B3C2;
    line-height: 1.55;
    margin-bottom: 0;
}

/* ==========================================================================
   7. SCHOLARSHIPS & TUITION SECTION
   ========================================================================== */
.hk-scholarship-section {
    background-color: var(--color-linen);
    border-bottom: 1px solid var(--color-border);
}

.hk-scholarship-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.hk-scholarship-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    padding: 2.5rem;
    border-radius: var(--radius-xs);
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
}

.hk-card-highlight {
    font-size: 0.775rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold-dark);
    margin-bottom: 0.5rem;
}

.hk-scholarship-card h3 {
    font-size: 1.65rem;
    color: var(--color-obsidian);
    margin-bottom: 0.75rem;
}

.hk-scholarship-card p {
    color: var(--color-slate);
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hk-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hk-bullet-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-charcoal);
    font-weight: 500;
}

.hk-service-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--color-obsidian);
}

.hk-service-desc {
    font-size: 0.925rem;
    color: var(--color-slate);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.hk-service-meta {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gold-dark);
}

/* ==========================================================================
   UNIVERSITIES (PREMIUM DISCOVERY & FILTERING)
   ========================================================================== */
.hk-universities-section {
    background-color: var(--color-linen);
    border-bottom: 1px solid var(--color-border);
}

.hk-uni-filter-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.hk-filter-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-slate);
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hk-filter-btn:hover,
.hk-filter-btn.active {
    background-color: var(--color-navy);
    color: #ffffff;
    border-color: var(--color-navy);
}

.hk-uni-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.hk-uni-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-normal);
}

.hk-uni-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -12px rgba(15, 26, 36, 0.08);
}

.hk-uni-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.hk-uni-country-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold-dark);
    background: var(--color-sand);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-xs);
}

.hk-uni-title {
    font-size: 1.25rem;
    color: var(--color-obsidian);
    margin-bottom: 0.5rem;
}

.hk-uni-location {
    font-size: 0.85rem;
    color: var(--color-slate-light);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.hk-uni-details-list {
    border-top: 1px solid var(--color-sand);
    border-bottom: 1px solid var(--color-sand);
    padding: 0.75rem 0;
    margin: 0.75rem 0 1.25rem;
}

.hk-uni-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 0.3rem 0;
}

.hk-uni-detail-label {
    color: var(--color-slate-light);
}

.hk-uni-detail-val {
    font-weight: 600;
    color: var(--color-navy);
}

/* ==========================================================================
   STUDENT STORIES & OUTCOMES
   ========================================================================== */
.hk-success-section {
    background-color: var(--color-sand-light);
    border-bottom: 1px solid var(--color-border);
}

.hk-success-journey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.hk-journey-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    padding: var(--space-lg);
    border-radius: var(--radius-sm);
}

.hk-journey-flow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold-dark);
    margin-bottom: 1rem;
}

.hk-journey-quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-navy);
    margin-bottom: 1.25rem;
}

.hk-student-profile {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-top: 1px solid var(--color-sand);
    padding-top: 0.85rem;
}

.hk-student-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-sand);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-gold-dark);
    font-size: 0.95rem;
}

.hk-student-meta h5 {
    font-size: 0.925rem;
    color: var(--color-obsidian);
}

.hk-student-meta span {
    font-size: 0.8rem;
    color: var(--color-slate-light);
}

/* ==========================================================================
   BLOG / EXPERT PUBLICATIONS
   ========================================================================== */
.hk-blog-section {
    background-color: var(--color-linen);
    border-bottom: 1px solid var(--color-border);
}

.hk-editorial-blog-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-2xl);
}

.hk-lead-article {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.hk-lead-article-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.hk-lead-article-body {
    padding: var(--space-xl);
}

.hk-article-meta {
    font-size: 0.775rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-gold-dark);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.hk-lead-article-title {
    font-size: 1.85rem;
    margin-bottom: 1rem;
}

.hk-side-articles-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.hk-side-article-item {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-lg);
}

.hk-side-article-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hk-side-article-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.hk-side-article-excerpt {
    font-size: 0.9rem;
    color: var(--color-slate);
    line-height: 1.55;
}

/* ==========================================================================
   CLOSING TRUST CTA SECTION
   ========================================================================== */
.hk-cta-section {
    background-color: var(--color-navy-dark);
    color: #ffffff;
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
}

.hk-cta-box {
    max-width: 780px;
    margin: 0 auto;
}

.hk-cta-box h2 {
    color: #ffffff;
    font-size: clamp(2.2rem, 3.8vw, 3.25rem);
    margin-bottom: var(--space-md);
}

.hk-cta-box p {
    color: #BAC7D5;
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.hk-cta-btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   MINIMALIST FOOTER
   ========================================================================== */
.hk-footer {
    background-color: var(--color-obsidian);
    color: #8C9CAE;
    font-size: 0.9rem;
    border-top: 1px solid var(--color-border-dark);
}

.hk-footer-top {
    padding: var(--space-2xl) 0 var(--space-xl);
}

.hk-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-xl);
}

.hk-footer-brand h3 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 1.35rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.hk-footer-tagline {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-gold);
    margin-bottom: 1.25rem;
}

.hk-footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.hk-footer-links li {
    margin-bottom: 0.65rem;
}

.hk-footer-links a {
    color: #8C9CAE;
}

.hk-footer-links a:hover {
    color: #ffffff;
}

.hk-footer-bottom {
    border-top: 1px solid var(--color-border-dark);
    padding: var(--space-lg) 0;
}

.hk-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.hk-footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.hk-footer-legal-links a:hover {
    color: #ffffff;
}

/* ==========================================================================
   MODAL & CONSULTATION POPUP
   ========================================================================== */
.hk-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 17, 24, 0.8);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.hk-modal.active {
    display: flex;
}

.hk-modal-content {
    background: #ffffff;
    max-width: 580px;
    width: 100%;
    border-radius: var(--radius-sm);
    padding: var(--space-xl);
    position: relative;
    box-shadow: 0 24px 48px rgba(0,0,0,0.25);
    border: 1px solid var(--color-border);
}

.hk-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-slate-light);
    cursor: pointer;
}

.hk-form-group {
    margin-bottom: 1.25rem;
}

.hk-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--color-navy);
}

.hk-form-input, .hk-form-select, .hk-form-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xs);
    background-color: var(--color-sand-light);
    color: var(--color-obsidian);
}

.hk-form-input:focus, .hk-form-select:focus, .hk-form-textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background-color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
    .hk-hero-grid,
    .hk-why-italy-grid,
    .hk-editorial-blog-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hk-hero-content {
        padding-right: 0;
    }

    .hk-hero-portrait {
        height: 420px;
    }

    .hk-cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .hk-uni-row {
        grid-template-columns: 1.2fr 1.5fr 1fr auto;
        gap: 1rem;
        padding: 1.15rem;
    }

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

    .main-nav-links {
        display: none;
    }
    .main-nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 52px;
        left: 0;
        width: 100%;
        background: #0F1A24;
        padding: 1rem 0;
        box-shadow: 0 15px 30px rgba(0,0,0,0.3);
        height: auto;
        border-top: 1px solid rgba(255,255,255,0.1);
        z-index: 10000;
    }
    .main-nav-links.mobile-open .nav-item-link {
        height: 44px;
        padding: 0 1.5rem;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .main-nav-links.mobile-open .nav-pipe {
        display: none;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .top-sub-bar {
        gap: 10px;
        padding: 6px 16px;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .top-header-container {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .top-header-right {
        align-items: center;
        width: 100%;
    }
    .top-contact-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        font-size: 0.775rem;
    }
    .top-sub-bar-wrapper {
        width: 100%;
        justify-content: center;
    }
    .top-sub-bar {
        clip-path: none;
        border-radius: 4px 4px 0 0;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    .btn-navbar-teklif {
        padding: 5px 14px;
        font-size: 0.775rem;
    }

    .hk-hero {
        padding-top: var(--space-xl);
        padding-bottom: var(--space-xl);
    }

    .hk-uni-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.25rem 1rem;
    }

    .hk-cities-grid,
    .hk-dept-editorial-grid,
    .hk-scholarship-grid,
    .hk-success-journey-grid {
        grid-template-columns: 1fr;
    }

    .hk-timeline-item {
        grid-template-columns: 45px 1fr;
        gap: 1rem;
        padding: 1.25rem;
    }

    .hk-timeline-num {
        font-size: 1.5rem;
    }

    .hk-section-header-editorial {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .hk-footer-grid {
        grid-template-columns: 1fr;
    }

    .hk-footer-bottom-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hk-hero-trust-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* =========================================================================
   EXAM & ACCREDITATION LOGOS BOTTOM BAND (LIBRACADEMY STYLE)
   ========================================================================= */
.hk-exam-logos-band {
    background: #ffffff !important;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    padding: 35px 0 24px;
    position: relative;
    overflow: hidden;
    z-index: 10;
    width: 100%;
}

.hk-exam-marquee-wrap {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.hk-exam-marquee-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 65px;
    width: max-content !important;
    animation: hkMarqueeScroll 35s linear infinite;
    padding: 8px 0;
}

.hk-exam-marquee-track:hover {
    animation-play-state: paused;
}

.hk-exam-logo-item {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 52px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.hk-exam-logo-item:hover {
    transform: translateY(-3px) scale(1.06);
}

.hk-exam-logo-item img {
    max-height: 48px !important;
    max-width: 140px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.03));
    transition: all 0.3s ease;
}

@keyframes hkMarqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 32.5px));
    }
}

.hk-exam-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
}

.hk-exam-dots .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #D1D5DB;
    transition: all 0.3s ease;
}

.hk-exam-dots .dot.active {
    background-color: #111827;
    width: 7px;
    height: 7px;
}

@media (max-width: 768px) {
    .hk-exam-logos-band {
        padding: 26px 0 18px;
    }
    .hk-exam-marquee-track {
        gap: 38px;
        animation-duration: 25s;
    }
    .hk-exam-logo-item {
        height: 40px;
    }
    .hk-exam-logo-item img {
        max-height: 36px !important;
        max-width: 100px !important;
    }
    .hk-exam-dots {
        margin-top: 16px;
    }
}

/* =========================================================================
   ITALIAN UNIVERSITIES DIRECTORY PAGE (archive-universite.php)
   Prestigious Italian Architecture, City Pills & Clean 3-Col Cards
   ========================================================================= */

.hk-universities-page {
    background-color: #F8FAFC;
    color: #1E293B;
}

/* 1. HERO SECTION */
.hk-uni-hero-section {
    background: linear-gradient(135deg, #000B26 0%, #0F1A24 60%, #200306 100%);
    color: #FFFFFF;
    padding: 45px 0 50px;
    position: relative;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.hk-uni-hero-content {
    max-width: 860px;
}

.hk-uni-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #94A3B8;
    margin-bottom: 16px;
}

.hk-uni-breadcrumb a {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.2s;
}

.hk-uni-breadcrumb a:hover {
    color: #FFD700;
}

.hk-uni-breadcrumb .sep {
    font-size: 0.65rem;
    color: #64748B;
}

.hk-uni-breadcrumb .current {
    color: #FFD700;
    font-weight: 600;
}

.hk-uni-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.35);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 14px;
}

.hk-uni-hero-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.hk-uni-hero-desc {
    font-size: 1.02rem;
    line-height: 1.6;
    color: #CBD5E1;
    margin-bottom: 24px;
}

.hk-uni-stat-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hk-stat-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 0.82rem;
    color: #E2E8F0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hk-stat-pill strong {
    color: #FFFFFF;
}

/* 2. FILTER BAR SECTION */
.hk-uni-filter-bar-section {
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    padding: 22px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.hk-uni-filter-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hk-uni-filter-form {
    display: grid;
    grid-template-columns: 1fr 240px 140px;
    gap: 12px;
    align-items: center;
}

.hk-uni-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.hk-uni-search-input-wrap .search-icon {
    position: absolute;
    left: 14px;
    color: #94A3B8;
    font-size: 0.9rem;
}

.hk-uni-search-input-wrap input {
    width: 100%;
    padding: 11px 40px 11px 40px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s;
    background: #F8FAFC;
}

.hk-uni-search-input-wrap input:focus {
    background: #FFFFFF;
    border-color: #C8000B;
    box-shadow: 0 0 0 3px rgba(200, 0, 11, 0.1);
}

.hk-clear-filter-btn {
    position: absolute;
    right: 12px;
    color: #94A3B8;
    font-size: 0.85rem;
    text-decoration: none;
}

.hk-clear-filter-btn:hover {
    color: #C8000B;
}

.hk-uni-select-wrap select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    background: #F8FAFC;
    color: #1E293B;
    outline: none;
    cursor: pointer;
    transition: all 0.2s;
}

.hk-uni-select-wrap select:focus {
    border-color: #C8000B;
    background: #FFFFFF;
}

.hk-uni-submit-btn {
    width: 100%;
    height: 100%;
    justify-content: center;
    padding: 11px 18px;
    font-size: 0.88rem;
}

/* City Filter Pills */
.hk-city-pills-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 6px;
}

.hk-city-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.hk-city-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.city-pill {
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.city-pill .count {
    color: #94A3B8;
    font-size: 0.72rem;
}

.city-pill:hover,
.city-pill.active {
    background: #000B26;
    color: #FFFFFF;
    border-color: #000B26;
}

.city-pill.active .count {
    color: #FFD700;
}

/* 3. UNIVERSITIES GRID SECTION */
.hk-uni-grid-section {
    padding: 35px 0 60px;
}

.hk-uni-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E2E8F0;
    flex-wrap: wrap;
    gap: 12px;
}

.hk-results-count {
    font-size: 0.95rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hk-results-count strong {
    color: #000B26;
    font-size: 1.15rem;
}

.active-tag {
    background: #FFF5F5;
    color: #C8000B;
    border: 1px solid #FFE4E6;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hk-qs-rankings-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #000B26;
    text-decoration: none;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.2s;
}

.hk-qs-rankings-link:hover {
    border-color: #C8000B;
    color: #C8000B;
    transform: translateY(-1px);
}

/* 3-COLUMN CARDS GRID */
.hk-uni-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.hk-uni-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.hk-uni-card:hover {
    transform: translateY(-5px);
    border-color: #C8000B;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.hk-uni-card-img-wrap {
    height: 145px;
    position: relative;
    overflow: hidden;
    background: #FFFFFF !important;
    border-bottom: 1px solid #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 38px 20px 14px;
}

.hk-uni-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.hk-uni-card-img-wrap img {
    max-height: 85px !important;
    max-width: 82% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
    filter: none !important;
    transition: transform 0.3s ease;
}

.hk-uni-card:hover .hk-uni-card-img-wrap img {
    transform: scale(1.05);
}

.hk-uni-top-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
    pointer-events: none;
}

.hk-type-badge {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
    color: #FFFFFF;
}

.hk-type-badge.public {
    background: #000B26;
}

.hk-type-badge.private {
    background: #C8000B;
}

.hk-city-badge {
    background: #F1F5F9;
    color: #0F172A;
    border: 1px solid #E2E8F0;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
}

.hk-city-badge i {
    color: #C8000B;
    margin-right: 3px;
}

.hk-city-badge i {
    color: #FFD700;
    margin-right: 3px;
}

/* Card Body */
.hk-uni-card-body {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hk-uni-card-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 14px;
    min-height: 52px;
}

.hk-uni-card-title a {
    color: #000B26;
    text-decoration: none;
    transition: color 0.2s;
}

.hk-uni-card:hover .hk-uni-card-title a {
    color: #C8000B;
}

.hk-uni-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.hk-uni-highlights-list li {
    font-size: 0.82rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hk-uni-card-footer {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid #F1F5F9;
}

.hk-uni-view-btn {
    background: #000B26;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    padding: 9px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.hk-uni-view-btn:hover {
    background: #C8000B;
    color: #FFFFFF;
}

.hk-uni-apply-btn {
    background: #FFF8F8;
    border: 1px solid #FECDD3;
    color: #C8000B;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    padding: 9px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s;
}

.hk-uni-apply-btn:hover {
    background: #C8000B;
    color: #FFFFFF;
    border-color: #C8000B;
}

/* 4. CTA BANNER SECTION */
.hk-uni-cta-section {
    background: linear-gradient(135deg, #000B26 0%, #0F1A24 100%);
    color: #FFFFFF;
    padding: 45px 0;
    border-top: 2px solid #D4AF37;
}

.hk-uni-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.hk-cta-left {
    max-width: 620px;
}

.hk-cta-badge {
    color: #FFD700;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.hk-cta-left h2 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.hk-cta-left p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #CBD5E1;
    margin: 0;
}

.hk-cta-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hk-btn-cta-gold {
    background: rgba(255, 215, 0, 0.12) !important;
    color: #FFD700 !important;
    border: 1px solid rgba(255, 215, 0, 0.5) !important;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}

.hk-btn-cta-gold:hover {
    background: #FFD700 !important;
    color: #000B26 !important;
    border-color: #FFD700 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* 3-COLUMN CARDS GRID */
.hk-uni-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
    width: 100% !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .hk-uni-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .hk-uni-filter-form {
        grid-template-columns: 1fr 1fr;
    }
    .hk-uni-submit-btn {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .hk-uni-cards-grid {
        grid-template-columns: 1fr !important;
    }
    .hk-uni-hero-title {
        font-size: 1.85rem;
    }
    .hk-uni-filter-form {
        grid-template-columns: 1fr;
    }
    .hk-uni-submit-btn {
        grid-column: span 1;
    }
    .hk-uni-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================================
   HOMEPAGE FULL-WIDTH BANNER & PROMO SLIDER SECTION
   Italian Editorial Aesthetic, Sleek Gradient Overlays & Controls
   ========================================================================= */

.hk-fullwidth-banner-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000B26;
    border-top: 2px solid rgba(212, 175, 55, 0.35);
    border-bottom: 2px solid rgba(212, 175, 55, 0.35);
}

.hk-banner-slider-container {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.hk-banner-slides-track {
    position: relative;
    width: 100%;
    min-height: 480px;
}

.hk-banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hk-banner-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hk-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.03);
    transition: transform 6s ease-out;
}

.hk-banner-slide.active .hk-banner-bg {
    transform: scale(1);
}

.hk-banner-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 11, 38, 0.65) 0%, rgba(0, 11, 38, 0.3) 50%, rgba(0, 11, 38, 0.05) 100%);
}

.hk-banner-content-container {
    position: relative;
    z-index: 5;
    padding-top: 60px;
    padding-bottom: 60px;
    width: 100%;
}

.hk-banner-content-container.align-left {
    display: flex;
    justify-content: flex-start;
}

.hk-banner-content-container.align-center {
    display: flex;
    justify-content: center;
    text-align: center;
}

.hk-banner-content-container.align-right {
    display: flex;
    justify-content: flex-end;
    text-align: right;
}

.hk-banner-text-card {
    max-width: 660px;
    background: rgba(0, 11, 38, 0.42);
    padding: 24px 30px;
    border-radius: 8px;
    border-left: 4px solid #C8000B;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hk-banner-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 0, 11, 0.25);
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: #FFFFFF;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
    backdrop-filter: blur(4px);
}

.hk-banner-heading {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hk-banner-lead-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #E2E8F0;
    margin-bottom: 26px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hk-banner-action-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hk-banner-main-btn {
    padding: 13px 26px;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(200, 0, 11, 0.4);
}

.hk-banner-secondary-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.hk-banner-secondary-btn:hover {
    background: #FFFFFF;
    color: #000B26;
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

/* Slider Controls */
.hk-banner-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background: rgba(0, 11, 38, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    backdrop-filter: blur(6px);
}

.hk-banner-nav-btn:hover {
    background: #C8000B;
    border-color: #C8000B;
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.08);
}

.hk-banner-nav-btn.prev {
    left: 25px;
}

.hk-banner-nav-btn.next {
    right: 25px;
}

.hk-banner-dots-wrapper {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.hk-banner-dot {
    width: 28px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hk-banner-dot.active {
    background: #FFD700;
    width: 44px;
}

/* Auto-Play Progress Fill Bar */
.hk-banner-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 12;
}

.hk-banner-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #C8000B, #FFD700);
}

/* Responsive */
@media (max-width: 991px) {
    .hk-banner-slider-container,
    .hk-banner-slides-track {
        min-height: 420px;
    }
    .hk-banner-heading {
        font-size: 2rem;
    }
    .hk-banner-nav-btn {
        display: none;
    }
}

@media (max-width: 600px) {
    .hk-banner-slider-container,
    .hk-banner-slides-track {
        min-height: 380px;
    }
    .hk-banner-heading {
        font-size: 1.55rem;
    }
    .hk-banner-lead-desc {
        font-size: 0.9rem;
    }
    .hk-banner-action-row {
        flex-direction: column;
        align-items: stretch;
    }
}

/* =========================================================================
   FLOATING BACK TO TOP BUTTON (YUKARI ÇIK BUTONU)
   Italian Rosso Corsa & Gold Accent, Smooth Pulse & Lift
   ========================================================================= */
.hk-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #000B26;
    color: #FFFFFF;
    border: 2px solid #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 11, 38, 0.3);
}

.hk-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hk-back-to-top:hover {
    background: #C8000B;
    border-color: #FFD700;
    color: #FFFFFF;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 25px rgba(200, 0, 11, 0.4);
}

.hk-back-to-top i {
    transition: transform 0.2s ease;
}

.hk-back-to-top:hover i {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hk-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 0.95rem;
    }
}

/* =========================================================================
   TAG PAGE — hk-tag-portal
   Consistent with rest of editorial theme design
   ========================================================================= */

/* ---- Body section spacing ---- */
.hk-tag-body-section {
    padding-top: 28px;
    padding-bottom: 60px;
}

/* ---- Hero strip ---- */
.hk-tag-hero-strip {
    background: linear-gradient(135deg, #000B26 0%, #0a1628 70%, #111827 100%);
    border-bottom: 3px solid #C8000B;
    padding: 32px 0 24px;
    position: relative;
    overflow: hidden;
}

.hk-tag-hero-strip::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(200,0,11,0.08) 0%, transparent 65%);
    pointer-events: none;
}

/* Breadcrumb */
.hk-breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.hk-breadcrumb-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.hk-breadcrumb-nav a:hover {
    color: #D4AF37;
}

.hk-breadcrumb-nav .sep {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
}

.hk-breadcrumb-nav .current {
    color: #D4AF37;
    font-weight: 600;
}

/* Hero box */
.hk-tag-hero-box {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hk-tag-hero-info {
    flex: 1;
    min-width: 260px;
}

.hk-tag-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(200, 0, 11, 0.15);
    border: 1px solid rgba(200, 0, 11, 0.3);
    color: #FF6B6B;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.hk-tag-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.15;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.hk-tag-desc {
    color: rgba(255,255,255,0.65);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 540px;
    margin: 0;
}

/* Stat badge */
.hk-tag-stat-badge {
    background: rgba(212, 175, 55, 0.12);
    border: 2px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    padding: 20px 28px;
    text-align: center;
    min-width: 120px;
    flex-shrink: 0;
}

.hk-tag-stat-badge .count-num {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    color: #D4AF37;
    line-height: 1;
    margin-bottom: 6px;
}

.hk-tag-stat-badge .count-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.55);
}

/* Popular tags row */
.hk-popular-tags-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.hk-popular-tags-row .label {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.hk-popular-tags-row .pills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.75);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.22s ease;
    white-space: nowrap;
}

.tag-pill:hover,
.tag-pill.active {
    background: #C8000B;
    border-color: #C8000B;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200,0,11,0.35);
}

.tag-pill .tag-num {
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 1px 6px;
    font-size: 0.68rem;
    font-weight: 700;
}

.tag-pill.active .tag-num {
    background: rgba(255,255,255,0.25);
}

/* ---- Section title bar extras ---- */
.hk-tag-count-chip {
    display: inline-flex;
    align-items: center;
    background: #F1F5F9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---- Stream card improvements for tag page ---- */
.hk-news-stream-card .hk-stream-img-link {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.hk-news-stream-card .hk-stream-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    box-shadow: none; /* Remove box-shadow from images */
    transition: transform 0.4s ease;
}

.hk-news-stream-card:hover .hk-stream-img-link img {
    transform: scale(1.04);
}

/* ---- Inline post tags within cards ---- */
.hk-stream-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-right: auto;
}

.hk-inline-tag {
    display: inline-block;
    background: #F1F5F9;
    color: #64748B;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid #E2E8F0;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.hk-inline-tag:hover,
.hk-inline-tag.active {
    background: #C8000B;
    color: #FFF;
    border-color: #C8000B;
}

/* ---- Sidebar tag cloud ---- */
.hk-sidebar-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 4px 0;
}

.hk-cloud-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hk-cloud-tag em {
    font-style: normal;
    background: #E2E8F0;
    border-radius: 10px;
    padding: 0 5px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748B;
    transition: all 0.2s ease;
}

.hk-cloud-tag:hover,
.hk-cloud-tag.active {
    background: #C8000B;
    border-color: #C8000B;
    color: #FFF;
}

.hk-cloud-tag:hover em,
.hk-cloud-tag.active em {
    background: rgba(255,255,255,0.25);
    color: #FFF;
}

/* ---- CTA Sidebar card ---- */
.hk-tag-cta-card {
    background: linear-gradient(135deg, #000B26 0%, #0F2048 100%) !important;
    border: 1px solid rgba(212,175,55,0.25) !important;
    color: #FFF;
    text-align: center;
    padding: 28px 20px !important;
}

.hk-tag-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hk-tag-cta-icon {
    font-size: 2.4rem;
    color: #D4AF37;
    margin-bottom: 4px;
}

.hk-tag-cta-card h4 {
    color: #FFF;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}

.hk-tag-cta-card p {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.hk-tag-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #FFF;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 11px 20px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 6px;
    width: 100%;
    justify-content: center;
    transition: all 0.22s ease;
    box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}

.hk-tag-cta-btn:hover {
    background: #1db954;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37,211,102,0.4);
    color: #FFF;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .hk-tag-hero-box {
        flex-direction: column;
        gap: 16px;
    }
    .hk-tag-stat-badge {
        align-self: flex-start;
        padding: 14px 20px;
    }
    .hk-popular-tags-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .hk-tag-hero-strip {
        padding: 22px 0 18px;
    }
    .hk-tag-title {
        font-size: 1.6rem;
    }
    .hk-tag-body-section {
        padding-top: 18px;
        padding-bottom: 40px;
    }
}

