/* =====================================================
   Maliban Intern Portfolio — Main Stylesheet
   Theme: Maliban Red  #C8102E
   ===================================================== */

:root {
    --red:      #C8102E;
    --red-dark: #a50d25;
    --red-light:#fdf5f5;
    --red-mid:  #fde8e8;
    --text:     #334155;
    --dark:     #0f172a;
    --muted:    #64748b;
    --border:   #e2e8f0;
    --bg:       #f8fafc;
    --white:    #ffffff;
}

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

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    padding-top: 64px; /* navbar height */
}

a { color: var(--red); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

/* =====================================================
   NAVBAR
   ===================================================== */
/* ── Unified site navbar (all pages) ── */
.site-navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 64px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 40px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transition: box-shadow 0.3s;
}
.site-navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }

.nav-logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-wrap img { height: 38px; object-fit: contain; }
.nav-brand { font-size: 16px; font-weight: 700; color: #1e293b; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a,
.nav-dropdown > a {
    font-size: 13px; font-weight: 500; color: #475569;
    text-decoration: none; padding: 6px 14px; border-radius: 8px;
    transition: background 0.15s, color 0.15s; white-space: nowrap;
    display: block;
}
.nav-links > a:hover, .nav-links > a.active,
.nav-dropdown > a:hover, .nav-dropdown > a.active {
    background: #f1f5f9; color: #1e293b;
}
.nav-admin {
    border: 1px solid var(--red) !important; color: var(--red) !important;
    border-radius: 8px !important; margin-left: 8px; padding: 6px 17px !important;
    background: transparent !important;
}
.nav-admin:hover { background: rgba(200, 16, 46, 0.08) !important; }

/* ── Dropdown ── */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-menu {
    display: none;
    position: fixed; /* fixed avoids stacking-context clipping from backdrop-filter */
    background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12); min-width: 200px;
    padding: 6px; z-index: 1100;
}
/* open/close driven by main.js — see .nav-dropdown mouseenter/leave handlers */
.nav-dropdown-menu a {
    display: block; padding: 8px 14px; font-size: 13px; font-weight: 500;
    color: #3c4043; text-decoration: none; border-radius: 8px;
    transition: background 0.12s;
}
.nav-dropdown-menu a:hover { background: #fdf0f2; color: var(--red); }
.nav-dropdown-menu .divider { height: 1px; background: #f1f5f9; margin: 4px 0; }

/* ── Mobile ── */
.mobile-nav-toggle {
    display: none; background: none; border: 1px solid var(--border);
    border-radius: 8px; padding: 6px 10px; cursor: pointer; color: #475569; font-size: 18px;
}
.mobile-nav-panel {
    display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; z-index: 999;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 12px 24px; flex-direction: column; gap: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow-y: auto; max-height: calc(100vh - 64px);
}
.mobile-nav-panel.open { display: flex; }
.mobile-nav-panel a {
    font-size: 14px; color: var(--text); text-decoration: none;
    padding: 12px 0; border-bottom: 1px solid var(--bg); font-weight: 500;
}
.mobile-nav-panel a:last-child { border: none; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-nav-toggle { display: block; }
    .site-navbar { padding: 0 20px; }
}

/* =====================================================
   PAGE LAYOUT
   ===================================================== */
.page-wrapper {
    display: flex;
    min-height: calc(100vh - 64px - 72px); /* viewport - navbar - footer */
    align-items: stretch;
}

/* ── Sidebar ── */
.sidebar {
    width: 226px;
    flex-shrink: 0;
    background: var(--white);
    border-right: 1px solid var(--border);
    padding: 24px 0;
    position: sticky;
    top: 64px;
    align-self: flex-start;
    height: calc(100vh - 64px);
    overflow-y: auto;
}

.sidebar-heading {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: #94a3b8;
    padding: 0 18px 6px; margin-top: 8px;
}
.sidebar-link {
    display: block; padding: 9px 18px;
    font-size: 13px; font-weight: 500; color: #475569;
    text-decoration: none;
    border-radius: 0 20px 20px 0;
    margin-right: 10px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-link:hover { background: var(--red-light); color: var(--red); }
.sidebar-link.active {
    background: var(--red-light); color: var(--red);
    font-weight: 600; border-left: 3px solid var(--red);
}
.sidebar-divider { height: 1px; background: var(--bg); margin: 6px 18px; }

/* ── Right column (hero + content) ── */
.page-right {
    flex: 1;
    min-width: 0; /* prevent overflow */
    display: flex;
    flex-direction: column;
}

/* ── Page hero ── */
.page-hero {
    background: linear-gradient(135deg, rgba(26,5,5,0.5) 0%, rgba(127,29,29,0.5) 55%, rgba(200,16,46,0.5) 100%),
                url('../img/header.jpg') center/cover no-repeat;
    padding: 40px 44px 36px;
    position: relative; overflow: hidden;
    flex-shrink: 0;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: none;
    opacity: 0.12;
}
.page-hero.no-bg-image {
    background: linear-gradient(135deg, rgba(26,5,5,0.5) 0%, rgba(127,29,29,0.5) 55%, rgba(200,16,46,0.5) 100%);
}
.page-hero.no-bg-image::before { display: none; }
.page-hero-video {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover; opacity: 0.28;
    pointer-events: none; border: 0;
}
.page-hero.has-video {
    padding: 80px 44px 64px;
    min-height: 280px;
    display: flex; align-items: center;
}
.page-hero-inner { z-index: 1; }
.breadcrumb-bar {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 10px;
}
.page-hero.has-video .breadcrumb-bar {
    position: absolute; z-index: 2;
    top: 22px; left: 44px; right: 44px;
    margin-bottom: 0;
}
.breadcrumb-bar a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.15s; }
.breadcrumb-bar a:hover { color: #fff; }
.breadcrumb-bar .bc-sep { color: rgba(255,255,255,0.35); }
.breadcrumb-bar .bc-current { color: rgba(255,255,255,0.85); }
.page-hero h1 { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 6px; line-height: 1.2; }
.page-hero .page-sub { font-size: 14px; color: rgba(255,255,255,0.65); margin: 0; }
.date-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.15); border-radius: 20px;
    padding: 4px 12px; font-size: 12px; color: rgba(255,255,255,0.85);
    margin-top: 10px;
}

/* ── Main content ── */
.main-content {
    flex: 1;
    padding: 32px 40px;
}

@media (min-width: 992px) {
    .sidebar { display: block !important; }
}

@media (max-width: 991px) {
    .page-hero  { padding: 32px 20px 28px; }
    .page-hero.has-video { padding: 48px 20px 40px; min-height: 200px; }
    .page-hero.has-video .breadcrumb-bar { top: 14px; left: 20px; right: 20px; }
    .main-content { padding: 20px 16px; }
}

@media (max-width: 768px) {
    .breadcrumb-bar { flex-wrap: wrap; row-gap: 4px; }
    .page-hero h1 { font-size: 21px; }
    .card-section { padding: 18px; }
    .entry-cover img { max-height: 200px; }
    .grid-card-img { height: 120px; }
    .rich-content table { display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
    .rich-content table thead, .rich-content table tbody, .rich-content table tr { display: table; width: 100%; table-layout: fixed; }
}

@media (max-width: 480px) {
    .entry-nav { flex-direction: column; }
    .entry-nav-btn { max-width: 100%; width: 100%; justify-content: flex-start !important; }
}

/* =====================================================
   CARDS
   ===================================================== */
.card-section {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 16px; padding: 26px; margin-bottom: 20px;
}
.card-section-title {
    font-size: 15px; font-weight: 700; color: var(--dark);
    margin-bottom: 20px; padding-bottom: 14px;
    border-bottom: 2px solid var(--red-light);
    display: flex; align-items: center; gap: 10px;
}
.card-section-title .title-icon {
    width: 32px; height: 32px; border-radius: 9px;
    background: var(--red-light); color: var(--red);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; flex-shrink: 0;
}

/* =====================================================
   INFO GRID
   ===================================================== */
.info-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
@media (max-width: 600px) { .info-grid { grid-template-columns: 1fr; } }
.info-row-item { padding: 10px 0; border-bottom: 1px solid var(--bg); }
.info-row-item:nth-last-child(-n+2) { border: none; }
.info-label {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.8px; color: #94a3b8; margin-bottom: 3px;
}
.info-value { font-size: 14px; color: var(--dark); font-weight: 500; }

/* =====================================================
   VISION / MISSION / MOTTO
   ===================================================== */
.vmm-card { border-radius: 14px; padding: 18px 20px; height: 100%; }
.vmm-card .vmm-label {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 8px;
}
.vmm-card p { font-size: 14px; line-height: 1.6; margin: 0; }
.vmm-red   { background: var(--red-light); border: 1px solid #f1c0c0; }
.vmm-red   .vmm-label { color: var(--red); }
.vmm-red   p { color: #7f1d1d; }
.vmm-amber { background: #fffbeb; border: 1px solid #fde68a; }
.vmm-amber .vmm-label { color: #d97706; }
.vmm-amber p { color: #78350f; }
.vmm-green { background: #f0fdf4; border: 1px solid #bbf7d0; }
.vmm-green .vmm-label { color: #16a34a; }
.vmm-green p { color: #14532d; font-style: italic; }
.vmm-green ul { margin: 0; padding-left: 20px; list-style-type: disc; }
.vmm-green li { color: #14532d; font-size: 14px; line-height: 1.6; margin-bottom: 6px; }

/* =====================================================
   RICH CONTENT
   ===================================================== */
.rich-content { font-size: 14px; line-height: 1.8; color: var(--text); }
.rich-content h2 { font-size: 17px; font-weight: 700; color: var(--red); margin: 22px 0 9px; }
.rich-content h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin: 16px 0 7px; }
.rich-content h4 { font-size: 14px; font-weight: 600; margin: 12px 0 5px; }
.rich-content p  { margin-bottom: 12px; }
/* !important defeats inline padding/margin the old editor sometimes wrote
   onto <ul>/<ol> tags directly, which otherwise overrides this and leaves
   the very first list flush against the container edge. */
.rich-content ul, .rich-content ol { padding-left: 22px !important; margin-bottom: 12px; }
.rich-content li { margin-bottom: 5px; margin-left: 0 !important; padding-left: 0 !important; }
/* Any non-list line (intro text, category headings like "Biscuits &
   Confectionery" — these can land as <p>, <h3>/<h4>, or a plain <div>
   depending on how the editor produced them) inside a block that also
   has a list — indent it in line with the bullet text so it doesn't sit
   flush against the card edge while the bullets below it are indented. */
.rich-content:has(ul) > *:not(ul):not(ol),
.rich-content:has(ol) > *:not(ul):not(ol) { margin-left: 22px; }
.rich-content ul + *:not(ul):not(ol), .rich-content ol + *:not(ul):not(ol) { margin-top: -4px; }
.rich-content img { max-width: 100%; border-radius: 10px; margin: 14px 0; display: block; }
.rich-content table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.rich-content th, .rich-content td { border: 1px solid var(--border); padding: 9px 13px; }
.rich-content th { background: var(--bg); font-weight: 600; color: var(--dark); }
.rich-content blockquote:not(.me-indent) {
    border-left: 4px solid var(--red); padding: 10px 18px;
    margin: 14px 0; background: var(--red-light);
    border-radius: 0 8px 8px 0; color: #7f1d1d;
}
.rich-content blockquote.me-indent {
    border: none; background: none; border-radius: 0;
    color: inherit; margin: 0 0 12px; padding-left: 24px;
}
.rich-content strong { color: var(--dark); }
.rich-content a { color: var(--red); }
.rich-content hr { border: none; border-top: 2px solid var(--border); margin: 20px 0; }

/* =====================================================
   GRID CARDS (Diary / Projects)
   ===================================================== */
.grid-card {
    border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
    text-decoration: none; color: inherit; display: block;
    background: var(--white); transition: box-shadow 0.2s, transform 0.2s;
}
.grid-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); transform: translateY(-3px); color: inherit; }
.grid-card-img {
    height: 148px;
    background: linear-gradient(135deg, var(--red-light) 0%, var(--red-mid) 100%);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; position: relative;
}
.grid-card-img img { width: 100%; height: 100%; object-fit: cover; }
.grid-card-img .card-num {
    font-size: 52px; font-weight: 800; color: var(--red); opacity: 0.2;
}
.card-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--red); color: #fff; border-radius: 7px;
    padding: 3px 10px; font-size: 11px; font-weight: 600;
}
.grid-card-body { padding: 15px 16px; }
.grid-card-title { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.grid-card-sub   { font-size: 12px; color: var(--muted); }
.product-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; color: var(--red); margin-top: 8px;
}
.product-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--red); color: #fff; border-radius: 10px;
    padding: 10px 20px; font-size: 13px; font-weight: 600;
    text-decoration: none; margin-top: 16px;
    transition: background .15s, transform .15s, box-shadow .15s;
    box-shadow: 0 4px 14px rgba(200,16,46,0.25);
}
.product-cta-btn:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(200,16,46,0.35); }

/* =====================================================
   TRAINING DOCUMENTS CARD
   ===================================================== */
.training-doc-card {
    background: var(--white); border: 1px solid var(--border); border-radius: 12px;
    overflow: hidden; transition: all 0.2s; display: flex; flex-direction: column; height: 100%;
}
.training-doc-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); transform: translateY(-2px); }
.doc-thumbnail {
    position: relative; width: 100%; height: 140px;
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.doc-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.doc-icon { font-size: 48px; opacity: 0.4; }
.doc-badge {
    position: absolute; top: 8px; right: 8px;
    background: rgba(0,0,0,0.7); color: #fff; padding: 4px 10px;
    font-size: 11px; font-weight: 600; border-radius: 6px;
}
.doc-content {
    padding: 16px; flex: 1; display: flex; flex-direction: column;
}
.doc-content h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.doc-content p { font-size: 12px; color: var(--muted); margin: 0 0 12px; line-height: 1.5; flex: 1; }
.doc-actions {
    display: flex; gap: 8px; margin-top: auto;
}
.doc-actions a { flex: 1; text-align: center; font-size: 12px; }

/* =====================================================
   ENTRY NAVIGATION (Prev / Next)
   ===================================================== */
.entry-nav {
    display: flex; justify-content: space-between;
    margin: 4px 0 28px; gap: 12px;
}
.entry-nav-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--white); border: 1px solid var(--border); border-radius: 10px;
    padding: 10px 16px; font-size: 13px; font-weight: 500; color: var(--text);
    text-decoration: none; transition: all 0.15s; max-width: 48%;
}
.entry-nav-btn:hover { background: var(--red-light); border-color: #f1c0c0; color: var(--red); }
.entry-nav-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.entry-cover { border-radius: 16px; overflow: hidden; margin-bottom: 20px; }
.entry-cover img { width: 100%; max-height: 500px; object-fit: cover; display: block; }
.entry-cover-diary img { max-height: 200px; }

/* =====================================================
   SKILLS
   ===================================================== */
.skill-card {
    background: var(--white); border: 1px solid var(--border); border-radius: 16px;
    padding: 20px 24px; margin-bottom: 14px;
    display: flex; gap: 18px; align-items: flex-start;
    transition: box-shadow 0.2s, transform 0.2s;
}
.skill-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); transform: translateX(4px); }
.skill-icon {
    width: 48px; height: 48px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 21px;
}
.skill-icon.s1 { background: var(--red-light); color: var(--red); }
.skill-icon.s2 { background: #f0fdf4;          color: #16a34a; }
.skill-icon.s3 { background: #faf5ff;          color: #9333ea; }
.skill-icon.s4 { background: #fff7ed;          color: #ea580c; }
.skill-icon.s5 { background: #fdf4ff;          color: #a21caf; }
.skill-body h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.skill-body p  { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 0; }

/* =====================================================
   ABOUT / SUPERVISOR
   ===================================================== */
.about-hero-card {
    background: linear-gradient(135deg, #7f1d1d 0%, var(--red) 100%);
    border-radius: 18px; padding: 28px 32px; color: #fff; margin-bottom: 20px;
    display: flex; gap: 22px; align-items: center;
}
.about-avatar {
    width: 120px; height: 120px; border-radius: 50%; flex-shrink: 0;
    background: rgba(255,255,255,0.2); border: 3px solid rgba(255,255,255,0.35);
    display: flex; align-items: center; justify-content: center;
    font-size: 46px; font-weight: 800; color: #fff;
    overflow: hidden;
}
.about-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.about-hero-card h2 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.about-hero-card .about-dept { font-size: 13px; color: rgba(255,255,255,0.72); margin-bottom: 10px; }
.about-chip {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,0.15); border-radius: 20px;
    padding: 4px 12px; font-size: 12px; margin: 2px 2px;
}
.about-skills-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--red); border-radius: 10px;
    padding: 10px 20px; font-size: 14px; font-weight: 700; text-decoration: none;
    margin-top: 14px;
}
.about-skills-cta:hover { background: rgba(255,255,255,0.85); color: var(--red-dark); }
.about-skills-cta-ghost {
    background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5);
    margin-left: 8px; cursor: pointer;
}
.about-skills-cta-ghost:hover { background: rgba(255,255,255,0.15); color: #fff; }

@media (max-width: 600px) {
    .about-hero-card { flex-direction: column; text-align: center; padding: 28px 20px; }
    .about-hero-card .name-with-social { justify-content: center; }
    .about-hero-card > div:last-child > div { display: flex; justify-content: center; }
}

/* CV request modal */
.cv-request-modal { border-radius: 16px; border: none; }
.cv-request-modal .modal-header { border-bottom: 1px solid #f0f0f0; }
.cv-request-modal .modal-title { font-size: 16px; font-weight: 700; color: var(--dark); }
.cv-modal-sub { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.btn-cv-submit {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--red); color: #fff; border: none; border-radius: 10px;
    padding: 10px 22px; font-size: 14px; font-weight: 600; width: 100%;
    justify-content: center; transition: background .15s;
}
.btn-cv-submit:hover { background: var(--red-dark); }
.btn-cv-submit:disabled { opacity: .7; }
.cv-request-status { font-size: 13px; margin-bottom: 10px; min-height: 0; }
.cv-request-status.ok  { color: #16a34a; }
.cv-request-status.err { color: var(--red); }

/* Name + icon-only social links sit on one line (about hero, home hero) */
.name-with-social { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.profile-social-row { display: inline-flex; gap: 6px; }
.profile-social-row a {
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 12px; transition: background .15s, transform .15s;
}
.profile-social-row a:hover { background: rgba(255,255,255,0.3); color: #fff; transform: translateY(-2px); }

.sv-card {
    background: var(--white); border: 1px solid var(--border); border-radius: 20px;
    padding: 48px 32px; display: flex; flex-direction: column; gap: 20px; align-items: center;
    text-align: center; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.sv-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-4px); }
.sv-avatar {
    width: 140px; height: 140px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 52px; font-weight: 700; color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.sv-avatar.red   { background: linear-gradient(135deg, #C8102E, #ef4444); }
.sv-avatar.green { background: linear-gradient(135deg, #16a34a, #22c55e); }
.sv-badge { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.sv-badge.red   { color: #C8102E; }
.sv-badge.green { color: #16a34a; }
.sv-card h3 { font-size: 20px; font-weight: 800; color: var(--dark); margin: 0; line-height: 1.3; }
.sv-card .sv-role { font-size: 14px; color: #64748b; margin: 8px 0 16px; line-height: 1.6; white-space: pre-line; font-weight: 500; }
.sv-contact { font-size: 13px; color: #475569; margin: 4px 0; display: flex; align-items: center; justify-content: center; gap: 8px; }
.sv-contact i { color: var(--red); font-size: 13px; }
.sv-contact a { color: inherit; text-decoration: none; }
.sv-contact a:hover { color: var(--red); }

/* =====================================================
   ABOUT — COMPETENCY CHIPS
   ===================================================== */
.competency-group { margin-bottom: 18px; }
.competency-group:last-child { margin-bottom: 0; }
.competency-group-label {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.6px; color: var(--muted); margin-bottom: 10px;
}
.competency-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--red-light); color: var(--red);
    border: 1px solid #f1c0c0; border-radius: 20px;
    padding: 6px 14px; font-size: 12.5px; font-weight: 600;
    margin: 0 6px 6px 0;
}
.competency-chip.alt { background: #f0fdf4; color: #16a34a; border-color: #bbf7d0; }

/* =====================================================
   ABOUT — ACHIEVEMENTS TIMELINE
   ===================================================== */
.timeline { position: relative; margin-left: 6px; padding-left: 26px; border-left: 2px solid var(--red-light); }
.timeline-item { position: relative; padding-bottom: 26px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    position: absolute; left: -32px; top: 3px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--red); border: 3px solid var(--red-light);
}
.timeline-year {
    display: inline-block; font-size: 11px; font-weight: 700; color: #fff;
    background: var(--red); border-radius: 6px; padding: 2px 9px;
    letter-spacing: 0.4px; margin-bottom: 6px;
}
.timeline-title { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.timeline-sub { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.timeline-desc { font-size: 13px; color: var(--text); line-height: 1.6; }
@media (max-width: 600px) {
    .timeline { padding-left: 20px; }
    .timeline-dot { left: -26px; }
}

/* =====================================================
   RESOURCE BUTTONS
   ===================================================== */
.res-btn {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
    padding: 14px 18px; text-decoration: none; color: var(--dark);
    font-size: 14px; font-weight: 500; transition: all 0.15s; width: 100%;
}
.res-btn:hover { background: var(--red-light); border-color: #f1c0c0; color: var(--red); }
.res-btn .res-icon { font-size: 22px; color: var(--red); flex-shrink: 0; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
    background: #0f172a; color: rgba(255,255,255,0.5);
    padding: 28px 0; font-size: 13px;
}
.site-footer img { height: 30px; object-fit: contain; opacity: 0.55; margin-bottom: 8px; display: block; margin-left: auto; margin-right: auto; }
.site-footer p { margin: 0 0 10px; text-align: center; }
.site-footer a {
    color: rgba(255,255,255,0.4); font-size: 18px;
    margin: 0 6px; text-decoration: none; transition: color 0.15s;
}
.site-footer a:hover { color: #fff; }

/* =====================================================
   SECTION LABEL
   ===================================================== */
.section-label {
    display: inline-block; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.2px; color: var(--red); margin-bottom: 8px;
}
