/* ==========================================================================
   IAWS - Main styles for the new layout work
   Plain CSS only. Screen-size (responsive) rules are in responsive.css.
   Loaded from header.php, after the old styles.

   Contents
   1. Header / top menu
   2. Homepage
   3. 18th National Conference page (upcoming-national-conferences.php)
   4. (Regional conference pages now use section 10, document cards)
   5. Seminars / Workshops / Panel Discussions page
   6. (EC Members from 1981 onwards now uses section 8)
   7. Footer (footer.php, all pages)
   8. EC Members pages (ec-member24-27.php, ec-member.php)
   9. Publications page (publications.php)
   10. Document card pages (tribute.php, archives.php,
       northern-regional-doc-project-reports.php, preet-rustagi-research.php,
       the 6 regional conference pages)
   11. Page title banner (page-banner.php, all inner pages)
   12. Text + image pages (evolution.php, election.php)
   13. FCRA Receipts page (frca-receipts.php)
   14. Common accordion (newsletters.php, publications.php, milestone.php)
   15. Past National Conferences (past-national-conferences/ folder)
   16. Membership form page (membership-form.php)
   17. Contact Us page (contact-us.php)
   ========================================================================== */


/* ==========================================================================
   0. Common
   The old site CSS makes .container a flex row, which puts headings beside
   the content. The new sections need a normal (stacked) container.
   ========================================================================== */
.home-hero > .container,
.home-conference > .container,
.home-membership > .container,
.nc18-page > .container,
.seminars-page > .container,
.publications-page > .container,
.doc-page > .container,
.page-banner > .container,
.info-page > .container,
.fcra-page > .container,
.newsletters-page > .container,
.milestone-page > .container {
    display: block;
}


/* ==========================================================================
   1. Header / top menu
   ========================================================================== */

/* Keeps the header menus above the homepage slider arrows/dots (z-index 2),
   but below Bootstrap popups */
.Header_header__2Af6Y {
    z-index: 10 !important;
    padding: 15px 0;
} 

/* Even spacing between top menu tabs: the menu takes the full width beside
   the logo and the tabs are spread with equal gaps between them */
.Header_largeScreen__BoHKS nav {
    flex: 1;
    margin-left: 100px; 
}

.Header_largeScreen__BoHKS .navigation_navigation__1jT5w,
.Header_largeScreen__BoHKS .navigation_navigation__1jT5w > ul {
    width: 100%;
}

.Header_largeScreen__BoHKS .navigation_navigation__1jT5w > ul {
    justify-content: space-between;
}

#__next .Header_largeScreen__BoHKS .navigation_navigation__1jT5w > ul > li > a {
    padding: 18px 0 !important;
    white-space: nowrap;
}

/* ---------- Desktop dropdown menus ----------
   One size for every item, a light grey line between items.
   Selectors start with #__next .Header_largeScreen__BoHKS so they win over
   the old site CSS and the old rules inside header.php. */
#__next .Header_largeScreen__BoHKS .navigation_navigation__1jT5w ul li > ul {
    top: 100%;
    width: 260px;
    padding: 0;
    border-top: 3px solid #fdbba1;
    border-radius: 0 0 8px 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* the old CSS draws the peach top line with :after; the border above replaces it */
#__next .Header_largeScreen__BoHKS .navigation_navigation__1jT5w ul li > ul:after {
    display: none;
}

#__next .Header_largeScreen__BoHKS .navigation_navigation__1jT5w ul li > ul li {
    border-bottom: 1px solid #e9e9e9;
}

#__next .Header_largeScreen__BoHKS .navigation_navigation__1jT5w ul li > ul li:last-child {
    border-bottom: 0;
}

#__next .Header_largeScreen__BoHKS .navigation_navigation__1jT5w ul li > ul li a {
    padding: 10px 16px !important;
    color: #222;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1.4 !important;
    white-space: normal;
}

#__next .Header_largeScreen__BoHKS .navigation_navigation__1jT5w ul li > ul li:hover {
    background: #fde1e0;
}

#__next .Header_largeScreen__BoHKS .navigation_navigation__1jT5w ul li > ul li:hover > a {
    color: #4e2463;
}

/* third level (e.g. Activities > Regional Conferences > Northern) opens to the side */
#__next .Header_largeScreen__BoHKS .navigation_navigation__1jT5w ul li > ul li > ul {
    top: -3px;
    left: 100%;
}

/* Past National Conferences dropdown: long list, so it scrolls */
#__next .Header_largeScreen__BoHKS .navigation_navigation__1jT5w ul li > ul.nc-dropdown {
    width: 270px;
    max-height: 70vh;
    overflow-y: auto;
}


/* ==========================================================================
   2. Homepage
   ========================================================================== */

