/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #1E5A3C; /* sustainability green */
    --primary-blue: #3D54E6; /* tech blue */
    --primary-dark: #0D3B66; /* deep blue brand */
    --light-green: #e8f5e9; /* soft green background */
    --light-blue: #e3f2fd; /* soft blue background */
    --accent-orange: #f59e0b;
    --light-orange: #fff9e6;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --border-gray: #e5e7eb;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* Skip to main content link for accessibility and SEO */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1rem;
    background-color: var(--primary-dark);
    color: white;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}

.skip-to-main:focus {
    left: 0;
    top: 0;
}

/* Under Construction Banner */
.construction-banner {
    background: #2056DF;
    color: white;
    text-align: center;
    padding: 12px 20px;
    position: relative;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

.construction-banner p {
    margin: 0;
}

.construction-banner button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.construction-banner button:hover {
    background-color: rgba(255,255,255,0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* Improve touch targets for mobile */
button, a, .nav-link {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

h4.team-subsection-title {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
    text-align: center;
    position: relative;
}

h4.team-subsection-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-green);
    border-radius: 1px;
}

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

/* Header Styles */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    gap: 2rem;
}

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

.logo-icon svg {
    width: 48px;
    height: 48px;
}

.institutional-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: contain;
}

.club-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.logo-image {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

.hero-logo-img {
    width: 80px;
    height: 80px;
}

.hero-main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.hero-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.hero-logo-inline {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.hero-title-main {
    font-size: 2.5rem;
    color: #0D3B66;
    line-height: 1;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin: 0;
}

.logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.hero-logo-large {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.hero-title-large {
    font-size: 4rem;
    color: var(--primary-green);
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1.1;
    margin: 0;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.nav {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-green);
}

/* Button Styles */
.btn-primary {
    background: #3D54E6;
    color: var(--white);
    border: none;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    line-height: 1.2;
}

.btn-primary:hover {
    background: #2a3eb8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 84, 230, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #0D3B66;
    border: 2px solid #0D3B66;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-secondary:hover {
    background: #0D3B66;
    color: #ffffff;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    padding: 2.5rem 0 3rem;
}

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

.badge {
    display: inline-block;
    background: var(--light-green);
    color: var(--primary-green);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.hero-logo svg {
    width: 80px;
    height: 80px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--primary-green);
    line-height: 1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}

.hero-heading {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

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

/* Mission and Vision Cards */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mission-card,
.vision-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    margin-bottom: 0;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.mission-card {
    border: 3px solid #1e5a3c;
}

.vision-card {
    border: 3px solid #f59e0b;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.card-content {
    flex: 1;
}

.mission-card h4,
.vision-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-top: 0;
}

.mission-card p,
.vision-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: #f9fafb;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.section-description {
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.8;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: var(--light-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Values Section */
.values-section {
    padding: 5rem 0;
    background: #f9fafb;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: left;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Objectives Section */
.objectives-section {
    padding: 5rem 0;
    background: white;
}

.objectives-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

.goals-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.goals-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.goals-card.long-term::before {
    background: #1e5a3c;
}

.goals-card.short-term::before {
    background: #f59e0b;
}

.goals-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.goals-badge {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    flex-shrink: 0;
}

.goals-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
}

.goals-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.goals-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.goal-icon {
    flex-shrink: 0;
}

/* Team Section */
.team-section {
    padding: 3rem 0;
    background: #f9fafb;
}

/* Team Filter Styles */
.team-filter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 3rem 0;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-gray);
}

.filter-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    white-space: nowrap;
}

.team-filter-dropdown {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    background: var(--white);
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    min-width: 250px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.team-filter-dropdown:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(61, 84, 230, 0.1);
}

.team-filter-dropdown:hover {
    border-color: var(--primary-blue);
}

.team-filter-dropdown option {
    padding: 0.5rem;
    background: var(--white);
    color: var(--text-dark);
}

.team-subsection-title {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem 0;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.team-subsection-title:first-of-type {
    margin-top: 2rem;
}

.team-subsection-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
    border-radius: 2px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.team-card {
    background: var(--white);
    padding: 1rem 1rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-gray);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), #0f3d26);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(30, 90, 60, 0.3);
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-weight: 700;
    line-height: 1.4;
    min-height: 2.2rem;
}

.team-position {
    font-size: 0.95rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.team-department {
    font-size: 0.875rem;
    color: var(--text-gray);
}

/* Pillar Color Coding */
.pillar-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.pillar-badge.economics {
    background: #fefce8;
    color: #92400e;
    border: 1px solid #fde68a;
}

.pillar-badge.finance {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.pillar-badge.cse {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.pillar-badge.law {
    background: #ede9fe;
    color: #7c3aed;
    border: 1px solid #d8b4fe;
}

.team-card.pillar-economics {
    border-left: 4px solid #d97706;
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.team-card.pillar-finance {
    border-left: 4px solid #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.team-card.pillar-cse {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.team-card.pillar-law {
    border-left: 4px solid #8b5cf6;
    background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
}

.team-card.founding-card {
    border: 2px solid var(--primary-green);
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    position: relative;
}

.team-card.founding-card::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.founders-note {
    font-style: italic;
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-top: 1rem;
    line-height: 1.4;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid var(--primary-green);
}

.team-description {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Major section separator */
.team-major-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.team-major-section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* Activities Section */
.activities-section {
    padding: 5rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.activity-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.activity-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.activity-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.activity-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, #164a2f 100%);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.cta-content .btn-primary:hover {
    background: var(--light-green);
    transform: scale(1.05);
}

/* Publications Section */
.publications-section {
    padding: 5rem 0;
    background: var(--white);
}

/* Intelligence & Insights Section - New Design */
.intelligence-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.intelligence-category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-gray);
    font-family: 'Playfair Display', serif;
}

.intelligence-category-title:first-of-type {
    margin-top: 2rem;
}

.category-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-weight: 500;
    max-width: 1000px;
}

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

.intelligence-card {
    background: white;
    padding: 2.25rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray);
    position: relative;
    display: flex;
    flex-direction: column;
}

.intelligence-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-status-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    z-index: 2;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.status-coming-soon {
    background: #dbeafe;
    color: #1e40af;
}

.status-in-progress {
    background: #fef3c7;
    color: #d97706;
}

.status-available {
    background: #d1fae5;
    color: #065f46;
}

.status-published {
    background: #e9d5ff;
    color: #7c3aed;
}

.card-type-badge {
    display: inline-block;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 1.25rem;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.85rem;
    line-height: 1.45;
    font-family: 'Playfair Display', serif;
    padding-right: 100px;
    flex-grow: 0;
}

.card-meta {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.85rem;
    font-weight: 600;
    display: block;
}

.card-authors {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 0.65rem;
    font-weight: 500;
}

.card-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: auto;
    flex-grow: 1;
}

