/* 
   Kisii University Vice Chancellor Portfolio
   Premium Front-End CSS Stylesheet
*/

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

:root {
    --primary-color: #0b3c5d;       /* Deep Academic Navy Blue */
    --secondary-color: #f5b041;     /* Warm Institutional Gold */
    --accent-color: #27ae60;        /* Environmental Green Accent */
    --dark-neutral: #1a252c;        /* Off-Black Charcoal */
    --light-neutral: #f4f6f8;       /* Warm Gray Background */
    --white: #ffffff;
    --border-color: #e2e8f0;
    
    --font-heading: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(11, 60, 93, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --max-width: 1200px;
}

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-neutral);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--secondary-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--light-neutral);
}

/* Navigation Header */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.topbar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

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

.topbar-links a {
    color: var(--white);
    margin-left: 1.5rem;
    font-size: 0.85rem;
}

.topbar-links a:hover {
    color: var(--secondary-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.logo-mark {
    width: 58px;
    height: 58px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.logo img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--secondary-color);
}

.burger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Button Component */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: #082d46;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

.btn-secondary:hover {
    background-color: #e09d31;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0b3c5d 0%, #062235 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    background-color: rgba(245, 176, 65, 0.15);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-media {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.hero-image-wrapper img:hover {
    transform: scale(1.03);
}

.hero-quote-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    max-width: 280px;
    border-left: 4px solid var(--secondary-color);
}

.hero-quote-text {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--dark-neutral);
    font-style: italic;
    line-height: 1.4;
    margin: 0;
}