/* ---------- Photo slider + Notice board ---------- */
.home-hero {
    padding: 30px 0;
    background: #d7edf1;
}

.home-slider .carousel-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 5px;
}

/* slides that must show the whole picture (e.g. the square Jharkhand collage) */
.home-slider .carousel-item img.slide-contain {
    object-fit: contain;
    background: #d7edf1;
}

.notice-board {
    background: #fff;
    border-radius: 5px;
    height: 420px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.notice-board h2 {
    background: #48727a;
    color: #fff;
    font-size: 20px !important;
    margin: 0 !important;
    padding: 12px 20px;
    line-height: 30px;
}

.notice-board marquee {
    flex: 1;
    padding: 0 20px;
}

.notice-board ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-board ul li {
    color: #222;
    border-bottom: 1px solid #48727a33;
    padding: 12px 0 12px 22px;
    font-size: 15px;
    text-align: justify;
    position: relative;
}

.notice-board ul li:before {
    content: "";
    position: absolute;
    left: 4px;
    top: 19px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fdbba1;
}

.notice-board ul li a {
    color: #4e2463;
    font-weight: 700;
    text-decoration: none;
}

/* ---------- 18th National Conference: coloured text box ----------
   Box sits inside the container (not full width).
   Title + dates on the left, conference text + Read More on the right.
   Stacks one below the other under 992px (see responsive.css). */
.home-conference {
    padding: 70px 0;
}

.home-conference-box {
    padding: 50px;
    background: #4e2463;
    color: #fff;
}

.home-conference-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 14px;
    border: 1px solid #fde1e0;
    border-radius: 30px;
    color: #fde1e0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* !important: the old site CSS sets h2 margin and capitalises headings */
.home-conference h2 {
    color: #fff;
    font-size: 36px !important;
    font-weight: 700;
    line-height: 1.3 !important;
    text-transform: none !important;
    margin: 0 0 20px !important;
}

.home-conference h2 sup {
    font-size: 0.5em;
    line-height: 0;
    vertical-align: super;
}

.home-conference-meta {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-conference-meta li {
    padding: 4px 0;
    color: #fde1e0;
    font-size: 16px;
    font-weight: 500;
}

.home-conference-text {
    padding-left: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.home-conference-text p {
    margin-bottom: 30px;
    color: #fff;
    font-size: 17px;
    line-height: 1.8;
    text-align: justify;
}

/* same shape as the site's existing "Read more" buttons, light colours on the dark box */
.home-conference .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 30px;
    background: #fde1e0;
    color: #4e2463;
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
}

.home-conference .button:hover,
.home-conference .button:focus-visible {
    background: #507c85;
    color: #fff;
}

/* ---------- Membership: photo banner with a dark overlay ---------- */
.home-membership {
    position: relative;
    padding: 100px 0;
    text-align: center;
    /* Photo-1 from the client (10-11-2026). Old photo: ../conference-gallery/22.JPG */
    background: url("../images/updates-2026/membership-photo-1.jpeg") center 35% / cover no-repeat;
}

.home-membership:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.home-membership > .container {
    position: relative;
}

/* !important: the old site CSS sets h2 margin and capitalises headings */
.home-membership h2 {
    color: #fff;
    font-size: 56px !important;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none !important;
    margin: 0 0 50px !important;
}

.home-membership .membership-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.home-membership .button {
    display: inline-block;
    padding: 12px 22px;
    background: #4e2463;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    border-radius: 30px;
    text-decoration: none;
}

.home-membership .button:hover {
    background: #507c85;
}

/* ---------- About IAWS / Archives / Activities: 3 full-width cards ----------
   Photo on one side (left / right / left), coloured text box on the other.
   Colour themes: .home-card-teal, .home-card-pink, .home-card-purple */
.home-cards {
    padding: 60px 0;
}

.home-cards > .container {
    display: block;
}

.home-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* gap between the cards */
.home-card + .home-card {
    margin-top: 40px;
}

/* photo fills the full height of the card */
.home-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

/* text box: content centred vertically */
.home-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 45px;
}

/* !important: the old site CSS sets heading sizes and margins */
.home-card h2 {
    font-size: 26px !important;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 10px !important;
}

.home-card h2:after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    margin-top: 10px;
    background: #fdbba1;
}

.home-card h3 {
    font-size: 18px !important;
    font-weight: 600;
    margin: 0 0 15px !important;
}

.home-card p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
}

.home-card .button {
    display: inline-flex;
    align-items: center;
    height: 46px;
    padding: 0 26px;
    margin-top: 5px;
    font-weight: 900;
    font-size: 15px;
    text-transform: uppercase;
    text-decoration: none;
}

/* Teal: About IAWS */
.home-card-teal .home-card-body {
    background: #507c85;
}

