/* ============================================
   Message Pages — Editorial Style
   (President, Secretary, Principal, About)
   ============================================ */

.message-page {
    padding: 80px 0 100px;
}

/* Two-column layout: text left, portrait right */
.message-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---- Heading ---- */
.message-heading {
    margin-bottom: 40px;
}

.message-page-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 52px;
    font-weight: 700;
    color: #1e3a8a;
    line-height: 1.15;
    margin-bottom: 12px;
    font-style: italic;
}

.message-title-bar {
    width: 200px;
    height: 4px;
    background: #8b1a2b;
    border-radius: 2px;
}

/* ---- Greeting ---- */
.message-greeting {
    margin-bottom: 30px;
}

.message-greeting p {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 21px;
    font-weight: 600;
    color: #1e3a8a;
    font-style: italic;
}

/* ---- Body Text ---- */
.message-body {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    margin-bottom: 40px;
}

.message-body p {
    font-size: 19px;
    line-height: 1.85;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
}

/* Drop cap on first paragraph */
.message-body p:first-child::first-letter {
    font-size: 72px;
    font-weight: 700;
    color: #1e3a8a;
    float: left;
    line-height: 0.85;
    margin-right: 10px;
    margin-top: 6px;
    font-style: normal;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Highlighted / focus paragraphs */
.message-body .focus-text {
    position: relative;
    font-size: 21px;
    line-height: 1.8;
    color: #1e3a8a;
    font-weight: 600;
    padding: 24px 0 24px 28px;
    margin: 30px 0;
    border-left: 4px solid #8b1a2b;
}

/* Bold emphasis within body */
.message-body strong,
.message-body b {
    color: #1e3a8a;
    font-weight: 700;
    font-style: italic;
}

/* ---- Signature ---- */
.message-signature {
    border-top: 2px solid #e0e0e0;
    padding-top: 28px;
    text-align: right;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.signature-text {
    font-size: 19px;
    color: #666;
    font-style: italic;
    margin-bottom: 12px;
}

.signature-name {
    font-size: 25px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 4px;
    font-style: normal;
}

.signature-title {
    font-size: 17px;
    color: #8b1a2b;
    font-weight: 600;
    font-style: italic;
}

/* ---- Portrait Column ---- */
.message-portrait-column {
    position: sticky;
    top: 120px;
    display: flex;
    justify-content: center;
}

.message-portrait-wrapper {
    position: relative;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Decorative SVG arcs */
.message-decorative-arcs {
    position: absolute;
    top: -30px;
    left: -40px;
    width: 400px;
    height: 450px;
    pointer-events: none;
    z-index: 0;
}

/* Circular portrait */
.message-portrait-circle {
    position: relative;
    z-index: 1;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 5px solid #fff;
    flex-shrink: 0;
}

.message-portrait-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Caption below portrait */
.message-portrait-caption {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.caption-designation {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 16px;
    color: #8b1a2b;
    font-style: italic;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.caption-person-name {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 19px;
    font-weight: 700;
    color: #222;
}

.caption-org {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 15px;
    color: #666;
    font-style: italic;
    max-width: 240px;
}

/* ============================================
   About / Info Page — Editorial Text Block
   ============================================ */

.editorial-content {
    padding: 80px 0 100px;
}

.editorial-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.editorial-heading {
    margin-bottom: 40px;
    text-align: center;
}

.editorial-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 47px;
    font-weight: 700;
    color: #1e3a8a;
    line-height: 1.2;
    margin-bottom: 14px;
    font-style: italic;
}

.editorial-title-bar {
    width: 200px;
    height: 4px;
    background: #8b1a2b;
    border-radius: 2px;
    margin: 0 auto;
}

.editorial-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.editorial-logo-wrapper img {
    height: 280px;
}

.editorial-body {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
}

.editorial-body p {
    font-size: 19px;
    line-height: 1.85;
    color: #333;
    margin-bottom: 22px;
    text-align: justify;
}

.editorial-body p:first-child::first-letter {
    font-size: 72px;
    font-weight: 700;
    color: #1e3a8a;
    float: left;
    line-height: 0.85;
    margin-right: 10px;
    margin-top: 6px;
    font-style: normal;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.editorial-body strong,
.editorial-body b {
    color: #1e3a8a;
    font-weight: 700;
    font-style: italic;
}

/* Pull quote style for key passages */
.editorial-body .pull-quote {
    position: relative;
    font-size: 22px;
    line-height: 1.75;
    color: #1e3a8a;
    font-weight: 600;
    padding: 28px 0 28px 28px;
    margin: 32px 0;
    border-left: 4px solid #8b1a2b;
}

/* Numbered list (roman-numeral feel) */
.editorial-numbered-list {
    list-style: none;
    counter-reset: editorial-counter;
    padding: 0;
    margin: 36px 0;
}

.editorial-numbered-list li {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    font-size: 19px;
    line-height: 1.85;
    color: #333;
    margin-bottom: 24px;
    padding-left: 48px;
    position: relative;
    text-align: justify;
    counter-increment: editorial-counter;
}

.editorial-numbered-list li::before {
    content: counter(editorial-counter, lower-roman) ")";
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
    font-size: 19px;
    color: #8b1a2b;
    font-style: normal;
    width: 40px;
}

.editorial-numbered-list li b,
.editorial-numbered-list li strong {
    color: #1e3a8a;
    font-weight: 700;
    font-style: italic;
}

/* ============================================
   Editorial Table
   ============================================ */

.editorial-table-container {
    margin: 0;
    overflow-x: auto;
}

.editorial-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: 'Georgia', 'Times New Roman', serif;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.editorial-table thead th {
    background: #1e3a8a;
    color: #fff;
    padding: 16px 22px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-style: normal;
    text-align: left;
    border: none;
}

.editorial-table thead th:first-child {
    text-align: center;
    width: 70px;
}

.editorial-table tbody tr {
    transition: background-color 0.2s ease;
}

.editorial-table tbody tr:nth-child(even) {
    background: #f4f6fb;
}

.editorial-table tbody tr:nth-child(odd) {
    background: #fff;
}

.editorial-table tbody tr:hover {
    background: #e8ecf6;
}

.editorial-table tbody td {
    padding: 15px 22px;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    border-bottom: 1px solid #e5e8f0;
    font-style: italic;
    vertical-align: middle;
}

.editorial-table tbody td:first-child {
    text-align: center;
    font-weight: 700;
    color: #8b1a2b;
    font-style: normal;
    width: 70px;
}

/* Highlight Chairperson / Secretary rows */
.editorial-table tbody tr.row-highlight td {
    background: #fef7f0;
    font-weight: 600;
    color: #1e3a8a;
}

.editorial-table tbody tr.row-highlight td:first-child {
    color: #8b1a2b;
}

/* Designation column styling */
.editorial-table tbody td:last-child {
    font-weight: 600;
    color: #555;
    font-style: normal;
}

.editorial-table tbody td strong,
.editorial-table tbody td b {
    color: #1e3a8a;
    font-style: normal;
}

/* College name sub-header above table */
.editorial-college-name {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    color: #1e3a8a;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .message-layout {
        grid-template-columns: 1fr 280px;
        gap: 40px;
    }

    .message-page-title {
        font-size: 43px;
    }

    .message-portrait-circle {
        width: 220px;
        height: 220px;
    }

    .message-portrait-wrapper {
        width: 280px;
    }

    .message-decorative-arcs {
        width: 340px;
        height: 400px;
        left: -30px;
        top: -20px;
    }

    .editorial-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .message-page {
        padding: 50px 0 70px;
    }

    .message-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .message-portrait-column {
        order: -1;
        position: static;
    }

    .message-portrait-wrapper {
        width: 260px;
        margin: 0 auto;
    }

    .message-portrait-circle {
        width: 200px;
        height: 200px;
    }

    .message-decorative-arcs {
        width: 300px;
        height: 350px;
        left: -20px;
        top: -15px;
    }

    .message-page-title {
        font-size: 36px;
        text-align: center;
    }

    .message-title-bar {
        margin: 0 auto;
        width: 150px;
    }

    .message-heading {
        text-align: center;
    }

    .message-body p {
        font-size: 18px;
    }

    .message-body .focus-text {
        font-size: 19px;
    }

    .message-body p:first-child::first-letter {
        font-size: 58px;
    }

    .message-signature {
        text-align: center;
    }

    /* Editorial about */
    .editorial-content {
        padding: 50px 0 70px;
    }

    .editorial-title {
        font-size: 34px;
    }

    .editorial-body p {
        font-size: 18px;
    }

    .editorial-body p:first-child::first-letter {
        font-size: 58px;
    }

    .editorial-logo-wrapper img {
        height: 200px;
    }

    .editorial-numbered-list li {
        font-size: 18px;
        padding-left: 42px;
    }

    .editorial-numbered-list li::before {
        font-size: 18px;
    }

    .editorial-table-container {
        overflow-x: auto;
    }

    .editorial-table thead th {
        padding: 14px 16px;
        font-size: 15px;
    }

    .editorial-table tbody td {
        padding: 13px 16px;
        font-size: 17px;
    }

    .editorial-college-name {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .message-page {
        padding: 30px 0 50px;
    }

    .message-page-title {
        font-size: 32px;
    }

    .message-portrait-circle {
        width: 170px;
        height: 170px;
    }

    .message-portrait-wrapper {
        width: 220px;
    }

    .message-decorative-arcs {
        width: 260px;
        height: 310px;
        left: -20px;
        top: -15px;
    }

    .message-body p {
        font-size: 17px;
        line-height: 1.75;
        text-align: left;
    }

    .message-body p:first-child::first-letter {
        font-size: 50px;
    }

    .message-greeting p {
        font-size: 19px;
    }

    .signature-name {
        font-size: 22px;
    }

    /* Editorial about */
    .editorial-content {
        padding: 30px 0 50px;
    }

    .editorial-title {
        font-size: 29px;
    }

    .editorial-body p {
        font-size: 17px;
        line-height: 1.75;
        text-align: left;
    }

    .editorial-body p:first-child::first-letter {
        font-size: 50px;
    }

    .editorial-logo-wrapper img {
        height: 160px;
    }

    .editorial-numbered-list li {
        font-size: 17px;
        line-height: 1.75;
        text-align: left;
        padding-left: 38px;
    }

    .editorial-numbered-list li::before {
        font-size: 17px;
    }

    .editorial-table {
        min-width: 500px;
    }

    .editorial-table thead th {
        padding: 12px 14px;
        font-size: 14px;
    }

    .editorial-table tbody td {
        padding: 12px 14px;
        font-size: 16px;
    }

    .editorial-college-name {
        font-size: 15px;
    }
}

/* ============================================
   Statutory Committees — Sidebar Layout
   ============================================ */

.committees-page {
    padding: 60px 0 100px;
}

.committees-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar */
.committees-sidebar {
    position: sticky;
    top: 20px;
    background: #f8f9fc;
    border: 1px solid #e5e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.committees-nav {
    padding: 8px 0;
}

.committees-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.committees-menu li {
    border-bottom: 1px solid #eef0f5;
}

.committees-menu li:last-child {
    border-bottom: none;
}

.committees-menu-link {
    display: block;
    padding: 13px 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #444;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.committees-menu-link:hover {
    background: #eef1fa;
    color: #1e3a8a;
    border-left-color: #1e3a8a;
    padding-left: 24px;
}

.committees-menu-link.active {
    background: #1e3a8a;
    color: #fff;
    border-left-color: #8b1a2b;
}

.committees-menu-link.active:hover {
    background: #1e3a8a;
    color: #fff;
}

/* Content Area */
.committees-content {
    min-height: 400px;
}

.committee-panel {
    display: none;
    animation: committeeFadeIn 0.35s ease-out;
}

.committee-panel.active {
    display: block;
}

@keyframes committeeFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.committee-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 38px;
    font-weight: 700;
    color: #1e3a8a;
    line-height: 1.2;
    margin-bottom: 8px;
    font-style: italic;
}

/* Mobile: sidebar becomes horizontal scroll or stacked */
@media (max-width: 992px) {
    .committees-layout {
        grid-template-columns: 240px 1fr;
        gap: 24px;
    }

    .committee-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .committees-page {
        padding: 40px 0 60px;
    }

    .committees-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .committees-sidebar {
        position: static;
        max-height: 260px;
        overflow-y: auto;
    }

    .committee-title {
        font-size: 29px;
    }
}

@media (max-width: 480px) {
    .committees-page {
        padding: 24px 0 40px;
    }

    .committee-title {
        font-size: 25px;
    }

    .committees-menu-link {
        padding: 11px 16px;
        font-size: 15px;
    }
}