/* Strategic Pillars Section */
.section-title-wrap {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.25rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.pillar-card:hover::before {
    background-color: var(--secondary-color);
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: inline-block;
}

.pillar-title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.pillar-desc {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* Profile Welcome Block */
.welcome-block {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.welcome-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.welcome-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-title-top {
    font-size: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.welcome-heading {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.welcome-quote {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: #475569;
    border-left: 3px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.welcome-text {
    color: #475569;
    margin-bottom: 2rem;
}

/* Speeches & News Teasers */
.teasers-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
}

.teaser-section-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    position: relative;
}

.teaser-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.news-card-mini {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.news-card-mini:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.news-mini-image {
    width: 90px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #e2e8f0;
}

.news-mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-mini-date {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.news-mini-title {
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.news-mini-title a {
    color: var(--primary-color);
}

.news-mini-title a:hover {
    color: var(--secondary-color);
}

.speech-card-mini {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.speech-card-mini:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--secondary-color);
}

.speech-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.speech-mini-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.speech-mini-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1rem;
}

/* Executive landing option */
.landing-executive-page header {
    display: none;
}

.executive-landing {
    min-height: 0;
    background-color: #f1f2f6;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.executive-nav {
    height: 90px;
    background-color: #233f91;
    display: grid;
    grid-template-columns: 1fr 1fr 160px 1fr 1fr;
    align-items: center;
    justify-items: center;
    padding: 0 7vw;
    position: relative;
    z-index: 5;
}

.executive-nav a {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.executive-nav a:hover {
    color: #f4d06f;
}

.executive-nav > a:nth-child(4) {
    grid-column: 4;
}

.executive-nav > a:nth-child(5) {
    grid-column: 5;
}

.executive-logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 138px;
    height: 138px;
    border-radius: 50%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-top: 0;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,0.22));
    box-shadow: none;
}

.executive-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.executive-image-right .executive-portrait {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
}

.executive-image-right .executive-copy {
    grid-column: 1;
    grid-row: 1;
}

.executive-image-right .executive-portrait img {
    object-position: right bottom;
}

.executive-landing-inner {
    flex: 0 0 auto;
    width: min(1280px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    align-items: end;
    gap: 1.75rem;
    height: min(650px, calc(100vh - 90px));
    min-height: 560px;
    padding: 0 3.5rem 0;
}

.executive-portrait {
    align-self: end;
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.executive-portrait img {
    height: 100%;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    object-position: left bottom;
    display: block;
    transform: none;
}

.executive-copy {
    align-self: center;
    padding: 0 0 2.25rem;
    text-align: center;
}

.executive-kicker {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-style: italic;
    font-weight: 700;
    color: #203c91;
    line-height: 1;
}

.executive-copy h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    font-style: italic;
    line-height: 1;
    color: #dd3c46;
    margin: 0.1rem 0 0.8rem;
}

.executive-copy h2 {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    color: #dd3c46;
    margin-bottom: 0.25rem;
}

.executive-copy h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: #0f172a;
    margin-bottom: 1.2rem;
}

.executive-copy p {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    font-size: 1.14rem;
    line-height: 1.45;
    color: #111827;
}

.home-biography-section {
    background-color: #ffffff;
}

.home-biography-magazine {
    min-height: 75vh;
    padding: 3.75rem 0 4rem;
    display: flex;
    align-items: center;
}

.home-biography-magazine .container {
    max-width: min(1400px, calc(100% - 3rem));
}

.bio-magazine-header {
    max-width: 980px;
    margin-bottom: 2rem;
}

.bio-magazine-header .welcome-heading {
    margin-bottom: 1rem;
}

.bio-magazine-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 430px;
}

.bio-magazine-page {
    position: relative;
    padding: 0 2rem;
    background-color: transparent;
    overflow: hidden;
    max-height: 520px;
}

.bio-magazine-page:not(:last-child) {
    border-right: 0;
}

.bio-magazine-page:first-child {
    padding-left: 0;
}

.bio-magazine-page:last-child {
    padding-right: 0;
}

.bio-magazine-page-lead {
    background-color: transparent;
    border: none;
}

.bio-page-number {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.bio-magazine-page h3 {
    font-size: 1.45rem;
    margin-bottom: 1rem;
}

.bio-continuation-mark {
    letter-spacing: 0;
    color: var(--secondary-color);
    line-height: 1;
}

.bio-magazine-page h4 {
    font-size: 1rem;
    margin: 1.35rem 0 0.6rem;
}

.bio-magazine-page p {
    color: #26364a;
    font-size: 0.98rem;
    line-height: 1.68;
    text-align: justify;
}

.bio-magazine-page p + p {
    margin-top: 1rem;
}

.bio-magazine-note {
    margin-top: 1.5rem;
    padding-top: 1.1rem;
    border-top: 0;
}

.bio-magazine-note strong,
.bio-magazine-note span {
    display: block;
}

.bio-magazine-note strong {
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

.bio-magazine-note span {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.55;
}

.bio-magazine-list {
    margin: 0;
    padding-left: 1.05rem;
    color: #26364a;
}

.bio-magazine-list li {
    margin-bottom: 0.65rem;
    line-height: 1.48;
}

.bio-magazine-list-compact li {
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
}

.bio-magazine-actions {
    margin-top: 1.8rem;
}

.home-biography-grid {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 4rem;
    align-items: center;
}

.home-biography-grid-text-only {
    display: block;
    max-width: 920px;
}

.home-biography-photo {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--light-neutral);
}

.home-biography-photo img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.home-research-list {
    margin: 1.75rem 0;
    padding: 1.5rem;
    border-left: 4px solid var(--secondary-color);
    background-color: var(--light-neutral);
}

.home-research-list h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.home-research-list ul {
    margin: 0;
    padding-left: 1.2rem;
    color: #334155;
}

.home-research-list li {
    margin-bottom: 0.45rem;
}

.news-mini-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    background-color: rgba(11, 60, 93, 0.06);
    color: var(--primary-color);
}

/* Inner Page Structure */
.page-header {
    background: linear-gradient(135deg, #0b3c5d 0%, #082d46 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.breadcrumbs a {
    color: #cbd5e1;
}

.breadcrumbs a:hover {
    color: var(--secondary-color);
}

.breadcrumbs span {
    color: #64748b;
}

/* Biography Styles */
.bio-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 4rem;
}

.bio-sidebar-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.bio-photo-wrap img {
    width: 100%;
    height: auto;
}

.bio-meta-info {
    padding: 1.5rem;
}

.bio-meta-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.bio-meta-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.bio-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #475569;
}

.bio-contact-icon {
    color: var(--primary-color);
    font-weight: 700;
    width: 20px;
}

.bio-main-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.bio-main-content p {
    color: #334155;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.qualifications-list {
    list-style: none;
    margin-bottom: 2rem;
}

.qualification-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #334155;
}