.home-card-teal h2,
.home-card-teal p {
    color: #fff;
}

.home-card-teal .button {
    background: #4e2463;
    color: #fff;
}

/* Pink: Archives */
.home-card-pink .home-card-body {
    background: #fde1e0;
}

.home-card-pink h2 {
    color: #4e2463;
}

.home-card-pink h3,
.home-card-pink p {
    color: #222;
}

.home-card-pink h2:after {
    background: #507c85;
}

/* Purple: Activities */
.home-card-purple .home-card-body {
    background: #4e2463;
}

.home-card-purple h2,
.home-card-purple h3,
.home-card-purple p {
    color: #fff;
}

.home-card-purple .button {
    background: #fff;
    color: #4e2463;
}


/* ==========================================================================
   7. Footer (footer.php, all pages)
   ========================================================================== */
/* Same colours as the header */
.site-footer {
    background: #507c85;
    color: #fff;
}

.site-footer > .container {
    display: block;
    padding-top: 50px;
    padding-bottom: 40px;
}

.site-footer h3 {
    color: #fff;
    font-size: 18px !important;
    font-weight: 700;
    margin: 0 0 20px !important;
}

.site-footer h3:after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    margin-top: 10px;
    background: #fdbba1;
}

.site-footer p {
    color: #fff;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.site-footer-about img {
    margin-bottom: 20px;
}

.site-footer-about p {
    max-width: 380px;
}

.site-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer-links li {
    margin-bottom: 10px;
}

.site-footer-links a,
.site-footer-contact a {
    color: #fff;
    text-decoration: none;
}

.site-footer-links a:before {
    content: "\203A";
    margin-right: 8px;
    color: #fdbba1;
    font-weight: 700;
}

.site-footer-links a:hover,
.site-footer-contact a:hover {
    color: #fdbba1;
}

/* Copyright strip: same dark shade as the header's top bar */
.site-footer-bottom {
    background: #48727a;
    padding: 15px 0;
    text-align: center;
}

.site-footer-bottom > .container {
    display: block;
}

.site-footer-bottom p {
    font-size: 14px;
}


/* ==========================================================================
   8. EC Members pages (ec-member24-27.php, ec-member.php)
   Cards: ec-team-cards.php. Portrait photo cards, name/role/email on a dark
   gradient at the bottom.
   ========================================================================== */
.ec-team {
    padding: 50px 0 70px;
    background: #eef5f6;
}

.ec-team > .container {
    display: block;
}

/* the old site CSS adds top/bottom padding to the Bootstrap columns */
.ec-team .row > * {
    padding-top: 0;
    padding-bottom: 0;
}

.ec-team-card {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    overflow: hidden;
    background: #d7edf1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ec-team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(72, 114, 122, 0.35);
}

.ec-team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* site teal (#48727a) gradient over the lower part of the photo */
.ec-team-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 50px 12px 18px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(72, 114, 122, 0) 0%, rgba(72, 114, 122, 0.85) 40%, #48727a 100%);
}

/* !important: the old site CSS sets heading sizes and margins */
/* color for names without a bio-note link (plain text) */
.ec-team-info h2 {
    color: #fff;
    font-size: 19px !important;
    font-weight: 700;
    line-height: 22px !important;
    margin: 0 0 4px !important;
}

.ec-team-info h2 a {
    color: #fff;
    text-decoration: none;
}

.ec-team-info h2 a:hover {
    color: #fdbba1;
}

.ec-team-info .ec-team-role {
    color: #fdbba1;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px !important;
    margin: 0 0 4px;
}

.ec-team-info .ec-team-email {
    display: block;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    overflow-wrap: anywhere;
    opacity: 0.9;
}

.ec-team-info .ec-team-email:hover {
    color: #fdbba1;
}

/* section headings on ec-member.php ("EC Members 2021-24", "EC Members 1981-2020") */
.ec-team .ec-team-subheading {
    margin: 0 0 30px !important;
    color: #4e2463;
    font-size: 26px !important;
    font-weight: 700;
    text-align: center;
    text-transform: none !important;
}

.ec-team .row + .ec-team-subheading {
    margin-top: 60px !important;
}

.ec-team .ec-team-older {
    text-align: center;
}

.ec-team .ec-team-older a {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 65px;
    background: #507c85;
    color: #fff;
    text-decoration: none;
}

.ec-team .ec-team-older a:hover,
.ec-team .ec-team-older a:focus-visible {
    background: #4e2463;
}


/* ==========================================================================
   3. 18th National Conference page (upcoming-national-conferences.php)
   ========================================================================== */
/* top spacing comes from the page title banner */
.nc18-page {
    padding: 0 0 50px;
}

.nc18-poster img {
    width: 100%;
    border-radius: 10px;
}