.btn-intelligence {
    margin-top: 1.5rem;
    padding: 0.85rem 1.5rem;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: white;
    color: var(--primary-blue);
    font-family: 'Inter', sans-serif;
    width: 100%;
}

.btn-intelligence:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 84, 230, 0.3);
}

.academic-card {
    border-left: 4px solid #8b5cf6;
}

/* Original Publications Styles (kept for backwards compatibility) */

.publications-grid {
    display: block;
    margin-bottom: 3rem;
}

.publications-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.publication-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--border-gray);
}

.publication-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.publication-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.publication-type {
    display: inline-block;
    padding: 0.45rem 0.95rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--primary-green);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.publication-icon {
    width: 60px;
    height: 60px;
    background: var(--light-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.publication-badge {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.publication-badge.finance {
    background: #fef3c7;
    color: #d97706;
}

.publication-badge.behavior {
    background: #fee2e2;
    color: #dc2626;
}

.publication-badge.marketing {
    background: #ddd6fe;
    color: #7c3aed;
}

.publication-badge.sustainability {
    background: #bbf7d0;
    color: #15803d;
}

.publication-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.4;
}

/* Publication Item (for publications page) */
.publication-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a202c;
    font-weight: 700;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.publication-item:hover h3 {
    color: var(--primary-green);
}

.publication-item .authors {
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    line-height: 1.6;
}

.publication-item .journal {
    font-size: 0.92rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid var(--primary-green);
}

.publication-item .description {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    text-align: justify;
}

.publication-card .authors {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.publication-card .journal {
    font-size: 0.875rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.publication-card .description {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.publication-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.btn-download,
.btn-view {
    flex: 1;
    min-width: 140px;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

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

.btn-download:hover {
    background: #0f7a4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 90, 60, 0.3);
}

.btn-view {
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

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

.publication-cta {
    text-align: center;
    background: var(--light-green);
    padding: 3rem 2rem;
    border-radius: 16px;
}

.publication-cta p {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Collaboration Section */
.collaboration-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.collaboration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.collaboration-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-gray);
    position: relative;
    overflow: hidden;
}

.collaboration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.collaboration-card:hover::before {
    opacity: 1;
}

.collaboration-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.collab-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(61, 84, 230, 0.25);
}

.collaboration-card h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.collab-cta {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.collaboration-card > p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.collab-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-gray);
}

.collab-benefits li:last-child {
    border-bottom: none;
}

.collab-benefits svg {
    color: var(--primary-green);
    flex-shrink: 0;
}

.btn-collab {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-students {
    background: linear-gradient(135deg, #3D54E6 0%, #5a6eeb 100%);
    color: white;
}

.btn-students:hover {
    background: linear-gradient(135deg, #2a3fcf 0%, #4456d4 100%);
    transform: translateX(4px);
}

.btn-startups {
    background: linear-gradient(135deg, #1E5A3C 0%, #2d7a55 100%);
    color: white;
}

.btn-startups:hover {
    background: linear-gradient(135deg, #174529 0%, #236541 100%);
    transform: translateX(4px);
}

.btn-partners {
    background: linear-gradient(135deg, #0D3B66 0%, #1a5280 100%);
    color: white;
}

.btn-partners:hover {
    background: linear-gradient(135deg, #082844 0%, #0f3d5a 100%);
    transform: translateX(4px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0D3B66 0%, #1a4d75 50%, #0D3B66 100%);
    color: var(--white);
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(61, 84, 230, 0.5), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-col-logo {
    max-width: 350px;
}

.footer-logo-img {
    width: 100px;
    height: auto;
    margin-bottom: 0.75rem;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-brand {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.footer-description {
    opacity: 0.85;
    line-height: 1.6;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: #3D54E6;
    border-radius: 2px;
}

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

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.85;
    transition: var(--transition);
    display: inline-block;
    font-size: 0.875rem;
}

.footer-links a:hover {
    opacity: 1;
    transform: translateX(4px);
    color: #3D54E6;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    opacity: 0.85;
    line-height: 1.5;
    font-size: 0.875rem;
}

.footer-contact li:hover {
    opacity: 1;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact span {
    flex: 1;
}

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

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-link:hover {
    background: #3D54E6;
    border-color: #3D54E6;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(61, 84, 230, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    opacity: 0.85;
    font-size: 0.875rem;
}

.developer-name {
    color: var(--white);
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .intelligence-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .intelligence-category-title {
        font-size: 1.35rem;
        margin-top: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .nav {
        gap: 1rem;
    }

    .objectives-wrapper {
        grid-template-columns: 1fr;
    }

    .leadership-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Tablet Horizontal & Small Desktop */
@media (max-width: 1024px) and (min-width: 769px) {
    .header {
        padding: 1rem 0;
    }
    
    .nav-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    /* First Row: Logos + Name */
    .logo {
        gap: 0.75rem;
        justify-content: center;
    }
    
    .institutional-logo {
        width: 50px;
        height: 50px;
    }
    
    .club-logo {
        width: 60px;
        height: 60px;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .logo-text p {
        font-size: 0.65rem;
    }
    
    /* Second Row: Menu */
    .nav {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.45rem 0.75rem;
    }
    
    /* Hide Join Us button in tablet horizontal */
    .nav-wrapper .btn-primary {
        display: none;
    }
}

@media (max-width: 768px) {
    .intelligence-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .intelligence-category-title {
        font-size: 1.25rem;
        margin-top: 2rem;
    }
    
    .card-title {
        font-size: 1.05rem;
        padding-right: 95px;
    }
    
    .header {
        position: relative;
        padding: 0.75rem 0;
    }
    
    .nav-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 0.75rem 0;
        gap: 1rem;
    }
    
    .logo {
        order: 1;
        gap: 0.75rem;
        justify-content: center;
    }
    
    .institutional-logo {
        width: 45px;
        height: 45px;
    }
    
    .club-logo {
        width: 50px;
        height: 50px;
    }
    
    .logo-text h1 {
        font-size: 0.9rem;
    }
    
    .logo-text p {
        font-size: 0.6rem;
    }
    
    .nav {
        order: 2;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.7rem;
    }
    
    .btn-primary {
        order: 3;
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-right {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .mission-card,
    .vision-card {
        flex-direction: column;
        text-align: center;
    }
    
    .card-icon {
        margin: 0 auto 1rem;
    }
    
    .hero-title-main {
        font-size: 2.5rem;
    }

    .hero-logo-inline {
        width: 50px;
        height: 50px;
    }
    
    .hero-heading {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .publications-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .member-image {
        width: 150px;
        height: 150px;
    }
    
    .btn-primary,
    .btn-secondary {
        font-size: 0.875rem;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .intelligence-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .intelligence-category-title {
        font-size: 1.2rem;
        margin-top: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .intelligence-card {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1rem;
        padding-right: 90px;
    }
    
    .card-status-badge {
        top: 1rem;
        right: 1rem;
        font-size: 0.65rem;
        padding: 0.3rem 0.65rem;
    }
    
    .card-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .header {
        padding: 0.75rem 0;
    }
    
    .logo-image {
        width: 45px;
        height: 45px;
    }
    
    .logo-text h1 {
        font-size: 1.1rem;
    }
    
    .logo-text p {
        font-size: 0.65rem;
    }
    
    .nav-link {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
    
    .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .hero {
        padding: 2rem 0 3rem;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-title-wrapper {
        gap: 0.5rem;
    }
    
    .hero-title-main {
        font-size: 2rem;
    }

    .hero-logo-inline {
        width: 40px;
        height: 40px;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
    }
    
    .hero-heading {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.875rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons button {
        width: 100%;
    }
    
    .mission-card h4,
    .vision-card h4 {
        font-size: 1.25rem;
    }
    
    .mission-card p,
    .vision-card p {
        font-size: 0.875rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 0.875rem;
    }
    
    .value-card h3,
    .about-card h3 {
        font-size: 1.125rem;
    }
    
    .value-card p,
    .about-card p {
        font-size: 0.875rem;
    }
    
    .activity-card h3 {
        font-size: 1.25rem;
    }
    
    .activity-card p {
        font-size: 0.875rem;
    }
    
    .goals-header h2 {
        font-size: 1.5rem;
    }
    
    .goals-list li {
        font-size: 0.875rem;
    }
    
    .member-name {
        font-size: 1.125rem;
    }
    
    .member-role {
        font-size: 0.875rem;
    }
}

/* Team Page Specific Styles */
.page-header {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    padding: 1.5rem 0 1.5rem;
    text-align: center;
    margin-top: 80px;
}

.page-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.page-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.team-section-full {
    padding: 3rem 0;
    background: #f9fafb;
}

/* General Members Grid */
.general-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.member-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-gray);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.member-avatar-small {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), #0f3d26);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(30, 90, 60, 0.2);
}

.member-name-small {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.member-batch {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 500;
}

@media (max-width: 768px) {
    .page-header {
        padding: 3rem 0 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .general-members-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .member-card {
        padding: 1.5rem 1rem;
    }
}

/* ================================
   GALLERY PAGE STYLES
   ================================ */

.gallery-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-green);
    background: var(--white);
    color: var(--primary-green);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

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

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    color: var(--white);
    width: 100%;
}

.gallery-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-info p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.btn-view-image {
    padding: 0.5rem 1rem;
    background: var(--white);
    color: var(--primary-green);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-view-image:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: scale(1.05);
}

/* Gallery Responsive */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 3rem 0;
    }
    
    .gallery-filters {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-info h3 {
        font-size: 1rem;
    }
    
    .gallery-info p {
        font-size: 0.8rem;
    }
}

/* ================================
   PUBLICATIONS PAGE STYLES
   ================================ */

.publications-page-section {
    padding: 2rem 0 4rem;
    background: #f9fafb;
}

.publications-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
    align-items: flex-end;
    border: 2px solid rgba(30, 90, 60, 0.1);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.filter-select:hover {
    border-color: var(--primary-green);
    box-shadow: 0 4px 12px rgba(30, 90, 60, 0.1);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(30, 90, 60, 0.15);
}

.btn-reset {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, #0f7a4a 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(30, 90, 60, 0.3);
}

.btn-reset:hover {
    background: linear-gradient(135deg, #0f7a4a 0%, var(--primary-green) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 90, 60, 0.4);
}

.publications-count {
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    border-left: 5px solid var(--primary-green);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.publications-count p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.publications-count strong {
    color: var(--primary-green);
    font-size: 1.3rem;
    font-weight: 700;
}

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

.publication-item {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.publication-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.publication-item:hover::before {
    transform: scaleX(1);
}

.publication-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-green);
}

.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    grid-column: 1 / -1;
}

.no-results h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.no-results p {
    color: #666;
    font-size: 1rem;
}

/* Publications Page Responsive */
@media (max-width: 1024px) {
    .publications-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .publications-page-section {
        padding: 1.5rem 0 3rem;
    }
    
    .publications-filters {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .btn-reset {
        width: 100%;
        justify-content: center;
    }
    
    .publication-item {
        padding: 1.75rem;
    }
    
    .publication-item h3 {
        font-size: 1.15rem;
    }
    
    .publication-item .description {
        font-size: 0.9rem;
        padding: 0.85rem;
    }
    
    .publication-actions {
        flex-direction: column;
    }
    
    .btn-download,
    .btn-view {
        width: 100%;
    }
    
    .publications-list {
        gap: 1.5rem;
    }
}

/* Collaboration Section Responsive */
@media (max-width: 768px) {
    .collaboration-section {
        padding: 4rem 0;
    }
    
    .collaboration-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .collaboration-card {
        padding: 2rem;
    }
    
    .collab-icon {
        width: 70px;
        height: 70px;
    }
    
    .collab-cta {
        font-size: 1.5rem;
    }
}

/* Intelligence Section Responsive */
@media (max-width: 768px) {
    .intelligence-section {
        padding: 3rem 0;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
    }
    
    .category-title {
        font-size: 1.4rem;
    }
    
    .category-tagline {
        font-size: 0.875rem;
    }
    
    .intelligence-card {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.2rem;
        padding-right: 0;
        margin-bottom: 0.75rem;
    }
    
    .card-status-badge {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }
    
    .card-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .card-description {
        font-size: 0.95rem;
    }
    
    .btn-intelligence {
        width: 100%;
        justify-content: center;
    }
}

/* Specialized Research Wings Page */
.wings-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.wings-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.wings-intro .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.wings-intro .section-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.wings-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.wing-modern-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.wing-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.wing-card-header {
    background: linear-gradient(135deg, #5a7cfa 0%, #3D54E6 100%);
    padding: 2rem;
    text-align: center;
    color: white;
}

.wing-icon-wrapper {
    margin-bottom: 1rem;
}

.wing-icon-modern {
    width: 72px;
    height: 72px;
    color: white;
    opacity: 0.9;
}

.wing-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.wing-lead {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
    font-weight: 500;
}

.wing-card-content {
    padding: 2rem;
}

.wing-section-block {
    margin-bottom: 2rem;
}

.wing-section-block:last-child {
    margin-bottom: 0;
}

.wing-section-block h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
    border-bottom: 2px solid var(--light-green);
    padding-bottom: 0.25rem;
}

.wing-section-block p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   Publication Sub-Page (C.A.S.E. White Paper)
   ============================================ */

.pub-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
}

.pub-breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.pub-breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.pub-breadcrumb .separator {
    color: var(--text-gray);
    opacity: 0.6;
}

.pub-breadcrumb .current {
    color: var(--text-dark);
    font-weight: 600;
}

.publication-page {
    padding: 3rem 0 5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    min-height: 70vh;
}

.publication-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: flex-start;
}

.publication-main {
    min-width: 0;
}

.series-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--light-green);
    border-radius: 20px;
}

.publication-main h1 {
    font-family: 'Source Serif 4', 'Charter', 'Source Serif Pro', Georgia, serif;
    font-size: 2.25rem;
    color: var(--primary-dark);
    line-height: 1.22;
    margin-bottom: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.012em;
    word-break: break-word;
    hyphens: auto;
}

.publication-main h2.publication-subtitle {
    display: none;
}

/* Small label that sits directly above the authors block */
.authors-block-label {
    display: block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748b;
    margin: 0 0 0.65rem 0;
    padding-left: 0.15rem;
}

.authors-block-label::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 2px;
    background: var(--primary-green);
    vertical-align: middle;
    margin-right: 0.55rem;
    border-radius: 1px;
}

/* H1 title suffix — pure black for the "Strategic Proposal & Operational
   Framework" part so it reads as a continuation of the same sentence but
   has slightly stronger contrast than the dark-navy main title. */
.publication-main h1 .title-suffix {
    color: #000000;
    font-weight: 700;
}

/* DOI + Publication Meta Bar — sits between H1 and H2 subtitle, before authors */
.publication-doi-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding: 0.55rem 0.85rem;
    margin: 0 0 1.4rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-left: 4px solid var(--primary-blue);
    border-radius: 10px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.875rem;
    line-height: 1.4;
    box-shadow: 0 1px 4px rgba(61, 84, 230, 0.06);
}

.publication-doi-bar > span,
.publication-doi-bar > a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #075985;
    text-decoration: none;
    white-space: nowrap;
}

.publication-doi-bar .doi-bar-pub-date {
    color: #0c4a6e;
    font-weight: 500;
}

.publication-doi-bar .doi-bar-doi {
    color: var(--primary-blue);
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    margin: -0.25rem -0.6rem;
    border-radius: 6px;
    transition: background 0.18s ease, color 0.18s ease;
    cursor: pointer;
}

.publication-doi-bar .doi-bar-doi:hover {
    background: var(--primary-blue);
    color: #ffffff;
}

.publication-doi-bar .doi-bar-doi:hover .doi-bar-value {
    color: #ffffff;
}

.publication-doi-bar .doi-bar-doi:hover i {
    color: #ffffff;
}

.publication-doi-bar .doi-bar-type {
    color: #0c4a6e;
    font-weight: 500;
}

.publication-doi-bar .doi-bar-divider {
    width: 1px;
    height: 16px;
    background: #cbd5e1;
    flex-shrink: 0;
}

.publication-doi-bar .doi-bar-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.publication-doi-bar .doi-bar-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0c4a6e;
}

.publication-doi-bar .doi-bar-value-mono {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.84rem;
    letter-spacing: -0.01em;
}

.publication-doi-bar i {
    flex-shrink: 0;
    color: #0284c7;
}

.publication-doi-bar .doi-bar-doi i {
    color: var(--primary-blue);
}

/* Tablet (≤ 900px) — tighten bar padding, keep on one line if possible */
@media (max-width: 900px) {
    .publication-doi-bar {
        gap: 0.5rem 0.7rem;
        padding: 0.6rem 0.85rem;
        font-size: 0.85rem;
    }
    .publication-doi-bar .doi-bar-value {
        font-size: 0.84rem;
    }
    .publication-doi-bar .doi-bar-value-mono {
        font-size: 0.8rem;
    }
    .publication-doi-bar .doi-bar-label {
        font-size: 0.68rem;
    }
}

/* Mobile (≤ 600px) — stack into 2-row layout, full-width for screenshot-friendliness */
@media (max-width: 600px) {
    .publication-doi-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
        padding: 0.85rem 0.9rem;
        margin-bottom: 1.25rem;
        border-radius: 8px;
    }
    .publication-doi-bar > span,
    .publication-doi-bar > a {
        width: 100%;
        justify-content: flex-start;
    }
    .publication-doi-bar .doi-bar-divider {
        display: none;
    }
    .publication-doi-bar .doi-bar-doi {
        margin: 0;
        padding: 0.35rem 0;
        border-bottom: 1px dashed #bae6fd;
        border-radius: 0;
    }
    .publication-doi-bar .doi-bar-label {
        min-width: 52px;
    }
}

.authors-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.author-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-left: 4px solid var(--primary-blue);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.author-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.author-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.author-designation {
    font-size: 0.9rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.author-affiliation {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 0.85rem;
    line-height: 1.5;
    font-style: italic;
}

.author-role {
    color: inherit;
}

.author-institution {
    color: inherit;
}

.author-meta {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.85rem;
    border-top: 1px solid var(--border-gray);
    padding-top: 0.85rem;
}

.author-meta a {
    color: var(--primary-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    word-break: break-all;
    transition: var(--transition);
}

.author-meta a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.author-meta svg {
    flex-shrink: 0;
}

.publication-section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.publication-section-heading svg {
    color: var(--primary-blue);
}

.publication-abstract {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-dark);
    text-align: justify;
    margin-bottom: 1.5rem;
}

.publication-keywords {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
    background: #f8fafc;
    border-left: 3px solid var(--primary-green);
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2.5rem;
    font-style: italic;
}

.publication-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0 3rem;
}

.btn-pdf-download,
.btn-doi-view {
    flex: 1;
    min-width: 240px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 1.75rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    border: none;
    cursor: pointer;
}

.btn-pdf-download {
    background: linear-gradient(135deg, var(--primary-green) 0%, #2d7a55 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(30, 90, 60, 0.25);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    min-height: 56px;
}

.btn-pdf-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(30, 90, 60, 0.4);
    color: var(--white);
}

.btn-doi-view {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-doi-view:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(61, 84, 230, 0.25);
}

.publication-pdf-embed {
    margin-top: 1rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-gray);
    background: var(--white);
}

.publication-pdf-embed iframe {
    width: 100%;
    height: 720px;
    border: none;
    display: block;
}

/* Sidebar metadata widget */
.publication-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.metadata-widget {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.metadata-widget h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.metadata-widget h3 svg {
    color: var(--primary-green);
}

.metadata-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.metadata-list li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.metadata-list .meta-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-gray);
    font-weight: 600;
}

.metadata-list .meta-value {
    color: var(--text-dark);
    font-weight: 600;
    word-break: break-word;
}

.metadata-list .meta-value.doi-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    transition: var(--transition);
}

.metadata-list .meta-value.doi-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.metadata-list .meta-value.serial {
    font-family: 'Courier New', monospace;
    color: var(--primary-green);
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a5280 100%);
    color: var(--white);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(13, 59, 102, 0.2);
}

.sidebar-cta h4 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.sidebar-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.sidebar-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--white);
    color: var(--primary-dark);
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.sidebar-cta a:hover {
    background: var(--light-green);
    transform: translateY(-2px);
}

/* ───────────────────────────────────────────────
   Citation Generator (APA / MLA / Chicago tabs)
   ─────────────────────────────────────────────── */
.citation-generator .citation-tabs {
    display: flex;
    gap: 0.35rem;
    margin: 0.85rem 0 0.75rem;
    padding: 0.25rem;
    background: #f1f5f9;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.citation-tab {
    flex: 1;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    color: #475569;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.55rem 0.4rem;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 36px;
}

.citation-tab:hover {
    color: #1E5A3C;
    background: rgba(30, 90, 60, 0.06);
}

.citation-tab.is-active {
    background: var(--white);
    color: var(--primary-green);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.citation-output {
    min-height: 96px;
    max-height: 200px;
    overflow-y: auto;
    background: #fafbfc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
    line-height: 1.55;
    color: #1e293b;
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.85rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.citation-output::-webkit-scrollbar {
    width: 6px;
}

.citation-output::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.citation-output .citation-placeholder {
    color: #64748b;
    font-style: italic;
    font-size: 0.8rem;
    text-align: center;
    padding: 1.25rem 0.5rem;
}

.citation-output .citation-error {
    color: #b91c1c;
    font-size: 0.8rem;
    line-height: 1.5;
    padding: 0.5rem 0;
}

.citation-output i {
    font-style: italic;
}

.citation-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-citation-copy,
.btn-citation-refresh {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    appearance: none;
    -webkit-appearance: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 40px;
}

.btn-citation-copy {
    background: var(--primary-green);
    color: var(--white);
    border: 1px solid var(--primary-green);
}

.btn-citation-copy:hover:not(:disabled) {
    background: #14472e;
    border-color: #14472e;
    transform: translateY(-1px);
}

.btn-citation-copy:disabled {
    background: #cbd5e1;
    border-color: #cbd5e1;
    color: #f8fafc;
    cursor: not-allowed;
}

.btn-citation-copy.is-copied {
    background: #0f766e;
    border-color: #0f766e;
}

.btn-citation-refresh {
    flex: 0 0 44px;
    background: var(--white);
    color: var(--primary-green);
    border: 1px solid #1E5A3C;
}

.btn-citation-refresh:hover {
    background: #f0fdf4;
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .citation-output {
        max-height: 160px;
        font-size: 0.78rem;
    }
    .citation-tab {
        font-size: 0.72rem;
        padding: 0.5rem 0.3rem;
    }
}

/* Page-specific legal footer */
.page-legal-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-gray);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.page-legal-footer a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.page-legal-footer a:hover {
    text-decoration: underline;
}

/* Responsive: Publication sub-page */
@media (max-width: 1024px) {
    .publication-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .publication-sidebar {
        position: static;
    }

    .publication-main h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
}

@media (max-width: 768px) {
    .publication-main h1 {
        font-size: 1.4rem;
        line-height: 1.32;
        letter-spacing: -0.003em;
    }

    .publication-cta-group {
        flex-direction: column;
    }

    .btn-pdf-download,
    .btn-doi-view {
        width: 100%;
    }

    .publication-pdf-embed iframe {
        height: 520px;
    }
}

@media (max-width: 420px) {
    .publication-main h1 {
        font-size: 1.22rem;
        line-height: 1.34;
    }
}

/* ============================================
   Global Affiliations Grid (Crossref + C2PA)
   ============================================ */

.affiliations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.affiliation-card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.affiliation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

@media (max-width: 900px) {
    .affiliations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .affiliation-card {
        padding: 1.75rem;
    }
}

/* ============================================
   C.A.S.E. Sub-Page — Read Document CTAs
   ============================================ */

.btn-pdf-secondary {
    flex: 1;
    min-width: 200px;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-pdf-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(30, 90, 60, 0.3);
}

.publication-cta-group {
    gap: 0.85rem;
    margin: 2rem 0 1.5rem;
}

/* Mobile Reader Panel — shown on small screens */
.mobile-reader-panel {
    display: none;
    background: linear-gradient(135deg, #f0fdf4 0%, #d1fae5 100%);
    border: 1px solid var(--primary-green);
    border-radius: 14px;
    padding: 1.5rem;
    margin: 1rem 0 2rem;
    box-shadow: 0 4px 18px rgba(30, 90, 60, 0.08);
}

.mobile-reader-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.mobile-reader-header h4 {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: #064e3b;
    font-weight: 700;
}

.mobile-reader-hint {
    margin: 0 0 1.1rem;
    font-size: 0.92rem;
    color: #065f46;
    line-height: 1.5;
}

.mobile-reader-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.btn-mobile-reader {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1.1rem;
    border-radius: 10px;
    text-decoration: none;
    background: white;
    border: 1px solid rgba(30, 90, 60, 0.15);
    color: #064e3b;
    transition: all 0.2s ease;
    min-height: 56px;
}

.btn-mobile-reader:hover,
.btn-mobile-reader:focus {
    border-color: var(--primary-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 90, 60, 0.15);
    color: #064e3b;
}

.btn-mobile-reader span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.btn-mobile-reader strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #064e3b;
}

.btn-mobile-reader small {
    font-size: 0.78rem;
    color: #4B5563;
    font-weight: 500;
    line-height: 1.3;
}

.btn-mobile-native i { color: #1E5A3C; }
.btn-mobile-gdocs i { color: #3D54E6; }
.btn-mobile-pdfjs i { color: #b45309; }

/* Show mobile reader panel + hide iframe on phones */
@media (max-width: 768px) {
    .mobile-reader-panel {
        display: block;
    }
    .publication-pdf-embed {
        display: none;
    }
}

/* Desktop full-reader button (hidden on mobile) */
.desktop-fullreader {
    display: flex;
    justify-content: center;
    margin: 1rem 0 2rem;
}

.desktop-fullreader .btn-pdf-secondary {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
}

@media (max-width: 768px) {
    .desktop-fullreader {
        display: none;
    }
}

/* ============================================
   Crossref Impact Integration
   ============================================ */

.crossref-record-banner {
    display: flex;
    gap: 1.1rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #1E5A3C;
    border-left: 4px solid #1E5A3C;
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin: 2rem 0 1rem;
    box-shadow: 0 4px 16px rgba(30, 90, 60, 0.08);
}

.crossref-record-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(30, 90, 60, 0.1);
}

.crossref-record-content {
    flex: 1;
    min-width: 0;
}

.crossref-record-content h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: #064e3b;
    font-weight: 700;
}

.crossref-record-content p {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    color: #065f46;
    line-height: 1.55;
}

.crossref-record-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn-crossref-doi,
.btn-crossref-search {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    min-height: 36px;
}

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

.btn-crossref-doi:hover {
    background: #14472e;
    color: white;
    transform: translateY(-1px);
}

.btn-crossref-search {
    background: white;
    color: #005f83;
    border: 1px solid #005f83;
}

.btn-crossref-search:hover {
    background: #ecfeff;
    color: #003f57;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .crossref-record-banner {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.85rem;
        padding: 1.1rem 1.15rem;
        margin: 1.5rem 0 1rem;
    }

    .crossref-record-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .crossref-record-icon i {
        width: 24px !important;
        height: 24px !important;
    }

    .crossref-record-content h4 {
        font-size: 0.98rem;
        gap: 0.4rem;
        font-style: normal;
    }

    .crossref-record-content p {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .crossref-record-actions {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .btn-crossref-doi,
    .btn-crossref-search {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .crossref-record-banner {
        padding: 0.95rem 1rem;
        gap: 0.75rem;
    }

    .crossref-record-icon {
        width: 36px;
        height: 36px;
    }

    .crossref-record-icon i {
        width: 22px !important;
        height: 22px !important;
    }

    .crossref-record-content h4 {
        font-size: 0.92rem;
    }
}

/* Crossref Indexed Widget in Sidebar */
.crossref-indexed-widget {
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.crossref-indexed-header {
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-gray);
    margin-bottom: 1rem;
}

.crossref-indexed-body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.crossref-indexed-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: #374151;
    line-height: 1.4;
}

.crossref-indexed-row code {
    background: #f1f5f9;
    padding: 1px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Consolas', monospace;
    font-size: 0.78rem;
    color: #005f83;
}

.crossref-indexed-link {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #005f83;
    text-decoration: none;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-gray);
}

.crossref-indexed-link:hover {
    color: #003f57;
}



/* ============================================
   404 Page
   ============================================ */

.page-404 {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.page-404-card {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 12px 36px rgba(13, 59, 102, 0.08);
}

.page-404-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-green);
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    margin: 0 0 1.25rem;
}

.page-404-title {
    font-family: 'Source Serif 4', 'Charter', 'Source Serif Pro', Georgia, serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}

.page-404-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0 0 1.75rem;
}

.page-404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.page-404-footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 1.5rem 0;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    opacity: 0.95;
}

.page-404-footer p {
    margin: 0;
}

@media (max-width: 600px) {
    .page-404-card {
        padding: 2.25rem 1.5rem;
    }

    .page-404-title {
        font-size: 1.75rem;
    }

    .page-404-text {
        font-size: 0.95rem;
    }

    .page-404-actions {
        flex-direction: column;
    }

    .page-404-actions a {
        width: 100%;
    }
}

/* =====================================================
   CFSBR Call for Papers page
   File: publications/call-for-institutional-papers.html
   ===================================================== */

.cfp-hero {
    background: linear-gradient(135deg, #fafaf5 0%, #f3f0e6 50%, #e7d4a0 100%);
    border: 1px solid #0F2A47;
    border-radius: 14px;
    padding: 1.75rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(15, 42, 71, 0.10);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cfp-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.cfp-hero-title {
    font-family: 'Source Serif 4', 'Playfair Display', Georgia, serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #0F2A47;
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.cfp-hero-tagline {
    font-size: 1rem;
    color: #334155;
    line-height: 1.55;
    margin: 0;
    max-width: 60rem;
}

.cfp-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.cfp-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #e7d4a0;
    border-radius: 99px;
    padding: 5px 12px;
    font-size: 0.82rem;
    color: #0F2A47;
    box-shadow: 0 1px 3px rgba(15, 42, 71, 0.06);
}

.cfp-meta-pill strong {
    color: #C9A24A;
    margin-right: 4px;
    font-weight: 700;
}

.cfp-doi-format {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0F2A47;
    color: white;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 0.88rem;
    width: fit-content;
    max-width: 100%;
}

.cfp-doi-format code {
    background: rgba(255, 255, 255, 0.12);
    color: #e7d4a0;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88rem;
}

.cfp-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

/* Tracks grid */

.cfp-tracks-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0 0.5rem;
}

.cfp-track-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 1px 4px rgba(15, 42, 71, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cfp-track-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15, 42, 71, 0.12);
    border-color: #e7d4a0;
}

.cfp-track-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
}

.cfp-track-card h4 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.15rem;
    color: #111827;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.cfp-track-card p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

/* Eligibility list */

.cfp-eligibility-list {
    list-style: none;
    counter-reset: eligibility;
    padding: 0;
    margin: 1rem 0 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cfp-eligibility-list li {
    counter-increment: eligibility;
    background: #fafaf5;
    border-left: 3px solid #0F2A47;
    padding: 12px 16px 12px 44px;
    border-radius: 8px;
    color: #1f2937;
    font-size: 0.97rem;
    line-height: 1.55;
    position: relative;
}

.cfp-eligibility-list li::before {
    content: counter(eligibility);
    position: absolute;
    left: 14px;
    top: 12px;
    width: 22px;
    height: 22px;
    background: #0F2A47;
    color: #e7d4a0;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cfp-eligibility-list li strong {
    color: #0F2A47;
}

/* Policy callout */

.cfp-policy-callout {
    display: flex;
    gap: 1rem;
    background: linear-gradient(135deg, #0F2A47 0%, #1e3a5f 100%);
    color: white;
    border-radius: 14px;
    padding: 1.5rem;
    margin: 1rem 0 1.5rem;
    align-items: flex-start;
    box-shadow: 0 10px 30px rgba(15, 42, 71, 0.18);
}

.cfp-policy-callout-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cfp-policy-callout h4 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.2rem;
    margin: 0 0 0.4rem 0;
    color: white;
}

.cfp-policy-callout p {
    margin: 0;
    color: #d4dbe3;
    line-height: 1.6;
    font-size: 0.97rem;
}

.cfp-policy-callout strong {
    color: #e7d4a0;
}

/* Policy list */

.cfp-policy-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cfp-policy-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fafaf5;
    border: 1px solid #e7d4a0;
    border-radius: 10px;
    padding: 14px 16px;
    color: #0f172a;
    font-size: 0.97rem;
    line-height: 1.6;
}

.cfp-policy-list li > i {
    flex-shrink: 0;
    margin-top: 3px;
}

.cfp-policy-list li strong {
    color: #0F2A47;
}

/* Steps */

.cfp-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.25rem 0 0.5rem;
    counter-reset: cfpstep;
}

.cfp-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 1px 4px rgba(15, 42, 71, 0.06);
    position: relative;
}

.cfp-step-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0F2A47 0%, #1e3a5f 100%);
    color: #e7d4a0;
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 42, 71, 0.25);
}

.cfp-step-body h4 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.15rem;
    margin: 0 0 0.4rem 0;
    color: #0F2A47;
}

.cfp-step-body p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.97rem;
}

/* Submit block */

.cfp-submit-block {
    background: linear-gradient(135deg, #fafaf5 0%, #f3f0e6 100%);
    border: 1px solid #0F2A47;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(15, 42, 71, 0.10);
}

.cfp-submit-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cfp-submit-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e7d4a0;
}

.cfp-submit-meta-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.92rem;
    color: #1f2937;
    line-height: 1.5;
}