.qualification-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Archives: Grid Layouts */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.news-card-full {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.news-full-img {
    height: 240px;
    overflow: hidden;
    background-color: var(--light-neutral);
    position: relative;
}

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

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

.news-full-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-full-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-full-date {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-full-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-full-summary {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.speech-card-full {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.speech-card-full:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--secondary-color);
}

.speech-full-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
    cursor: pointer;
    background-color: var(--light-neutral);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(11, 60, 93, 0.95));
    padding: 1.5rem;
    color: var(--white);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

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

.gallery-card:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-caption {
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
}

.gallery-date {
    font-size: 0.75rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 60, 93, 0.95);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--white);
}

.lightbox-caption {
    color: var(--white);
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* Contact Styles */
.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
}

.contact-info-panel {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.contact-info-panel h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

.contact-detail-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-detail-row:last-child {
    margin-bottom: 0;
}

.contact-detail-icon {
    font-size: 1.25rem;
    color: var(--secondary-color);
    width: 24px;
}

.contact-detail-text h4 {
    color: var(--white);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-detail-text p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin: 0;
}

.contact-form-panel {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    color: var(--dark-neutral);
    background-color: var(--white);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 60, 93, 0.15);
}

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.alert-success {
    background-color: #def7ec;
    color: #03543f;
    border: 1px solid #bdf5db;
}

.alert-danger {
    background-color: #fde8e8;
    color: #9b1c1c;
    border: 1px solid #f8b4b4;
}

/* Detail Views */
.detail-layout {
    max-width: 800px;
    margin: 0 auto;
}

.detail-meta {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.detail-img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.detail-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
    text-align: justify;
}

.detail-body p {
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background-color: #061726;
    color: #94a3b8;
    padding: 4rem 0 2rem 0;
    border-top: 5px solid var(--secondary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.footer-logo-mark {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem;
    flex-shrink: 0;
}

.footer-logo img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.footer-logo-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

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

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

.footer-links a {
    color: #94a3b8;
}

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

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    gap: 1.5rem;
}

.footer-admin-area {
    text-align: right;
}

.footer-admin-area p {
    margin-bottom: 0;
}

.footer-admin-area a {
    color: #94a3b8;
}

.footer-admin-area a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #1e293b;
    color: var(--white);
    font-weight: bold;
    transition: var(--transition);
}