.nc18-box {
    background: #fde1e0;
    padding: 20px 25px;
    margin-bottom: 25px;
    border-radius: 5px;
}

.nc18-box h2 {
    font-size: 20px !important;
    font-weight: 700;
    margin-bottom: 10px !important;
}

.nc18-box ul {
    padding-left: 20px;
    margin: 0;
}

.nc18-box ul li {
    color: #222;
    border-bottom: 1px solid #e18b8852;
    padding: 10px 0;
}

.nc18-box ul li:last-child {
    border-bottom: 0;
}

.nc18-box ul li a {
    color: #0d6efd;
    text-decoration: none;
}

.nc18-doc {
    border: 1px solid #80808024;
    border-radius: 5px;
    padding: 10px;
    height: 100%;
    text-align: center;
}

.nc18-doc img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.nc18-doc h3 {
    font-size: 16px !important;
    font-weight: 700;
}

.nc18-doc a.nc18-btn {
    display: inline-block;
    background-color: #507c85;
    color: #fff;
    padding: 8px 25px;
    border-radius: 65px;
    font-size: 13px;
    text-decoration: none;
}

.nc18-qrcode img {
    max-width: 300px;
    width: 100%;
}

/* Theme & sub-themes link below the main poster */
.nc18-theme-link {
    text-align: center;
    margin-top: 20px;
}

.nc18-theme-link h3 {
    font-size: 16px !important;
    font-weight: 700;
    margin-bottom: 10px;
}

.nc18-theme-link a.nc18-btn {
    display: inline-block;
    background-color: #507c85;
    color: #fff;
    padding: 8px 25px;
    border-radius: 65px;
    font-size: 13px;
    text-decoration: none;
}

/* UPI scan code below the Registration & Submissions box */
.nc18-qrcode {
    margin-bottom: 25px;
}

.nc18-qrcode p {
    font-weight: 700;
    color: #4e2463;
    margin-bottom: 10px;
}


/* ==========================================================================
   5. Seminars / Workshops / Panel Discussions page
   Wrapper class: .seminars-page
   3 cards per row on desktop, 2 on tablet, 1 on phone (see responsive.css).
   Same spacing as the document card pages: the banner gives the top space,
   70px below. grid-auto-rows: 1fr keeps every card the same height.
   ========================================================================== */
.seminars-page {
    padding: 0 0 70px;
}

.seminars-page .seminar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 24px;
}

.seminar-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    height: 100%;
    padding: 20px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
}

/* Poster picture at the top of the card (or the placeholder). Same size on
   every card; shows the top part of the poster. */
.seminar-card .seminar-image {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #d7edf1;
}

.seminar-card .seminar-image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.seminar-card a.seminar-image:hover img {
    transform: scale(1.04);
}

/* title takes the free space so the buttons line up at the bottom */
.seminar-card h6 {
    flex-grow: 1;
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

.seminar-card .seminar-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.seminar-card .seminar-links a {
    background: #507c85;
    color: #fff;
    padding: 8px 18px;
    border-radius: 65px;
    font-size: 13px;
    text-decoration: none;
}

.seminar-card .seminar-links a:hover {
    background: #4e2463;
}


/* ==========================================================================
   9. Publications page (publications.php)
   Wrapper class: .publications-page
   Same accordion (dropdown) layout as the Newsletters page.
   ========================================================================== */
.publications-page .pub-intro {
    margin-bottom: 30px;
}

.publications-page .pub-intro p {
    text-align: justify;
}

.publications-page .pub-item {
    padding: 15px 0;
    border-bottom: 1px solid #80808024;
}

.publications-page .pub-item:last-child {
    border-bottom: 0;
}

/* !important: the old site CSS sets a larger h5 size */
.publications-page .pub-item h5 {
    font-weight: 700;
    font-size: 17px !important;
    color: #4e2463;
    margin-bottom: 8px;
}

.publications-page .pub-item h5 a {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    color: #4e2463;
    text-decoration: none;
}

.publications-page .pub-item h5 a:hover {
    text-decoration: underline;
}

.publications-page .pub-item h5 img {
    width: 26px;
    flex-shrink: 0;
}

.publications-page .pub-item p {
    margin-bottom: 6px;
    text-align: justify;
}

.publications-page .pub-item .pub-by {
    font-weight: 700;
}


/* ==========================================================================
   10. Document card pages (tribute.php, archives.php,
       northern-regional-doc-project-reports.php)
   Page wrapper: .doc-page    Cards: doc-cards.php (.doc-grid / .doc-card)
   3 cards per row on desktop, 2 on tablet, 1 on phone (see responsive.css).
   grid-auto-rows: 1fr gives every card on the page the height of the
   tallest card. The whole card is one link that opens the PDF.
   ========================================================================== */
/* top spacing comes from the page title banner */
.doc-page {
    padding: 0 0 70px;
}

/* !important: the old site CSS sets h3 margins and capitalises headings */
.doc-page .doc-page-subheading {
    margin: 0 0 20px !important;
    font-weight: 700;
    font-size: 22px !important;
    text-transform: none !important;
}

/* intro box (used on the NR Doc Project Reports page) */
.doc-page .doc-page-intro {
    margin-bottom: 40px;
    padding: 25px 30px;
    background: #fde1e0;
    border-radius: 12px;
}

.doc-page .doc-page-intro h3 {
    margin: 0 0 5px !important;
    font-weight: 700;
    font-size: 20px !important;
    text-transform: none !important;
}

.doc-page .doc-page-intro .doc-page-date {
    margin-bottom: 15px;
    color: #4e2463;
    font-weight: 700;
}

.doc-page .doc-page-intro ul {
    margin: 0;
    padding-left: 20px;
}

.doc-page .doc-page-intro li {
    padding: 6px 0;
    border-bottom: 1px solid #e18b8852;
}

.doc-page .doc-page-intro li:last-child {
    border-bottom: 0;
}

.doc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 24px;
}