.cfp-submit-meta-item i {
    margin-top: 2px;
    flex-shrink: 0;
}

.cfp-submit-meta-item strong {
    display: block;
    color: #0F2A47;
    margin-bottom: 2px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cfp-submit-meta-item a {
    color: #0F2A47;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted #C9A24A;
}

.cfp-submit-meta-item a:hover {
    text-decoration: underline;
}

/* Responsive */

@media (max-width: 900px) {
    .cfp-tracks-grid {
        grid-template-columns: 1fr;
    }

    .cfp-submit-meta {
        grid-template-columns: 1fr;
    }

    .cfp-hero {
        padding: 1.25rem 1.25rem;
    }

    .cfp-hero-title {
        font-size: 1.85rem;
    }
}

@media (max-width: 600px) {
    .cfp-hero-title {
        font-size: 1.55rem;
    }

    .cfp-hero-tagline {
        font-size: 0.95rem;
    }

    .cfp-policy-callout {
        flex-direction: column;
    }

    .cfp-step {
        flex-direction: column;
    }
}

/* === CFP page: layout repairs (ISSN pill, citation card, crossref banner) === */

/* (a) ISSN-pending pill — subtle amber tint to signal "not yet assigned" */
.cfp-meta-pill-pending {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #78350f;
}

.cfp-meta-pill-pending strong {
    color: #b45309;
}

.cfp-meta-pill-pending i {
    color: #b45309;
}

/* (b) Pending tag — inline badge used in the Series at a Glance list */
.cfp-pending-tag {
    display: inline-block;
    background: #fef3c7;
    color: #78350f;
    border: 1px solid #f59e0b;
    border-radius: 99px;
    padding: 1px 10px;
    font-size: 0.82rem;
    font-weight: 600;
    vertical-align: 1px;
    margin-left: 2px;
}

/* (b.2) Rolling-basis pill — teal tint to signal "open year-round" */
.cfp-meta-pill-rolling {
    background: #ecfeff;
    border-color: #0E7490;
    color: #0E7490;
}

.cfp-meta-pill-rolling strong {
    color: #0E7490;
}

.cfp-meta-pill-rolling i {
    color: #0E7490;
}

/* (b.3) Rolling Submission Window banner — full-width callout under hero */
.cfp-rolling-banner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
    border: 1px solid #0E7490;
    border-left: 4px solid #155e75;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin: 0 0 1.5rem;
    color: #155e75;
    font-size: 0.95rem;
    line-height: 1.55;
    box-shadow: 0 4px 14px rgba(14, 116, 144, 0.08);
}