.social-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsiveness */
@media (max-width: 992px) {
    .hero-grid,
    .welcome-block,
    .teasers-grid,
    .bio-layout,
    .contact-layout,
    .footer-grid,
    .home-biography-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .executive-nav {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
        gap: 0.75rem 1.5rem;
        padding: 1.25rem 1.5rem 1.75rem;
    }

    .executive-logo {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        grid-column: 1 / -1;
        grid-row: 1;
        width: 112px;
        height: 112px;
        margin-top: 0;
        order: -1;
    }

    .executive-landing-inner {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
        padding: 2rem 1.5rem 0;
        text-align: center;
    }

    .executive-portrait {
        min-height: 380px;
        height: auto;
        order: 2;
        justify-content: center;
    }

    .executive-portrait img {
        height: auto;
        max-height: 420px;
    }

    .executive-copy {
        order: 1;
        padding: 2rem 0 1rem;
    }

    .executive-copy p {
        text-align: left;
        font-size: 1rem;
    }

    .home-biography-magazine {
        min-height: 0;
        padding: 4rem 0;
    }

    .bio-magazine-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .bio-magazine-page {
        min-height: 0;
        padding: 0 0 3rem 0;
        border-right: none !important;
        border-bottom: 0;
    }

    .bio-magazine-page:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

    .bio-magazine-page:first-child,
    .bio-magazine-page:last-child {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .welcome-image-wrapper {
        max-height: 400px;
    }
    
    .hero {
        text-align: center;
        padding: 4rem 0;
    }
    
    .hero-badge {
        margin: 0 auto 1.5rem auto;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .hero-quote-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -30px;
        width: 80%;
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: relative;
    }
    
    .burger {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        border-bottom: 2px solid var(--primary-color);
        box-shadow: var(--shadow-md);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background-color: var(--light-neutral);
    }
    
    .pillars-grid,
    .archive-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .executive-nav {
        grid-template-columns: 1fr;
    }

    .executive-nav a {
        font-size: 0.85rem;
    }

    .executive-copy h1 {
        font-size: 2.4rem;
    }

    .executive-kicker {
        font-size: 1.2rem;
    }

    .bio-magazine-page {
        /* Padding handled by 991px media query */
    }

    .home-biography-photo img {
        min-height: 320px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-admin-area {
        text-align: left;
    }
}

/* === EDITORIAL BIOGRAPHY SECTION === */
.editorial-bio-page {
    background-color: var(--white); /* Match website background */
    color: var(--dark-neutral);     /* Match website text */
    font-family: var(--font-body);
    --editorial-dark: var(--primary-color);        /* Navy Blue */
    --editorial-cream: var(--white);              /* White */
    --editorial-terracotta: var(--secondary-color); /* Gold */
    --editorial-sand: var(--light-neutral);        /* Light Gray */
    --editorial-arch-bg: var(--primary-color);      /* Deep Navy for Arch Background */
}

/* Ensure typography within the biography page matches the brand theme */
.editorial-bio-page h1,
.editorial-bio-page h2,
.editorial-bio-page h3,
.editorial-bio-page h4 {
    color: var(--editorial-dark);
    font-family: var(--font-serif); /* Keep serif for headers for that premium classic brochure look */
    font-weight: 700;
}

/* Header Grid */
.editorial-hero-section {
    background-color: var(--editorial-cream);
    padding: 3rem 0 2.5rem 0; /* Tightened vertical spacing */
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.editorial-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem; /* Slightly tighter column gap */
    align-items: center;
}

/* Left Hero Column: Typography & Info */
.editorial-hero-text {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Tighter spacing between breadcrumbs, title, role */
}

.editorial-breadcrumbs {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--editorial-dark);
}

.editorial-breadcrumbs a {
    color: var(--editorial-dark);
}

.editorial-breadcrumbs a:hover {
    color: var(--editorial-terracotta);
}

.editorial-hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0;
}

.editorial-tagline {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--accent-color); /* Green role tag matching main site */
    font-family: var(--font-serif);
}

/* Metadata Panel - No borders, just clean grid layout */
.editorial-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem 2rem; /* Tighter vertical grid gap */
    margin-top: 1.5rem; /* Reduced top margin to sit closer to tagline */
}

.editorial-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.editorial-meta-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b; /* Professional Muted Slate */
    font-weight: 700;
}

.editorial-meta-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-neutral);
}

.editorial-meta-value a {
    color: var(--primary-color);
    border-bottom: 1px solid rgba(11, 60, 93, 0.3);
}

.editorial-meta-value a:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Right Hero Column: Premium Arch Portrait Frame */
.editorial-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Double nested arch backgrounds */
.arch-frame-outer {
    position: relative;
    width: 300px;
    height: 380px; /* Tighter visual height */
}

.arch-background-terracotta {
    position: absolute;
    top: 15px;
    left: -15px;
    width: 100%;
    height: 100%;
    background-color: var(--editorial-arch-bg); /* Navy Blue Arch Backing */
    border-radius: 160px 160px 0 0;
    z-index: 1;
}

.arch-image-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--editorial-sand); /* Muted Light Gray */
    border-radius: 160px 160px 0 0;
    overflow: hidden;
    z-index: 2;
}

.arch-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mid-century Star/Sparkle Elements */
.editorial-star {
    position: absolute;
    width: 36px;
    height: 36px;
    color: var(--editorial-terracotta);
    z-index: 3;
    animation: editorial-float 6s ease-in-out infinite alternate;
}