.doc-grid .doc-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    padding: 20px;
    background: #fde1e0;
    border: 1px solid #f6c9c7;
    border-radius: 12px;
    color: #222;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

/* hover: a slightly darker shade of the card pink */
.doc-grid .doc-card:hover,
.doc-grid .doc-card:focus-visible {
    background: #fbd0ce;
    color: #222;
}

.doc-grid .doc-card:focus-visible {
    outline: 2px solid #4e2463;
    outline-offset: 2px;
}

.doc-grid .doc-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doc-grid .doc-card-icon {
    width: 24px;
    height: 24px;
    color: #e5484d;
}

.doc-grid .doc-card-arrow {
    width: 16px;
    height: 16px;
    color: #777;
}

.doc-grid .doc-card-title {
    flex-grow: 1;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.doc-grid .doc-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
}

.doc-grid .doc-card-link svg {
    width: 14px;
    height: 14px;
}

/* optional small line under the title (e.g. year, place on the conference list) */
.doc-grid .doc-card-meta {
    display: block;
    margin-top: 6px;
    color: #4e2463;
    font-size: 14px;
    font-weight: 600;
}


/* ==========================================================================
   11. Page title banner (page-banner.php, all inner pages)
   Light blue band with the page title, directly below the header.
   ========================================================================== */
.page-banner {
    margin-bottom: 50px;
    padding: 70px 0;
    background: #d7edf1;
    text-align: center;
}

/* !important: the old site CSS sets h1 size/margin and capitalises headings */
.page-banner h1 {
    margin: 0 !important;
    color: #222;
    font-size: 40px !important;
    font-weight: 700;
    line-height: 1.25 !important;
    text-transform: none !important;
}

.page-banner h1 sup {
    font-size: 0.5em;
    line-height: 0;
    vertical-align: super;
}

/* EC Members pages have their own coloured section right below the banner */
.page-banner:has(+ .ec-team) {
    margin-bottom: 0;
}

/* Pre-Conference page: its old inline CSS adds a 100px top margin;
   the banner already gives the top spacing */
.page-banner ~ .pre-conference {
    margin-top: 0;
}

.page-banner .page-banner-subtitle {
    margin: 12px 0 0;
    color: #4e2463;
    font-size: 18px;
    font-weight: 700;
}

.navigation_navigation__1jT5w{align-items: flex-start;}

/* ==========================================================================
   12. Text + image pages (evolution.php, election.php)
   Wrapper class: .info-page
   Desktop: first paragraph 7 columns + image 5 columns, the rest of the
   text full width below (Bootstrap grid). Under 992px everything is full
   width with the image on top.
   ========================================================================== */
.info-page {
    padding: 0 0 70px;
}

.info-page .info-image img {
    display: block;
    width: 100%;
    border-radius: 12px;
}

/* !important: the old site CSS sets h2/h3 margins and capitalises headings */
.info-page .info-text h2 {
    margin: 0 0 20px !important;
    color: #4e2463;
    font-size: 28px !important;
    font-weight: 700;
    text-transform: none !important;
}

.info-page .info-text h3 {
    margin: 30px 0 12px !important;
    color: #4e2463;
    font-size: 20px !important;
    font-weight: 700;
    text-transform: none !important;
}