.cfp-rolling-banner i[data-lucide] {
    color: #0E7490;
    flex-shrink: 0;
    margin-top: 2px;
}

.cfp-rolling-banner strong {
    color: #155e75;
    font-weight: 700;
}

/* (c) Citation generator parent card — was previously unstyled */
.citation-generator {
    background: var(--white, #ffffff);
    border: 1px solid var(--border-gray, #e5e7eb);
    border-radius: 12px;
    padding: 1.5rem 1.5rem 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.citation-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    color: var(--primary-dark, #0D3B66);
    font-weight: 700;
    margin: 0 0 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-gray, #e5e7eb);
}

.citation-title svg {
    color: var(--primary-green, #1E5A3C);
}

.citation-subtitle {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.55;
    margin: 0 0 0.85rem;
}

/* Citation copy button — used in CFP sidebar (different from the WP-001 btn-citation-copy) */
.citation-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--primary-green, #1E5A3C);
    color: #ffffff;
    border: 1px solid var(--primary-green, #1E5A3C);
    border-radius: 8px;
    padding: 0.5rem 0.9rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 38px;
}

.citation-copy:hover {
    background: #14472e;
    border-color: #14472e;
    transform: translateY(-1px);
}

/* Active tab override (CFP markup uses class="active" instead of WP-001 is-active) */
.citation-tab.active {
    background: #ffffff;
    color: var(--primary-green, #1E5A3C);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* (d) Crossref banner — the CFP sidebar uses the WP-001 .crossref-record-content
   wrapper class on the text column, so the existing styles apply directly. */
/* (e) Local palette overrides for citation + side cards on the CFP page.
   These re-skin the shared .citation-* components to match the editorial
   slate palette (navy + gold + ivory) used elsewhere on this page, while
   leaving the global .primary-dark / .primary-green brand colors intact
   for the rest of the site. */
.citation-generator .citation-title {
    color: #0F2A47;
    border-bottom-color: #e7d4a0;
}

.citation-generator .citation-title svg {
    color: #C9A24A;
}

.citation-generator .citation-copy {
    background: #0F2A47;
    border-color: #0F2A47;
    color: #fafaf5;
}

.citation-generator .citation-copy:hover {
    background: #1e3a5f;
    border-color: #1e3a5f;
}

.citation-generator .citation-tab.active {
    color: #0F2A47;
    border-bottom-color: #C9A24A;
}

.citation-generator .citation-tab {
    color: #475569;
}