.star-position-1 {
    top: -20px;
    right: 20px;
    color: var(--editorial-terracotta); /* Gold Star */
}

.star-position-2 {
    bottom: 40px;
    left: -35px;
    color: var(--editorial-arch-bg); /* Navy Star */
    width: 44px;
    height: 44px;
    animation-delay: -2s;
}

.star-position-3 {
    top: 40%;
    right: -45px;
    color: var(--accent-color); /* Green Star */
    width: 28px;
    height: 28px;
    animation-delay: -4s;
}

@keyframes editorial-float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-8px) rotate(15deg); }
}

/* Fine-line grid details */
.editorial-fine-line {
    position: absolute;
    border: 0;
    background-color: rgba(11, 60, 93, 0.15); /* Soft Navy Line */
}

.editorial-fine-line.vertical {
    width: 1px;
    height: 120px;
    left: 20px;
    top: 0;
}

.editorial-fine-line.vertical-cross {
    position: absolute;
    left: 17px;
    top: 60px;
    color: rgba(11, 60, 93, 0.3);
    font-size: 0.75rem;
    font-weight: 300;
}

/* Body Content Section */
.editorial-content-section {
    background-color: var(--editorial-cream);
    padding: 5rem 0;
}

.editorial-body-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.editorial-body-grid > :not(:last-child) {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 4rem;
}

/* Biography Column */
.editorial-bio-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.editorial-bio-text h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.editorial-bio-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: var(--editorial-terracotta); /* Gold Accent Line */
}

.editorial-bio-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dark-neutral);
    text-align: justify;
    margin: 0;
}

/* Qualifications Column */
.editorial-qualifications-wrap {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.editorial-qualifications-wrap h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.editorial-qualifications-wrap h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: var(--editorial-terracotta); /* Gold Accent Line */
}

.editorial-qual-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.editorial-qual-item {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 1rem;
    align-items: start;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.editorial-qual-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.editorial-qual-number {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--editorial-dark); /* Navy blue numbers for contrast */
    border-right: 1px solid var(--border-color);
    padding-right: 0.5rem;
    height: 100%;
    display: flex;
    align-items: center;
}

.editorial-qual-text {
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--dark-neutral);
    padding-top: 0.15rem;
}

/* Bottom Highlight Banner - Styled as a continuation of the biography text section */
.editorial-highlight-banner {
    background-color: var(--editorial-cream); /* Continues white background */
    color: var(--dark-neutral);              /* Charcoal text */
    padding: 0 0 6rem 0;                     /* Top padding is 0 to flow directly below the section above */
    position: relative;
    overflow: hidden;
}

/* Subtle line separator at the top of the responsibilities section to separate from the block above */
.editorial-highlight-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
}

.editorial-highlight-banner h2 {
    color: var(--editorial-dark); /* Navy blue headings */
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.editorial-highlight-banner h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: var(--editorial-terracotta); /* Gold Accent Line */
}

.editorial-banner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
    padding-top: 4rem; /* Add spacing below the separator line */
}

.editorial-banner-grid > :not(:last-child) {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 4rem;
}

.editorial-banner-col p {
    color: var(--dark-neutral);
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: justify;
}

.editorial-research-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.editorial-research-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.editorial-research-dot {
    width: 8px;
    height: 8px;
    background-color: var(--editorial-terracotta); /* Gold bullet points */
    border-radius: 50%;
    margin-top: 0.65rem;
    flex-shrink: 0;
}

.editorial-research-text {
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--dark-neutral);
}

/* Responsiveness overrides for Editorial layout */
@media (max-width: 991px) {
    .editorial-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .editorial-hero-text h1 {
        font-size: 2.75rem;
    }
    
    .editorial-meta-grid {
        justify-content: center;
    }
    
    .editorial-body-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .editorial-banner-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .editorial-hero-visual {
        order: -1; /* Display portrait above text on mobile */
    }
    
    .star-position-2 {
        left: 20px;
    }
    
    .star-position-3 {
        right: 20px;
    }
}