.info-page .info-text p {
    margin-bottom: 18px;
    color: #222;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

.info-page .info-text p:last-child {
    margin-bottom: 0;
}

/* highlighted line below the heading (e.g. the webinar theme) */
.info-page .info-text .info-lead {
    color: #4e2463;
    font-size: 18px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.6;
    text-align: left;
}

.info-page .info-text ol,
.info-page .info-text ul {
    margin: 0 0 18px;
    padding-left: 22px;
}

.info-page .info-text li {
    padding: 4px 0;
    color: #222;
    font-size: 16px;
    line-height: 1.7;
}

/* button below the text (e.g. "Election bye-laws") */
.info-page .info-button {
    display: inline-block;
    margin-top: 5px;
    padding: 12px 28px;
    border-radius: 65px;
    background: #507c85;
    color: #fff;
    text-decoration: none;
}

.info-page .info-button:hover,
.info-page .info-button:focus-visible {
    background: #4e2463;
    color: #fff;
}

/* full-width section below the text + image row (e.g. "Please find below:") */
.info-page .info-section {
    margin-top: 50px;
}

.info-page .info-section h3 {
    margin: 0 0 20px !important;
}

/* text that continues right below the image + text row (About Us) */
.info-page .info-section-tight {
    margin-top: 30px;
}

/* image that fills the full height of the text next to it (About Us),
   so a short image does not leave empty space; cropped with object-fit */
.info-page .info-image-fill {
    height: 100%;
}

.info-page .info-image-fill img {
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

/* ==========================================================================
   13. FCRA Receipts page (frca-receipts.php)
   Wrapper class: .fcra-page
   Details box (3 items in a row) + receipts table.
   On small phones each table row becomes a small card (see responsive.css).
   ========================================================================== */
.fcra-page {
    padding: 0 0 70px;
}

.fcra-page .fcra-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 50px;
    padding: 25px 30px;
    background: #fde1e0;
    border-radius: 12px;
}

/* !important: the old site CSS sets h2/h3 margins and capitalises headings */
.fcra-page .fcra-detail h3 {
    margin: 0 0 6px !important;
    color: #4e2463;
    font-size: 14px !important;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase !important;
}

.fcra-page .fcra-detail p {
    margin: 0;
    color: #222;
    font-size: 16px;
    line-height: 1.6;
}

.fcra-page .fcra-heading {
    margin: 0 0 20px !important;
    color: #4e2463;
    font-size: 24px !important;
    font-weight: 700;
    text-transform: none !important;
}

.fcra-page .fcra-table-wrap {
    overflow-x: auto;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
}

.fcra-page .fcra-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 15px;
}

.fcra-page .fcra-table th {
    padding: 14px 18px;
    background: #507c85;
    color: #fff;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

.fcra-page .fcra-table td {
    padding: 13px 18px;
    border-top: 1px solid #e9e9e9;
    color: #222;
}

.fcra-page .fcra-table tbody tr:nth-child(even) {
    background: #f7f9fa;
}

.fcra-page .fcra-table tbody tr:hover {
    background: #eef5f6;
}

.fcra-page .fcra-table td:first-child,
.fcra-page .fcra-table th:first-child {
    width: 60px;
    text-align: center;
}

.fcra-page .fcra-table td:nth-child(2) {
    font-weight: 600;
}

.fcra-page .fcra-table .fcra-amount {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.fcra-page .fcra-table td:last-child {
    white-space: nowrap;
}

/* ==========================================================================
   14. Common accordion (newsletters.php, publications.php, milestone.php)
   Add class "site-accordion" next to Bootstrap's "accordion accordion-flush".
   Same look on every page: separate teal bars (#507c85) with white text and a
   white arrow; the open bar is a shade darker (#48727a).
   ========================================================================== */
.site-accordion {
    margin-bottom: 20px;
}

.site-accordion .accordion-item {
    margin-bottom: 10px;
    border: 0;
    background: transparent;
}

.site-accordion .accordion-button {
    padding: 14px 20px;
    background: #507c85;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.site-accordion .accordion-button:hover {
    background: #48727a;
}

.site-accordion .accordion-button:not(.collapsed) {
    background: #48727a;
    color: #fff;
    box-shadow: none;
}

.site-accordion .accordion-button:focus {
    box-shadow: none;
}

.site-accordion .accordion-button:focus-visible {
    outline: 2px solid #fdbba1;
    outline-offset: -2px;
}

/* white arrow (Bootstrap shows a dark one, and a blue one when open) */
.site-accordion .accordion-button::after,
.site-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.site-accordion .accordion-body {
    padding: 20px;
}

/* Newsletters page: PDFs inside the accordion use the document cards (section 10) */
.newsletters-page {
    padding: 0 0 50px;
}

/* Milestones page: member name + role cards inside each committee */
.milestone-page {
    padding: 0 0 70px;
}

.milestone-page .milestone-members {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.milestone-page .milestone-member {
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
}

/* !important: the old site CSS sets h3 size/margins and capitalises headings */
.milestone-page .milestone-member h3 {
    margin: 0 0 4px !important;
    color: #222;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1.35 !important;
    text-transform: none !important;
}

.milestone-page .milestone-member p {
    margin: 0;
    color: #4e2463;
    font-size: 14px;
    line-height: 1.4;
}


/* ==========================================================================
   15. Past National Conferences (past-national-conferences/ folder)
   List page and conference pages use the document cards (section 10).
   These rules add the "All conferences" link and the previous / next links.
   ========================================================================== */
.conf-page .conf-back {
    display: inline-block;
    margin-bottom: 25px;
    color: #4e2463;
    font-weight: 700;
    text-decoration: none;
}

.conf-page .conf-back:hover {
    color: #507c85;
}

.conf-page .conf-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #e3e3e3;
}

.conf-page .conf-nav a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #222;
    font-weight: 700;
    text-decoration: none;
}

.conf-page .conf-nav a span {
    color: #507c85;
    font-size: 14px;
    font-weight: 600;
}

.conf-page .conf-nav a:hover {
    color: #4e2463;
}

/* "Next" stays on the right even when there is no "Previous" (1st conference) */
.conf-page .conf-nav .conf-nav-next {
    margin-left: auto;
    text-align: right;
}

/* Photo carousel (Owl Carousel) above the documents.
   Arrows sit over the left / right edge of the photos. */
.conf-page .conf-gallery {
    position: relative;
    margin-bottom: 40px;
}

.conf-page .conf-gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: #d7edf1;
}

.conf-page .conf-gallery .owl-item img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.conf-page .conf-gallery-item:hover img {
    transform: scale(1.05);
}

.conf-page .conf-gallery .owl-nav {
    margin: 0;
}

.conf-page .conf-gallery .owl-nav button.owl-prev,
.conf-page .conf-gallery .owl-nav button.owl-next {
    position: absolute;
    top: 130px;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 50%;
    background: rgba(78, 36, 99, 0.85);
    color: #fff;
    font-size: 30px;
    line-height: 38px;
}

.conf-page .conf-gallery .owl-nav button.owl-prev {
    left: 10px;
}

.conf-page .conf-gallery .owl-nav button.owl-next {
    right: 10px;
}

.conf-page .conf-gallery .owl-nav button.owl-prev:hover,
.conf-page .conf-gallery .owl-nav button.owl-next:hover {
    background: #507c85;
    color: #fff;
}

.conf-page .conf-gallery .owl-dots {
    margin-top: 15px;
}

.conf-page .conf-gallery .owl-dots .owl-dot.active span,
.conf-page .conf-gallery .owl-dots .owl-dot:hover span {
    background: #4e2463;
}

/* Carousel with only one photo (e.g. 4th, 7th): one large photo in the middle.
   The class is added by js/conference-gallery.js. */
.conf-page .conf-gallery.conf-gallery-single {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.conf-page .conf-gallery.conf-gallery-single .owl-item img {
    height: auto;
    max-height: 520px;
    object-fit: contain;
}


/* ==========================================================================
   16. Membership form page (membership-form.php)
   Online version of the Word membership form: fill in, then print / save as PDF.
   Bootstrap form classes for the fields; payment details and UPI QR below.
   ========================================================================== */
.membership-form-page {
    padding: 0 0 70px;
}

.membership-form-page > .container {
    display: block;
}

.membership-form-page .mf-intro {
    margin-bottom: 30px;
    padding: 20px 25px;
    background: #fde1e0;
    border-radius: 12px;
}

.membership-form-page .mf-intro p {
    margin: 0;
}

/* heading shown only on the printed form (the site banner is not printed) */
.membership-form-page .mf-print-title {
    display: none;
}

.membership-form-page .mf-section {
    margin-bottom: 25px;
    padding: 25px;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
}

/* legend sits inside the box as a heading */
.membership-form-page .mf-section legend {
    float: none;
    width: auto;
    margin-bottom: 18px;
    color: #4e2463;
    font-size: 20px;
    font-weight: 700;
}

.membership-form-page .mf-section legend span {
    color: #666;
    font-size: 14px;
    font-weight: 400;
}

.membership-form-page .form-label {
    margin-bottom: 5px;
    font-weight: 600;
}

/* "Please fill in CAPITALS" */
.membership-form-page .form-control {
    text-transform: uppercase;
}

.membership-form-page .form-control:focus {
    border-color: #507c85;
    box-shadow: 0 0 0 0.2rem rgba(80, 124, 133, 0.25);
}

.membership-form-page .form-check {
    margin-bottom: 8px;
}

.membership-form-page .form-check-input:checked {
    background-color: #507c85;
    border-color: #507c85;
}

.membership-form-page .mf-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

/* the button uses the site's .info-button look (section 12) */
.membership-form-page .info-button {
    display: inline-block;
    padding: 12px 28px;
    background: #507c85;
    border: 0;
    border-radius: 65px;
    color: #fff;
    font-size: 16px;
}

.membership-form-page .info-button:hover {
    background: #4e2463;
}

.membership-form-page .mf-payment {
    padding: 30px;
    background: #d7edf1;
    border-radius: 12px;
}

/* !important: the old site CSS sets h2 sizes and margins */
.membership-form-page .mf-payment h2 {
    margin: 0 0 15px !important;
    font-size: 20px !important;
    font-weight: 700;
    text-transform: none !important;
}

.membership-form-page .mf-bank {
    width: 100%;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.membership-form-page .mf-bank th,
.membership-form-page .mf-bank td {
    padding: 9px 15px;
    border-bottom: 1px solid #e3e3e3;
    vertical-align: top;
}

.membership-form-page .mf-bank th {
    width: 40%;
    font-weight: 600;
}

.membership-form-page .mf-bank tr:last-child th,
.membership-form-page .mf-bank tr:last-child td {
    border-bottom: 0;
}

.membership-form-page .mf-note {
    margin: 0;
    font-size: 14px;
}

.membership-form-page .mf-upi {
    text-align: center;
}

.membership-form-page .mf-upi img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
}

/* Print / Save as PDF: only the form and payment details, without the site header,
   footer, title banner and buttons */
@media print {
    body * {
        visibility: hidden;
    }

    .membership-form-page,
    .membership-form-page * {
        visibility: visible;
    }

    .membership-form-page {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0;
    }

    /* the printed form is what gets emailed: no intro, buttons or bank details */
    .membership-form-page .mf-intro,
    .membership-form-page .mf-actions,
    .membership-form-page .mf-payment {
        display: none;
    }

    .membership-form-page > .container {
        max-width: none;
    }

    .membership-form-page .mf-print-title {
        display: block;
        margin: 0 0 15px !important;
        color: #4e2463;
        font-size: 20px !important;
        text-align: center;
        text-transform: none !important;
    }

    /* keep the desktop columns on paper (the printed page is narrower than 768px) */
    .membership-form-page .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .membership-form-page .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .membership-form-page .col-md-6,
    .membership-form-page .col-sm-6 { flex: 0 0 50%; max-width: 50%; }

    .membership-form-page .mf-section {
        margin-bottom: 12px;
        padding: 12px 15px;
        break-inside: avoid;
    }

    .membership-form-page .mf-section legend {
        margin-bottom: 8px;
        font-size: 16px;
    }

    .membership-form-page .form-label {
        margin-bottom: 2px;
        font-size: 13px;
    }

    .membership-form-page .form-control {
        padding: 4px 8px;
        font-size: 13px;
    }
}


/* ==========================================================================
   17. Contact Us page (contact-us.php)
   Contact details card (pink) + message form card, map below.
   ========================================================================== */
.contact-page {
    padding: 0 0 70px;
}

.contact-page > .container {
    display: block;
}

/* !important: the old site CSS sets h2 / h3 sizes, margins and capitals */
.contact-page h2 {
    margin: 0 0 20px !important;
    color: #4e2463;
    font-size: 22px !important;
    font-weight: 700;
    line-height: 1.3 !important;
    text-transform: none !important;
}

.contact-page .contact-card,
.contact-page .contact-form-card {
    height: 100%;
    padding: 30px;
    border-radius: 12px;
}

.contact-page .contact-card {
    background: #fde1e0;
}

.contact-page .contact-form-card {
    border: 1px solid #e3e3e3;
}

/* one contact line: round icon + text */
.contact-page .contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
}

.contact-page .contact-item:last-child {
    margin-bottom: 0;
}

.contact-page .contact-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #4e2463;
}

.contact-page .contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-page .contact-item h3 {
    margin: 0 0 3px !important;
    color: #222;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1.4 !important;
    text-transform: none !important;
}

.contact-page .contact-item p,
.contact-page .contact-item address {
    margin: 0;
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}

.contact-page .contact-item a {
    color: #4e2463;
    font-size: 15px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-page .contact-item a:hover {
    color: #507c85;
}

.contact-page .form-label {
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-page .form-control:focus {
    border-color: #507c85;
    box-shadow: 0 0 0 0.2rem rgba(80, 124, 133, 0.25);
}

.contact-page .contact-submit {
    padding: 12px 34px;
    background: #507c85;
    border: 0;
    border-radius: 65px;
    color: #fff;
    font-size: 16px;
}

.contact-page .contact-submit:hover {
    background: #4e2463;
}

.contact-page .contact-map {
    margin-top: 50px;
}

.contact-page .contact-map iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 12px;
}