/* =====================================================
   RESET
===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;

    color: #333;

    background: #fff;
}


img {
    max-width: 100%;
    display: block;
}


button,
a {
    font-family: inherit;
}


.container {
    width: min(1180px, 92%);

    margin-left: auto;
    margin-right: auto;
}



/* =====================================================
   HEADER
===================================================== */

.site-header {
    background: #fff;

    border-bottom: 1px solid #e5e5e5;
}


.header-container {
    width: min(1180px, 92%);

    min-height: 105px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


.church-brand {
    display: flex;

    align-items: center;

    gap: 15px;

    text-decoration: none;

    color: #222;
}


.church-logo {
    width: 62px;
    height: 62px;

    border: 2px solid #b79b5b;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;
}


.church-logo span {
    font-size: 32px;

    color: #8c6f32;
}


.church-name h1 {
    font-size: 25px;

    font-weight: 600;

    line-height: 1.25;
}


.church-name span {
    display: block;

    margin-top: 3px;

    color: #777;

    font-size: 14px;

    letter-spacing: 1px;
}



/* =====================================================
   LANGUAGE
===================================================== */

.language-selector {
    display: flex;

    align-items: center;

    gap: 7px;
}


.language-button {
    border: none;

    background: transparent;

    color: #555;

    cursor: pointer;

    font-size: 14px;

    padding: 5px;
}


.language-button:hover {
    color: #8c6f32;
}


.language-button.active {
    color: #8c6f32;

    font-weight: bold;
}


.language-divider {
    color: #ccc;
}



/* =====================================================
   NAVIGATION
===================================================== */

.main-navigation {
    background: #243447;

    box-shadow:
        0 2px 5px rgba(0,0,0,.12);
}


.nav-container {
    width: min(1180px, 92%);

    margin: auto;
}


.main-menu {
    list-style: none;

    display: flex;

    align-items: center;
}


.main-menu li {
    position: relative;
}


.main-menu a {
    display: block;

    color: white;

    text-decoration: none;

    padding: 15px 17px;

    font-size: 14px;
}


.main-menu a:hover {
    background: #34495e;
}


.submenu {
    position: absolute;

    left: 0;

    top: 100%;

    min-width: 220px;

    list-style: none;

    background: #243447;

    box-shadow:
        0 4px 10px rgba(0,0,0,.2);

    display: none;

    z-index: 1000;
}


.has-submenu:hover > .submenu {
    display: block;
}


.submenu a {
    padding: 12px 16px;

    border-bottom:
        1px solid rgba(255,255,255,.08);
}



/* =====================================================
   MOBILE MENU
===================================================== */

.mobile-menu-button {
    display: none;

    border: none;

    background: transparent;

    color: white;

    font-size: 28px;

    cursor: pointer;

    padding: 8px 0;
}



/* =====================================================
   HERO
===================================================== */

.hero {
	
	position: relative;
	
    min-height: 500px;

	background-color: #f3ede2;
	
    background-image:        
        url("/images/church.png");

    background-size: contain;

    background-position: center top;

    background-repeat: no-repeat;
}


.hero-overlay {
    min-height: 500px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;
	
	linear-gradient(
            rgba(20, 35, 50, .18),
            rgba(20, 35, 50, .52)
        );
}


.hero-content {
    width: min(850px, 90%);

    color: white;
	max-width: 850px;

    padding: 40px 20px;
}


.hero-cross {
    font-size: 35px;

    margin-bottom: 10px;

    color: #e2c778;
}


.hero h2 {
    font-size:
        clamp(34px, 5vw, 58px);

    font-weight: 500;

    line-height: 1.15;

    margin-bottom: 18px;
	
	text-shadow:
        0 2px 8px rgba(0,0,0,.45);
}


.hero p {
    font-size:
        clamp(17px, 2vw, 21px);

    max-width: 700px;

    margin: auto;

    opacity: .95;
	
	text-shadow:
        0 1px 5px rgba(0,0,0,.55);
}



/* =====================================================
   SECTION HEADING
===================================================== */

.section-heading {
    text-align: center;

    margin-bottom: 40px;
}


.section-cross {
    display: block;

    color: #9a7a36;

    font-size: 23px;

    margin-bottom: 6px;
}


.section-heading h2 {
    color: #243447;

    font-size: 32px;

    font-weight: 500;
}


.heading-line {
    width: 55px;

    height: 2px;

    background: #b79b5b;

    margin: 14px auto 0;
}



/* =====================================================
   MASS SECTION
===================================================== */

.mass-section {
    padding: 70px 0;

    background: #fff;
}


.mass-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.mass-card {
    padding: 35px 25px;

    text-align: center;

    background: #fafafa;

    border:
        1px solid #e3e3e3;

    border-radius: 6px;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.mass-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(0,0,0,.08);
}


.featured-mass {
    border-top:
        4px solid #b79b5b;

    background: #fdfbf6;
}


.card-icon {
    color: #9a7a36;

    font-size: 26px;

    margin-bottom: 12px;
}


.mass-card h3 {
    color: #243447;

    font-size: 19px;

    margin-bottom: 8px;
}


.mass-card p {
    color: #666;

    font-size: 16px;
}



/* =====================================================
   INFORMATION
===================================================== */

.information-section {
    padding: 70px 0;

    background: #f5f6f7;
}


.information-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 35px;
}


.information-panel,
.events-panel {
    background: white;

    padding: 35px;

    border:
        1px solid #e1e1e1;

    border-radius: 6px;
}


.panel-heading {
    display: flex;

    align-items: center;

    gap: 10px;

    padding-bottom: 20px;

    margin-bottom: 25px;

    border-bottom:
        1px solid #e5e5e5;
}


.panel-heading span {
    color: #9a7a36;

    font-size: 22px;
}


.panel-heading h2 {
    color: #243447;

    font-size: 24px;

    font-weight: 500;
}


.information-item {
    display: flex;

    gap: 15px;

    margin-bottom: 25px;
}



.info-icon {
    width: 38px;

    flex-shrink: 0;

    color: #9a7a36;

    font-size: 20px;
}


.information-item h3 {
    color: #333;

    font-size: 16px;

    margin-bottom: 3px;
}


.information-item p {
    color: #666;

    font-size: 15px;
}


.event-placeholder {
    display: flex;

    gap: 18px;

    padding: 20px;

    background: #f8f8f8;

    border-radius: 5px;

    margin-bottom: 25px;
}


.event-icon {
    font-size: 30px;
}


.event-placeholder h3 {
    color: #333;

    margin-bottom: 5px;
}


.event-placeholder p {
    color: #666;
}


.panel-button {
    display: inline-block;

    color: #fff;

    background: #243447;

    padding: 10px 18px;

    border-radius: 4px;

    text-decoration: none;

    font-size: 14px;
}


.panel-button:hover {
    background: #34495e;
}



/* =====================================================
   RESOURCES
===================================================== */

.resources-section {
    padding: 70px 0;
}


.resource-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.resource-card {
    position: relative;

    padding: 35px 30px;

    text-align: center;

    text-decoration: none;

    color: #333;

    background: white;

    border:
        1px solid #ddd;

    border-radius: 6px;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.resource-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(0,0,0,.08);
}


.resource-icon {
    font-size: 34px;

    margin-bottom: 15px;
}


.resource-card h3 {
    color: #243447;

    font-size: 19px;

    margin-bottom: 8px;
}


.resource-card p {
    color: #666;

    font-size: 15px;
}


.resource-arrow {
    display: block;

    margin-top: 18px;

    color: #9a7a36;

    font-size: 22px;
}



/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    background: #1e2a36;

    color: white;

    padding: 45px 0 25px;
}


.footer-content {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding-bottom: 30px;

    border-bottom:
        1px solid rgba(255,255,255,.12);
}


.footer-church {
    display: flex;

    align-items: center;

    gap: 15px;
}


.footer-logo {
    width: 48px;

    height: 48px;

    border:
        1px solid #b79b5b;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #e2c778;

    font-size: 24px;
}


.footer-church h3 {
    font-size: 18px;

    font-weight: 500;
}


.footer-church p {
    color: #bfc7ce;

    font-size: 14px;
}


.footer-links {
    display: flex;

    gap: 20px;
}


.footer-links a {
    color: #ddd;

    text-decoration: none;

    font-size: 14px;
}


.footer-links a:hover {
    color: #e2c778;
}


.footer-bottom {
    text-align: center;

    padding-top: 25px;

    color: #aeb7bf;

    font-size: 13px;
}


.footer-bottom p {
    margin-bottom: 4px;
}


.copyright {
    margin-top: 15px;
}



/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {


    .header-container {
        min-height: 85px;

        flex-wrap: wrap;

        padding: 12px 0;
    }


    .church-logo {
        width: 48px;

        height: 48px;
    }


    .church-logo span {
        font-size: 25px;
    }


    .church-name h1 {
        font-size: 18px;
    }


    .church-name span {
        font-size: 11px;
    }


    .language-selector {
        margin-left: auto;
    }


    .mobile-menu-button {
        display: block;
    }


    .main-menu {
        display: none;

        flex-direction: column;

        align-items: stretch;
    }


    .main-menu.mobile-menu-open {
        display: flex;
    }


    .main-menu li {
        width: 100%;
    }


    .main-menu a {
        padding: 13px 5px;

        border-top:
            1px solid rgba(255,255,255,.1);
    }


    .submenu {
        position: static;

        display: block;

        width: 100%;

        box-shadow: none;
    }


    .submenu a {
        padding-left: 25px;
    }


    .hero,
    .hero-overlay {
        min-height: 390px;
    }


    .hero h2 {
        font-size: 34px;
    }


    .hero p {
        font-size: 17px;
    }


    .mass-grid {
        grid-template-columns: 1fr;
    }


    .information-grid {
        grid-template-columns: 1fr;
    }


    .resource-grid {
        grid-template-columns: 1fr;
    }


    .information-panel,
    .events-panel {
        padding: 25px;
    }


    .footer-content {
        flex-direction: column;

        text-align: center;
    }


    .footer-church {
        justify-content: center;
    }


    .footer-links {
        justify-content: center;

        flex-wrap: wrap;
    }	
	

}

/* =====================================================
   STEP 4 - FINAL HOMEPAGE POLISH
===================================================== */


/* ---------- General sections ---------- */

.mass-section,
.information-section,
.resources-section {
    padding: 75px 0;
}


/* ---------- Section headings ---------- */

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading h2 {
    margin: 0;

    color: #243447;

    font-size: 32px;
    font-weight: 600;
}

.section-cross {
    display: block;

    margin-bottom: 7px;

    color: #9a7a36;

    font-size: 22px;
}

.heading-line {
    width: 60px;
    height: 3px;

    margin: 14px auto 0;

    background: #b79b5b;
}


/* =====================================================
   MASS SCHEDULE
===================================================== */

.mass-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;

    align-items: stretch;
}


.mass-card {
    min-height: 190px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 35px 25px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #dedede;
    border-radius: 8px;
}


.mass-card h3 {
    margin: 5px 0 10px;

    color: #243447;

    font-size: 19px;
}


.mass-card p {
    margin: 0;

    color: #666;

    font-size: 16px;
}


.featured-mass {
    border-top: 4px solid #b79b5b;

    background: #fdfbf6;
}


/* =====================================================
   PARISH INFORMATION + EVENTS
===================================================== */

.information-section {
    background: #f4f6f8;
}


.information-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 30px;

    align-items: stretch;
}


.information-panel,
.events-panel {
    width: 100%;
    height: 100%;

    padding: 35px;

    background: #ffffff;

    border: 1px solid #dedede;
    border-radius: 8px;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.04);
}


.panel-heading {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 25px;
    padding-bottom: 17px;

    border-bottom: 1px solid #e4e4e4;
}


.panel-heading span {
    color: #9a7a36;

    font-size: 21px;
}


.panel-heading h2 {
    margin: 0;

    color: #243447;

    font-size: 24px;
    font-weight: 600;
}


/* Parish information rows */

.information-item {
    display: flex;

    align-items: flex-start;

    gap: 16px;

    margin-bottom: 25px;
}


.info-icon {
    width: 42px;
    min-width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #f7f2e7;

    border-radius: 50%;

    color: #8c6f32;

    font-size: 18px;
}


.information-item h3 {
    margin: 0 0 4px;

    color: #243447;

    font-size: 16px;
}


.information-item p {
    margin: 0;

    color: #666;

    line-height: 1.5;
}


/* Upcoming events */

.event-placeholder {
    display: flex;

    align-items: flex-start;

    gap: 17px;

    padding: 22px;

    margin-bottom: 25px;

    background: #f7f8f9;

    border-radius: 7px;
}


.event-icon {
    font-size: 28px;
}


.event-placeholder h3 {
    margin: 0 0 5px;

    color: #243447;
}


.event-placeholder p {
    margin: 0;

    color: #666;

    line-height: 1.5;
}


.panel-button {
    display: inline-block;

    padding: 11px 20px;

    background: #243447;

    color: white;

    border-radius: 5px;

    text-decoration: none;

    transition:
        background-color .2s ease,
        transform .2s ease;
}


.panel-button:hover {
    background: #34495e;

    transform: translateY(-1px);
}


/* =====================================================
   CHURCH RESOURCES
===================================================== */

.resource-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;

    align-items: stretch;
}


.resource-card {
    min-height: 230px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 35px 30px;

    text-align: center;

    color: #333;

    background: #ffffff;

    border: 1px solid #dedede;
    border-radius: 8px;

    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.resource-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, .09);
}


.resource-icon {
    margin-bottom: 14px;

    font-size: 32px;
}


.resource-card h3 {
    margin: 0 0 8px;

    color: #243447;

    font-size: 19px;
}


.resource-card p {
    margin: 0;

    color: #666;

    line-height: 1.5;
}


.resource-arrow {
    margin-top: 17px;

    color: #9a7a36;

    font-size: 23px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .mass-grid,
    .resource-grid {
        gap: 18px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .mass-section,
    .information-section,
    .resources-section {
        padding: 50px 0;
    }


    .section-heading {
        margin-bottom: 30px;
    }


    .section-heading h2 {
        font-size: 27px;
    }


    .mass-grid,
    .information-grid,
    .resource-grid {
        grid-template-columns: 1fr;
    }


    .mass-card {
        min-height: auto;

        padding: 28px 20px;
    }


    .information-panel,
    .events-panel {
        padding: 25px 20px;
    }


    .panel-heading h2 {
        font-size: 21px;
    }


    .resource-card {
        min-height: auto;

        padding: 30px 20px;
    }

}

/* =====================================================
   PARISH INFORMATION - FIX
===================================================== */

.information-section {
    padding: 70px 0;
    background: #f5f6f7;
}


.information-section .container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


.information-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
    width: 100%;
}


.information-panel,
.events-panel {
    display: block;
    width: 100%;
    background: #ffffff;
    padding: 35px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
}


.panel-heading {
    display: flex;
    align-items: center;
    gap: 10px;

    padding-bottom: 20px;
    margin-bottom: 25px;

    border-bottom: 1px solid #e5e5e5;
}


.panel-heading span {
    display: inline-block;

    color: #9a7a36;

    font-size: 22px;
}


.panel-heading h2 {
    margin: 0;

    color: #243447;

    font-size: 24px;

    font-weight: 500;
}


.information-item {
    display: flex;
    align-items: flex-start;

    gap: 15px;

    margin-bottom: 25px;
}


.info-icon {
    width: 38px;
    min-width: 38px;

    color: #9a7a36;

    font-size: 20px;

    text-align: center;
}


.information-item h3 {
    margin: 0 0 3px 0;

    color: #333;

    font-size: 16px;
}


.information-item p {
    margin: 0;

    color: #666;

    font-size: 15px;
}


.event-placeholder {
    display: flex;
    align-items: flex-start;

    gap: 18px;

    padding: 20px;

    margin-bottom: 25px;

    background: #f8f8f8;

    border-radius: 5px;
}


.event-icon {
    font-size: 30px;
}


.event-placeholder h3 {
    margin: 0 0 5px 0;

    color: #333;
}


.event-placeholder p {
    margin: 0;

    color: #666;
}


.panel-button {
    display: inline-block;

    padding: 10px 18px;

    color: #ffffff;

    background: #243447;

    border-radius: 4px;

    text-decoration: none;

    font-size: 14px;
}


.panel-button:hover {
    background: #34495e;
}

#confession-text {
  white-space: pre-line !important;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .information-grid {
        grid-template-columns: 1fr;
    }

    .information-panel,
    .events-panel {
        padding: 25px;
    }

}

/* =====================================================
   ABOUT PAGE
===================================================== */

.about-hero {
    padding: 65px 20px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #243447,
            #34495e
        );

    text-align: center;
}


.about-cross {
    display: block;

    margin-bottom: 10px;

    color: #d6bd7a;

    font-size: 34px;
}


.about-hero h2 {
    margin: 0 0 10px;

    font-size: clamp(
        32px,
        5vw,
        48px
    );
}


.about-hero p {
    margin: 0;

    color: #f2e8cc;

    font-size: 20px;
}


.about-section {
    padding: 70px 20px;

    background: #f7f7f7;
}


.about-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(280px, 1fr);

    gap: 35px;

    align-items: start;
}


.about-story,
.about-details {
    padding: 35px;

    background: #ffffff;

    border-radius: 8px;

    box-shadow:
        0 5px 18px
        rgba(36, 52, 71, 0.08);
}


.about-heading {
    margin-bottom: 25px;
}


.about-story > p {
    margin: 0 0 20px;

    color: #555555;

    font-size: 17px;

    line-height: 1.8;
}


.history-update {
    padding: 22px;

    margin-top: 30px;

    background: #f8f3e7;

    border-left:
        4px solid #b79b5b;
}


.history-update h3 {
    margin: 0 0 8px;

    color: #243447;
}


.history-update p {
    margin: 0;

    color: #666666;
}


.about-details {
    display: grid;

    gap: 18px;
}


.detail-card {
    display: flex;

    gap: 16px;

    padding: 20px;

    border:
        1px solid #e7e0cf;

    border-radius: 6px;
}


.featured-detail {
    background: #f8f3e7;
}


.detail-icon {
    color: #9a7a36;

    font-size: 25px;
}


.detail-card h3 {
    margin: 0 0 5px;

    color: #243447;

    font-size: 17px;
}


.detail-card p {
    margin: 0;

    color: #666666;

    line-height: 1.55;
}


/* About page mobile layout */

@media (max-width: 768px) {

    .about-layout {
        grid-template-columns: 1fr;
    }


    .about-story,
    .about-details {
        padding: 25px;
    }

}

/* =====================================================
   MASS SCHEDULE PAGE
===================================================== */

.schedule-hero {
    padding: 65px 20px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #243447,
            #34495e
        );

    text-align: center;
}


.schedule-cross {
    display: block;

    margin-bottom: 10px;

    color: #d6bd7a;

    font-size: 34px;
}


.schedule-hero h2 {
    margin: 0 0 10px;

    font-size: clamp(
        32px,
        5vw,
        48px
    );
}


.schedule-hero p {
    margin: 0;

    color: #f2e8cc;

    font-size: 20px;
}


/* =====================================================
   REGULAR MASS SCHEDULE
===================================================== */

.schedule-section {
    padding: 70px 20px;

    background: #f7f7f7;
}


.schedule-card-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.schedule-card {
    padding: 35px 25px;

    background: #ffffff;

    border:
        1px solid #e7e0cf;

    border-radius: 8px;

    box-shadow:
        0 5px 18px
        rgba(36, 52, 71, 0.08);

    text-align: center;
}


.featured-schedule-card {
    background: #f8f3e7;

    border-top:
        4px solid #b79b5b;
}


.schedule-icon {
    margin-bottom: 15px;

    color: #9a7a36;

    font-size: 30px;
}


.schedule-card h3 {
    margin: 0 0 15px;

    color: #243447;

    font-size: 19px;

    line-height: 1.4;
}


.schedule-time {
    margin: 0;

    color: #9a7a36;

    font-size: 28px;

    font-weight: 700;
}


/* =====================================================
   CONFESSION
===================================================== */

.confession-section {
    padding: 70px 20px;

    background: #ffffff;
}


.confession-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(280px, 1fr);

    gap: 35px;

    align-items: stretch;
}


.confession-content,
.schedule-reminder {
    padding: 35px;

    border-radius: 8px;

    box-shadow:
        0 5px 18px
        rgba(36, 52, 71, 0.08);
}


.confession-content {
    background: #ffffff;

    border:
        1px solid #e7e0cf;
}


.confession-row {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 25px;

    padding: 20px 0;

    border-bottom:
        1px solid #eeeeee;
}


.confession-row:last-child {
    border-bottom: none;
}


.confession-row h3 {
    margin: 0;

    color: #243447;

    font-size: 17px;
}


.confession-row p {
    margin: 0;

    color: #666666;

    text-align: right;

    line-height: 1.5;
}


.schedule-reminder {
    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    background: #f8f3e7;

    border-left:
        4px solid #b79b5b;

    text-align: center;
}


.reminder-icon {
    margin-bottom: 12px;

    font-size: 36px;
}


.schedule-reminder h3 {
    margin: 0 0 10px;

    color: #243447;

    font-size: 20px;
}


.schedule-reminder p {
    margin: 0;

    color: #666666;

    line-height: 1.6;
}


/* =====================================================
   SPECIAL SCHEDULES
===================================================== */

.special-schedule-section {
    padding: 70px 20px;

    background: #f7f7f7;
}


.special-card-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.special-card {
    display: flex;

    align-items: flex-start;

    gap: 16px;

    padding: 28px;

    background: #ffffff;

    border:
        1px solid #e7e0cf;

    border-radius: 8px;

    box-shadow:
        0 5px 18px
        rgba(36, 52, 71, 0.07);
}


.special-icon {
    flex-shrink: 0;

    font-size: 28px;
}


.special-card h3 {
    margin: 0 0 10px;

    color: #243447;

    font-size: 19px;
}


.special-card p {
    margin: 0;

    color: #666666;

    line-height: 1.65;
}


/* =====================================================
   MASS SCHEDULE MOBILE
===================================================== */

@media (max-width: 900px) {

    .schedule-card-grid,
    .special-card-grid {
        grid-template-columns: 1fr;
    }


    .confession-layout {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .schedule-hero {
        padding: 50px 18px;
    }


    .schedule-hero p {
        font-size: 17px;
    }


    .schedule-section,
    .confession-section,
    .special-schedule-section {
        padding:
            50px 18px;
    }


    .schedule-card,
    .confession-content,
    .schedule-reminder,
    .special-card {
        padding: 25px 20px;
    }


    .confession-row {
        display: block;
    }


    .confession-row h3 {
        margin-bottom: 6px;
    }


    .confession-row p {
        text-align: left;
    }

}

/* Improved Mass schedule cards */

.schedule-section {
    padding: 55px 20px;
}


.schedule-card-grid {
    max-width: 1100px;

    margin: 0 auto;

    gap: 20px;
}


.schedule-card {
    display: flex;

    min-height: 190px;

    padding: 25px 20px;

    flex-direction: column;

    justify-content: center;

    align-items: center;
}


.schedule-icon {
    margin-bottom: 12px;

    font-size: 27px;
}


.schedule-card h3 {
    margin: 0 0 12px;

    font-size: 18px;

    line-height: 1.35;
}


.schedule-time {
    font-size: 26px;
}

/* =====================================================
   SACRAMENTS PAGE
===================================================== */

.sacraments-hero {
    padding: 65px 20px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #243447,
            #34495e
        );

    text-align: center;
}


.sacraments-cross {
    display: block;

    margin-bottom: 10px;

    color: #d6bd7a;

    font-size: 34px;
}


.sacraments-hero h2 {
    margin: 0 0 10px;

    font-size: clamp(
        32px,
        5vw,
        48px
    );
}


.sacraments-hero p {
    max-width: 700px;

    margin: 0 auto;

    color: #f2e8cc;

    font-size: 20px;

    line-height: 1.6;
}


/* =====================================================
   SACRAMENTS INTRODUCTION
===================================================== */

.sacraments-introduction {
    padding: 60px 20px 35px;

    background: #f7f7f7;

    text-align: center;
}


.sacraments-introduction p {
    max-width: 760px;

    margin: 0 auto;

    color: #666666;

    font-size: 17px;

    line-height: 1.8;
}


/* =====================================================
   SACRAMENT CARDS
===================================================== */

.sacraments-section {
    padding: 35px 20px 70px;

    background: #f7f7f7;
}


.sacrament-card-grid {
    display: grid;

    max-width: 1100px;

    margin: 0 auto;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 22px;
}


.sacrament-card {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 28px;

    background: #ffffff;

    border:
        1px solid #e7e0cf;

    border-radius: 8px;

    box-shadow:
        0 5px 18px
        rgba(36, 52, 71, 0.07);
}


.sacrament-card:hover {
    border-color: #b79b5b;

    transform:
        translateY(-3px);

    box-shadow:
        0 8px 22px
        rgba(36, 52, 71, 0.12);
}


.sacrament-icon {
    display: flex;

    width: 48px;

    height: 48px;

    flex-shrink: 0;

    justify-content: center;

    align-items: center;

    background: #f8f3e7;

    border-radius: 50%;

    font-size: 24px;
}


.sacrament-card h3 {
    margin: 0 0 9px;

    color: #243447;

    font-size: 19px;
}


.sacrament-card p {
    margin: 0;

    color: #666666;

    line-height: 1.65;
}


.religious-education-card {
    grid-column: 1 / -1;
}


/* =====================================================
   SACRAMENTS CONTACT PANEL
===================================================== */

.sacrament-contact-section {
    padding: 65px 20px;

    background: #ffffff;
}


.sacrament-contact-panel {
    display: grid;

    max-width: 1000px;

    margin: 0 auto;

    padding: 32px;

    grid-template-columns:
        auto 1fr auto;

    gap: 22px;

    align-items: center;

    background: #f8f3e7;

    border-left:
        5px solid #b79b5b;

    border-radius: 8px;

    box-shadow:
        0 5px 18px
        rgba(36, 52, 71, 0.08);
}


.sacrament-contact-icon {
    color: #9a7a36;

    font-size: 32px;
}


.sacrament-contact-content h2 {
    margin: 0 0 7px;

    color: #243447;

    font-size: 24px;
}


.sacrament-contact-content p {
    margin: 0;

    color: #666666;

    line-height: 1.6;
}


/* =====================================================
   SACRAMENTS MOBILE
===================================================== */

@media (max-width: 768px) {

    .sacrament-card-grid {
        grid-template-columns: 1fr;
    }


    .religious-education-card {
        grid-column: auto;
    }


    .sacrament-contact-panel {
        grid-template-columns: 1fr;

        text-align: center;
    }


    .sacrament-contact-icon {
        margin: 0 auto;
    }


    .sacrament-contact-panel .panel-button {
        justify-self: center;
    }

}


@media (max-width: 600px) {

    .sacraments-hero {
        padding: 50px 18px;
    }


    .sacraments-hero p {
        font-size: 17px;
    }


    .sacraments-introduction {
        padding: 50px 18px 30px;
    }


    .sacraments-section {
        padding: 30px 18px 50px;
    }


    .sacrament-card {
        padding: 23px 20px;
    }


    .sacrament-contact-section {
        padding: 50px 18px;
    }


    .sacrament-contact-panel {
        padding: 25px 20px;
    }

}

/* Larger crosses on interior-page headings */

.about-cross,
.schedule-cross,
.sacraments-cross {
    font-size: 48px;
}

/* =====================================================
   MINISTRIES PAGE
===================================================== */

.ministries-hero {
    padding: 65px 20px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #243447,
            #34495e
        );

    text-align: center;
}


.ministries-cross {
    display: block;

    margin-bottom: 10px;

    color: #d6bd7a;

    font-size: 34px;
}


.ministries-hero h2 {
    margin: 0 0 10px;

    font-size: clamp(
        32px,
        5vw,
        48px
    );
}


.ministries-hero p {
    max-width: 700px;

    margin: 0 auto;

    color: #f2e8cc;

    font-size: 20px;

    line-height: 1.6;
}


/* =====================================================
   MINISTRIES INTRODUCTION
===================================================== */

.ministries-introduction {
    padding: 60px 20px;

    background: #ffffff;

    text-align: center;
}


.ministries-introduction p {
    max-width: 760px;

    margin: 0 auto;

    color: #666666;

    font-size: 17px;

    line-height: 1.8;
}


/* =====================================================
   MINISTRY CATEGORIES
===================================================== */

.ministry-category {
    padding: 60px 20px;

    background: #ffffff;
}


.alternate-category {
    background: #f7f7f7;
}


.category-title {
    max-width: 1100px;

    margin: 0 auto 30px;

    padding-bottom: 12px;

    color: #243447;

    border-bottom:
        2px solid #b79b5b;

    font-size: 26px;
}


.ministry-card-grid {
    display: grid;

    max-width: 1100px;

    margin: 0 auto;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 22px;
}


.ministry-card {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 27px;

    background: #ffffff;

    border:
        1px solid #e7e0cf;

    border-radius: 8px;

    box-shadow:
        0 5px 18px
        rgba(36, 52, 71, 0.07);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.ministry-card:hover {
    border-color: #b79b5b;

    transform:
        translateY(-3px);

    box-shadow:
        0 8px 22px
        rgba(36, 52, 71, 0.12);
}


.ministry-icon {
    display: flex;

    width: 48px;

    height: 48px;

    flex-shrink: 0;

    justify-content: center;

    align-items: center;

    color: #9a7a36;

    background: #f8f3e7;

    border-radius: 50%;

    font-size: 23px;
}


.ministry-card h3 {
    margin: 0 0 8px;

    color: #243447;

    font-size: 19px;

    line-height: 1.4;
}


.ministry-card p {
    margin: 0;

    color: #666666;

    line-height: 1.65;
}


/* =====================================================
   MINISTRIES CONTACT PANEL
===================================================== */

.ministry-contact-section {
    padding: 65px 20px;

    background: #f7f7f7;
}


.ministry-contact-panel {
    display: grid;

    max-width: 1000px;

    margin: 0 auto;

    padding: 32px;

    grid-template-columns:
        auto 1fr auto;

    gap: 22px;

    align-items: center;

    background: #f8f3e7;

    border-left:
        5px solid #b79b5b;

    border-radius: 8px;

    box-shadow:
        0 5px 18px
        rgba(36, 52, 71, 0.08);
}


.ministry-contact-icon {
    font-size: 34px;
}


.ministry-contact-content h2 {
    margin: 0 0 7px;

    color: #243447;

    font-size: 24px;
}


.ministry-contact-content p {
    margin: 0;

    color: #666666;

    line-height: 1.6;
}


/* =====================================================
   MINISTRIES MOBILE
===================================================== */

@media (max-width: 768px) {

    .ministry-card-grid {
        grid-template-columns: 1fr;
    }


    .ministry-contact-panel {
        grid-template-columns: 1fr;

        text-align: center;
    }


    .ministry-contact-icon {
        margin: 0 auto;
    }


    .ministry-contact-panel .panel-button {
        justify-self: center;
    }

}


@media (max-width: 600px) {

    .ministries-hero {
        padding: 50px 18px;
    }


    .ministries-hero p {
        font-size: 17px;
    }


    .ministries-introduction,
    .ministry-category,
    .ministry-contact-section {
        padding: 50px 18px;
    }


    .category-title {
        font-size: 23px;
    }


    .ministry-card {
        padding: 23px 20px;
    }


    .ministry-contact-panel {
        padding: 25px 20px;
    }

}

/* =====================================================
   EVENTS PAGE
===================================================== */

.events-hero {
    padding: 65px 20px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #243447,
            #34495e
        );

    text-align: center;
}


.events-cross {
    display: block;

    margin-bottom: 10px;

    color: #d6bd7a;

    font-size: 34px;
}


.events-hero h2 {
    margin: 0 0 10px;

    font-size: clamp(
        32px,
        5vw,
        48px
    );
}


.events-hero p {
    max-width: 700px;

    margin: 0 auto;

    color: #f2e8cc;

    font-size: 20px;

    line-height: 1.6;
}


/* =====================================================
   EVENTS LIST
===================================================== */

.events-list-section {
    padding: 70px 20px;

    background: #f7f7f7;
}


.events-list {
    display: grid;

    max-width: 1100px;

    margin: 0 auto;

    gap: 30px;
}


.parish-event-card {
    overflow: hidden;

    background: #ffffff;

    border:
        1px solid #e7e0cf;

    border-radius: 8px;

    box-shadow:
        0 5px 18px
        rgba(36, 52, 71, 0.08);
}


.event-card-header {
    display: grid;

    padding: 28px;

    grid-template-columns:
        105px 1fr;

    gap: 25px;

    align-items: center;

    background: #f8f3e7;

    border-bottom:
        1px solid #e7e0cf;
}


.event-date-box {
    display: flex;

    min-height: 110px;

    padding: 12px;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    color: #ffffff;

    background: #243447;

    border-radius: 7px;

    text-align: center;
}


.event-date-month {
    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.event-date-day {
    margin: 3px 0;

    color: #d6bd7a;

    font-size: 35px;

    line-height: 1;
}


.event-date-year {
    font-size: 14px;
}


.event-card-heading h3 {
    margin: 0 0 10px;

    color: #243447;

    font-size: 25px;

    line-height: 1.35;
}


.event-goal {
    margin: 0;

    color: #666666;

    font-size: 16px;

    line-height: 1.65;
}


/* =====================================================
   EVENT DETAILS
===================================================== */

.event-details {
    display: grid;

    padding: 25px 28px;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

    border-bottom:
        1px solid #eeeeee;
}


.event-detail {
    display: flex;

    align-items: flex-start;

    gap: 13px;
}


.event-detail-icon {
    font-size: 23px;
}


.event-detail strong {
    display: block;

    margin-bottom: 4px;

    color: #243447;

    font-size: 15px;
}


.event-detail p {
    margin: 0;

    color: #666666;

    line-height: 1.5;
}


/* =====================================================
   EVENT TRAINING CONTENT
===================================================== */

.event-training {
    padding: 28px;
}


.event-training h4 {
    margin: 0 0 18px;

    color: #243447;

    font-size: 19px;
}


.event-training ul {
    display: grid;

    margin: 0;

    padding-left: 22px;

    grid-template-columns:
        repeat(2, 1fr);

    column-gap: 40px;

    row-gap: 12px;
}


.event-training li {
    padding-left: 4px;

    color: #555555;

    line-height: 1.55;
}


.event-training li::marker {
    color: #b79b5b;
}


/* =====================================================
   NO EVENTS MESSAGE
===================================================== */

.no-events-message {
    display: none;

    max-width: 700px;

    margin: 0 auto;

    padding: 45px 30px;

    color: #666666;

    background: #ffffff;

    border:
        1px solid #e7e0cf;

    border-radius: 8px;

    text-align: center;
}


.no-events-message span {
    display: block;

    margin-bottom: 12px;

    font-size: 38px;
}


.no-events-message p {
    margin: 0;

    line-height: 1.7;
}


/* =====================================================
   EVENT INFORMATION PANEL
===================================================== */

.event-information-section {
    padding: 60px 20px;

    background: #ffffff;
}


.event-information-panel {
    display: flex;

    max-width: 900px;

    margin: 0 auto;

    padding: 28px;

    align-items: center;

    gap: 20px;

    background: #f8f3e7;

    border-left:
        5px solid #b79b5b;

    border-radius: 8px;
}


.event-information-icon {
    flex-shrink: 0;

    font-size: 32px;
}


.event-information-panel h2 {
    margin: 0 0 7px;

    color: #243447;

    font-size: 22px;
}


.event-information-panel p {
    margin: 0;

    color: #666666;

    line-height: 1.6;
}


/* =====================================================
   EVENTS MOBILE
===================================================== */

@media (max-width: 768px) {

    .event-card-header {
        grid-template-columns:
            85px 1fr;

        padding: 23px;

        gap: 18px;
    }


    .event-date-box {
        min-height: 95px;
    }


    .event-card-heading h3 {
        font-size: 21px;
    }


    .event-details,
    .event-training ul {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 550px) {

    .events-hero {
        padding: 50px 18px;
    }


    .events-hero p {
        font-size: 17px;
    }


    .events-list-section {
        padding: 50px 18px;
    }


    .event-card-header {
        grid-template-columns: 1fr;

        text-align: center;
    }


    .event-date-box {
        width: 105px;

        margin: 0 auto;
    }


    .event-details,
    .event-training {
        padding: 22px 20px;
    }


    .event-information-section {
        padding: 50px 18px;
    }


    .event-information-panel {
        display: block;

        text-align: center;
    }


    .event-information-icon {
        margin-bottom: 10px;
    }

}

/* =====================================================
   SMALLER BANNERS FOR INTERIOR PAGES
===================================================== */

.about-hero,
.schedule-hero,
.sacraments-hero,
.ministries-hero,
.events-hero {
    min-height: 0 !important;

    padding:
        35px 20px !important;
}


.about-cross,
.schedule-cross,
.sacraments-cross,
.ministries-cross,
.events-cross {
    margin-bottom: 5px;

    font-size: 28px;
}


.about-hero h2,
.schedule-hero h2,
.sacraments-hero h2,
.ministries-hero h2,
.events-hero h2 {
    margin-bottom: 7px;

    font-size:
        clamp(
            30px,
            4vw,
            42px
        );
}


.about-hero p,
.schedule-hero p,
.sacraments-hero p,
.ministries-hero p,
.events-hero p {
    font-size: 17px;
}


/* Smaller interior banners on phones */

@media (max-width: 600px) {

    .about-hero,
    .schedule-hero,
    .sacraments-hero,
    .ministries-hero,
    .events-hero {
        padding:
            28px 18px !important;
    }


    .about-hero h2,
    .schedule-hero h2,
    .sacraments-hero h2,
    .ministries-hero h2,
    .events-hero h2 {
        font-size: 29px;
    }

}

/* Move homepage welcome text closer to bottom */

.hero-overlay {
    align-items: flex-end;
}


.hero-content {
    padding:
        40px 20px 25px;
}


/* Keep enough spacing on mobile */

@media (max-width: 600px) {

    .hero-content {
        padding:
            30px 18px 35px;
    }

}

/* =====================================================
   WARM BACKGROUND COLOR THEME
===================================================== */

body {
    background: #f3ede2;
}


/* Main light-brown sections */

.mass-section,
.resources-section,
.about-section,
.schedule-section,
.special-schedule-section,
.sacraments-introduction,
.sacraments-section,
.ministries-introduction,
.ministry-category,
.events-list-section {
    background: #f3ede2;
}


/* Slightly darker alternating sections */

.information-section,
.confession-section,
.sacrament-contact-section,
.alternate-category,
.ministry-contact-section,
.event-information-section {
    background: #e9dfcf;
}


/* Warm white cards */

.mass-card,
.information-panel,
.events-panel,
.resource-card,
.about-story,
.about-details,
.schedule-card,
.confession-content,
.special-card,
.sacrament-card,
.ministry-card,
.parish-event-card {
    background: #fffdf8;
}


/* Softer brown borders */

.mass-card,
.resource-card,
.schedule-card,
.special-card,
.sacrament-card,
.ministry-card,
.parish-event-card {
    border-color: #d8c7aa;
}

/* =====================================================
   REDUCE SECTION SPACING
===================================================== */

.mass-section,
.information-section,
.resources-section,
.about-section,
.schedule-section,
.confession-section,
.special-schedule-section,
.sacraments-introduction,
.sacraments-section,
.sacrament-contact-section,
.ministries-introduction,
.ministry-category,
.ministry-contact-section,
.events-list-section,
.event-information-section {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
}


/* Reduce space beneath section headings */

.section-heading {
    margin-bottom: 28px;
}


/* Reduce spacing between cards */

.mass-grid,
.resource-grid,
.schedule-card-grid,
.special-card-grid,
.sacrament-card-grid,
.ministry-card-grid,
.events-list {
    gap: 18px;
}


/* Reduce category heading spacing */

.category-title {
    margin-bottom: 22px;
}


/* Smaller spacing on phones */

@media (max-width: 600px) {

    .mass-section,
    .information-section,
    .resources-section,
    .about-section,
    .schedule-section,
    .confession-section,
    .special-schedule-section,
    .sacraments-introduction,
    .sacraments-section,
    .sacrament-contact-section,
    .ministries-introduction,
    .ministry-category,
    .ministry-contact-section,
    .events-list-section,
    .event-information-section {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }


    .section-heading {
        margin-bottom: 22px;
    }

}

/* =====================================================
   PARISH RESOURCES PAGE
===================================================== */

.resources-page-hero {
    min-height: 0;

    padding: 35px 20px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #243447,
            #34495e
        );

    text-align: center;
}


.resources-page-cross {
    display: block;

    margin-bottom: 5px;

    color: #d6bd7a;

    font-size: 28px;
}


.resources-page-hero h2 {
    margin: 0 0 7px;

    font-size:
        clamp(
            30px,
            4vw,
            42px
        );
}


.resources-page-hero p {
    max-width: 700px;

    margin: 0 auto;

    color: #f2e8cc;

    font-size: 17px;

    line-height: 1.6;
}


/* =====================================================
   RESOURCES INTRODUCTION
===================================================== */

.resources-introduction {
    padding: 45px 20px;

    background: #f3ede2;

    text-align: center;
}


.resources-introduction p {
    max-width: 760px;

    margin: 0 auto;

    color: #666666;

    font-size: 17px;

    line-height: 1.8;
}


/* =====================================================
   RESOURCE CARDS
===================================================== */

.resources-page-section {
    padding: 45px 20px;

    background: #e9dfcf;
}


.resources-page-grid {
    display: grid;

    max-width: 1100px;

    margin: 0 auto;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}


.parish-resource-card {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 27px;

    background: #fffdf8;

    border:
        1px solid #d8c7aa;

    border-radius: 8px;

    box-shadow:
        0 5px 18px
        rgba(36, 52, 71, 0.07);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.parish-resource-card:hover {
    border-color: #b79b5b;

    transform:
        translateY(-3px);

    box-shadow:
        0 8px 22px
        rgba(36, 52, 71, 0.12);
}


.parish-resource-icon {
    display: flex;

    width: 48px;

    height: 48px;

    flex-shrink: 0;

    justify-content: center;

    align-items: center;

    color: #9a7a36;

    background: #f3e8d5;

    border-radius: 50%;

    font-size: 23px;
}


.parish-resource-content {
    display: flex;

    min-height: 145px;

    flex: 1;

    flex-direction: column;
}


.parish-resource-content h3 {
    margin: 0 0 8px;

    color: #243447;

    font-size: 19px;
}


.parish-resource-content p {
    margin: 0 0 18px;

    color: #666666;

    line-height: 1.65;
}


.resource-page-link {
    display: inline-block;

    align-self: flex-start;

    padding: 8px 15px;

    margin-top: auto;

    color: #ffffff;

    background: #243447;

    border-radius: 4px;

    text-decoration: none;

    font-size: 14px;
}


.resource-page-link:hover {
    background: #34495e;
}


.disabled-resource-link {
    color: #766b59;

    background: #e1d7c7;

    cursor: default;
}


.disabled-resource-link:hover {
    background: #e1d7c7;
}


.catholic-links-card {
    grid-column: 1 / -1;
}


/* =====================================================
   RESOURCE INFORMATION PANEL
===================================================== */

.resource-information-section {
    padding: 45px 20px;

    background: #f3ede2;
}


.resource-information-panel {
    display: grid;

    max-width: 1000px;

    margin: 0 auto;

    padding: 30px;

    grid-template-columns:
        auto 1fr auto;

    gap: 22px;

    align-items: center;

    background: #fffdf8;

    border-left:
        5px solid #b79b5b;

    border-radius: 8px;

    box-shadow:
        0 5px 18px
        rgba(36, 52, 71, 0.08);
}


.resource-information-icon {
    color: #9a7a36;

    font-size: 32px;
}


.resource-information-panel h2 {
    margin: 0 0 7px;

    color: #243447;

    font-size: 23px;
}


.resource-information-panel p {
    margin: 0;

    color: #666666;

    line-height: 1.6;
}


/* =====================================================
   RESOURCES MOBILE
===================================================== */

@media (max-width: 768px) {

    .resources-page-grid {
        grid-template-columns: 1fr;
    }


    .catholic-links-card {
        grid-column: auto;
    }


    .resource-information-panel {
        grid-template-columns: 1fr;

        text-align: center;
    }


    .resource-information-icon {
        margin: 0 auto;
    }


    .resource-information-panel .panel-button {
        justify-self: center;
    }

}


@media (max-width: 600px) {

    .resources-page-hero {
        padding: 28px 18px;
    }


    .resources-page-hero h2 {
        font-size: 29px;
    }


    .resources-introduction,
    .resources-page-section,
    .resource-information-section {
        padding: 32px 18px;
    }


    .parish-resource-card {
        padding: 23px 20px;
    }


    .parish-resource-content {
        min-height: 0;
    }


    .resource-information-panel {
        padding: 25px 20px;
    }

}

/* =====================================================
   CONTACT PAGE
===================================================== */

.contact-page-hero {
    min-height: 0;

    padding: 35px 20px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #243447,
            #34495e
        );

    text-align: center;
}


.contact-page-cross {
    display: block;

    margin-bottom: 5px;

    color: #d6bd7a;

    font-size: 28px;
}


.contact-page-hero h2 {
    margin: 0 0 7px;

    font-size:
        clamp(
            30px,
            4vw,
            42px
        );
}


.contact-page-hero p {
    max-width: 700px;

    margin: 0 auto;

    color: #f2e8cc;

    font-size: 17px;

    line-height: 1.6;
}


/* =====================================================
   CONTACT INFORMATION
===================================================== */

.contact-page-section {
    padding: 45px 20px;

    background: #f3ede2;
}


.contact-page-grid {
    display: grid;

    max-width: 1100px;

    margin: 0 auto;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}


.contact-information-card {
    padding: 28px;

    background: #fffdf8;

    border:
        1px solid #d8c7aa;

    border-radius: 8px;

    box-shadow:
        0 5px 18px
        rgba(36, 52, 71, 0.07);

    text-align: center;
}


.contact-information-icon {
    display: flex;

    width: 52px;

    height: 52px;

    margin: 0 auto 15px;

    justify-content: center;

    align-items: center;

    color: #9a7a36;

    background: #f3e8d5;

    border-radius: 50%;

    font-size: 24px;
}


.contact-information-card h3 {
    margin: 0 0 9px;

    color: #243447;

    font-size: 19px;
}


.contact-information-card p {
    min-height: 48px;

    margin: 0 0 15px;

    color: #666666;

    line-height: 1.55;
}


.contact-action-link {
    display: inline-block;

    padding: 8px 15px;

    color: #ffffff;

    background: #243447;

    border-radius: 4px;

    text-decoration: none;

    font-size: 14px;
}


.contact-action-link:hover {
    background: #34495e;
}


/* =====================================================
   PASTOR CONTACT PANEL
===================================================== */

.contact-pastor-section {
    padding: 45px 20px;

    background: #e9dfcf;
}


.contact-pastor-panel {
    display: flex;

    max-width: 850px;

    margin: 0 auto;

    padding: 30px;

    align-items: flex-start;

    gap: 22px;

    background: #fffdf8;

    border-left:
        5px solid #b79b5b;

    border-radius: 8px;

    box-shadow:
        0 5px 18px
        rgba(36, 52, 71, 0.08);
}


.contact-pastor-icon {
    color: #9a7a36;

    font-size: 34px;
}


.contact-pastor-panel h2 {
    margin: 0 0 5px;

    color: #243447;

    font-size: 23px;
}


#contact-pastor-name {
    margin: 0 0 8px;

    color: #9a7a36;

    font-size: 18px;

    font-weight: 600;
}


#contact-pastor-text {
    margin: 0;

    color: #666666;

    line-height: 1.6;
}


/* =====================================================
   CONTACT SOCIAL MEDIA
===================================================== */

.contact-social-section {
    padding: 45px 20px;

    background: #f3ede2;

    text-align: center;
}


.contact-social-section > .container > p {
    max-width: 700px;

    margin: 0 auto 24px;

    color: #666666;

    font-size: 17px;

    line-height: 1.7;
}


.contact-social-links {
    display: flex;

    justify-content: center;

    gap: 15px;
}


.contact-social-button {
    display: inline-block;

    min-width: 130px;

    padding: 11px 20px;

    color: #ffffff;

    background: #243447;

    border-radius: 4px;

    text-decoration: none;

    font-weight: 600;
}


.contact-social-button:hover {
    background: #34495e;
}


/* =====================================================
   CONTACT MOBILE
===================================================== */

@media (max-width: 700px) {

    .contact-page-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .contact-page-hero {
        padding: 28px 18px;
    }


    .contact-page-hero h2 {
        font-size: 29px;
    }


    .contact-page-section,
    .contact-pastor-section,
    .contact-social-section {
        padding: 32px 18px;
    }


    .contact-information-card {
        padding: 23px 20px;
    }


    .contact-pastor-panel {
        display: block;

        padding: 25px 20px;

        text-align: center;
    }


    .contact-pastor-icon {
        margin-bottom: 10px;
    }


    .contact-social-links {
        flex-direction: column;

        align-items: center;
    }


    .contact-social-button {
        width: 100%;

        max-width: 260px;
    }

}

/* =====================================================
   HOMEPAGE HERO TEXT — SMALLER AND SOFTER
===================================================== */

.hero-content {
    width: min(760px, 88%);

    padding:
        30px 20px 45px;
}


.hero-cross {
    margin-bottom: 7px;

    color: #d8b65a;

    font-size: 26px;
}


.hero h2 {
    max-width: 760px;

    margin: 0 auto 12px;

    color: #fff4dc;

    font-size:
        clamp(
            30px,
            3.2vw,
            42px
        );

    font-weight: 500;

    line-height: 1.15;

    text-shadow:
        0 2px 6px
        rgba(0, 0, 0, 0.55);
}


.hero p {
    max-width: 620px;

    margin: 0 auto;

    color: #f1ddb0;

    font-size:
        clamp(
            14px,
            1.25vw,
            17px
        );

    font-weight: 400;

    line-height: 1.55;

    text-shadow:
        0 1px 4px
        rgba(0, 0, 0, 0.65);
}


/* Mobile hero text */

@media (max-width: 600px) {

    .hero-content {
        width: 92%;

        padding:
            25px 15px 30px;
    }


    .hero-cross {
        font-size: 22px;
    }


    .hero h2 {
        font-size: 28px;
    }


    .hero p {
        font-size: 14px;
    }

}

/* Light sand area beneath homepage image */

.hero-overlay {
    background: transparent;
}


/* Darker text for the light background */

.hero h2 {
    color: #243447;

    text-shadow: none;
}


.hero p {
    color: #806a3c;

    text-shadow: none;
}


.hero-cross {
    color: #b08a3c;
}

/* =====================================================
   HOMEPAGE CHURCH IMAGE
===================================================== */

.hero-image-section {
    width: 100%;

    overflow: hidden;

    background: #f3ede2;

    line-height: 0;
}


.church-hero-image {
    display: block;

    width: 100%;

    height: auto;

    object-fit: contain;
}


/* =====================================================
   HOMEPAGE WELCOME MESSAGE
===================================================== */

.welcome-section {
    padding: 25px 20px;

    background: #f3ede2;

    text-align: center;
}


.welcome-content {
    max-width: 760px;

    margin: 0 auto;
}


.welcome-content h2 {
    margin: 0 0 8px;

    color: #243447;

    font-size:
        clamp(
            27px,
            3vw,
            38px
        );

    font-weight: 500;

    line-height: 1.2;
}


.welcome-content p {
    max-width: 620px;

    margin: 0 auto;

    color: #806a3c;

    font-size:
        clamp(
            14px,
            1.3vw,
            17px
        );

    line-height: 1.55;
}


/* Mobile */

@media (max-width: 600px) {

    .welcome-section {
        padding: 20px 18px;
    }


    .welcome-content h2 {
        font-size: 26px;
    }


    .welcome-content p {
        font-size: 14px;
    }

}

/* Increase homepage welcome text by approximately 15% */

#hero-title {
    font-size: 41px;

    font-weight: 600;
}


#hero-text {
    font-size: 18px;

    font-weight: 600;
}


/* Mobile sizes */

@media (max-width: 600px) {

    #hero-title {
        font-size: 30px;
    }


    #hero-text {
        font-size: 16px;
    }

}

/* =====================================================
   BULLETINS PAGE
===================================================== */

.bulletins-hero {
    min-height: 0;

    padding: 35px 20px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #243447,
            #34495e
        );

    text-align: center;
}


.bulletins-cross {
    display: block;

    margin-bottom: 5px;

    color: #d6bd7a;

    font-size: 28px;
}


.bulletins-hero h2 {
    margin: 0 0 7px;

    font-size:
        clamp(
            30px,
            4vw,
            42px
        );
}


.bulletins-hero p {
    max-width: 700px;

    margin: 0 auto;

    color: #f2e8cc;

    font-size: 17px;

    line-height: 1.6;
}


/* =====================================================
   BULLETIN LIST
===================================================== */

.bulletins-section {
    padding: 45px 20px;

    background: #f3ede2;
}


.bulletins-list {
    display: grid;

    max-width: 1000px;

    margin: 0 auto;

    gap: 18px;
}


.bulletin-card {
    display: grid;

    padding: 25px;

    grid-template-columns:
        auto 1fr auto;

    gap: 20px;

    align-items: center;

    background: #fffdf8;

    border:
        1px solid #d8c7aa;

    border-radius: 8px;

    box-shadow:
        0 5px 18px
        rgba(36, 52, 71, 0.07);
}


.bulletin-card-icon {
    display: flex;

    width: 55px;

    height: 55px;

    justify-content: center;

    align-items: center;

    background: #f3e8d5;

    border-radius: 50%;

    font-size: 27px;
}


.bulletin-card-content h3 {
    margin: 0 0 5px;

    color: #243447;

    font-size: 20px;
}


.bulletin-date {
    margin: 0 0 6px;

    color: #9a7a36;

    font-weight: 600;
}


.bulletin-description {
    margin: 0;

    color: #666666;

    line-height: 1.55;
}


.bulletin-actions {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.bulletin-button {
    display: inline-block;

    min-width: 130px;

    padding: 9px 15px;

    color: #ffffff;

    background: #243447;

    border-radius: 4px;

    text-align: center;

    text-decoration: none;

    font-size: 14px;
}


.bulletin-button:hover {
    background: #34495e;
}


.bulletin-download-button {
    color: #243447;

    background: #e9dfcf;

    border:
        1px solid #d8c7aa;
}


.bulletin-download-button:hover {
    background: #dfd1bb;
}


/* =====================================================
   NO BULLETINS
===================================================== */

.no-bulletins-message {
    max-width: 700px;

    margin: 0 auto;

    padding: 40px 30px;

    color: #666666;

    background: #fffdf8;

    border:
        1px solid #d8c7aa;

    border-radius: 8px;

    text-align: center;
}


.no-bulletins-message span {
    display: block;

    margin-bottom: 10px;

    font-size: 38px;
}


.no-bulletins-message h3 {
    margin: 0 0 8px;

    color: #243447;

    font-size: 21px;
}


.no-bulletins-message p {
    margin: 0;

    line-height: 1.65;
}


/* =====================================================
   BULLETIN HELP PANEL
===================================================== */

.bulletin-help-section {
    padding: 45px 20px;

    background: #e9dfcf;
}


.bulletin-help-panel {
    display: grid;

    max-width: 950px;

    margin: 0 auto;

    padding: 30px;

    grid-template-columns:
        auto 1fr auto;

    gap: 22px;

    align-items: center;

    background: #fffdf8;

    border-left:
        5px solid #b79b5b;

    border-radius: 8px;

    box-shadow:
        0 5px 18px
        rgba(36, 52, 71, 0.08);
}


.bulletin-help-icon {
    color: #9a7a36;

    font-size: 32px;
}


.bulletin-help-panel h2 {
    margin: 0 0 7px;

    color: #243447;

    font-size: 23px;
}


.bulletin-help-panel p {
    margin: 0;

    color: #666666;

    line-height: 1.6;
}


/* =====================================================
   BULLETINS MOBILE
===================================================== */

@media (max-width: 768px) {

    .bulletin-card {
        grid-template-columns:
            auto 1fr;
    }


    .bulletin-actions {
        grid-column: 1 / -1;

        flex-direction: row;

        justify-content: center;
    }


    .bulletin-help-panel {
        grid-template-columns: 1fr;

        text-align: center;
    }


    .bulletin-help-panel .panel-button {
        justify-self: center;
    }

}


@media (max-width: 550px) {

    .bulletins-hero {
        padding: 28px 18px;
    }


    .bulletins-hero h2 {
        font-size: 29px;
    }


    .bulletins-section,
    .bulletin-help-section {
        padding: 32px 18px;
    }


    .bulletin-card {
        grid-template-columns: 1fr;

        text-align: center;
    }


    .bulletin-card-icon {
        margin: 0 auto;
    }


    .bulletin-actions {
        display: grid;

        grid-column: auto;
    }


    .bulletin-button {
        width: 100%;
    }


    .bulletin-help-panel {
        padding: 25px 20px;
    }

}

/* =====================================================
   PHOTO GALLERY PAGE
===================================================== */

.gallery-page-hero {
    min-height: 0;

    padding: 35px 20px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #243447,
            #34495e
        );

    text-align: center;
}


.gallery-page-cross {
    display: block;

    margin-bottom: 5px;

    color: #d6bd7a;

    font-size: 28px;
}


.gallery-page-hero h2 {
    margin: 0 0 7px;

    font-size:
        clamp(
            30px,
            4vw,
            42px
        );
}


.gallery-page-hero p {
    max-width: 700px;

    margin: 0 auto;

    color: #f2e8cc;

    font-size: 17px;

    line-height: 1.6;
}


/* =====================================================
   GALLERY ALBUM CARDS
===================================================== */

.gallery-albums-section {
    padding: 45px 20px;

    background: #f3ede2;
}


.gallery-albums-grid {
    display: grid;

    max-width: 1150px;

    margin: 0 auto;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


.gallery-album-card {
    overflow: hidden;

    background: #fffdf8;

    border:
        1px solid #d8c7aa;

    border-radius: 8px;

    box-shadow:
        0 5px 18px
        rgba(36, 52, 71, 0.08);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.gallery-album-card:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 9px 24px
        rgba(36, 52, 71, 0.14);
}


.gallery-cover-link {
    display: block;

    overflow: hidden;
}


.gallery-cover-image {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 10;

    object-fit: cover;

    transition:
        transform 0.3s ease;
}


.gallery-album-card:hover
.gallery-cover-image {
    transform:
        scale(1.035);
}


.gallery-album-content {
    padding: 22px;
}


.gallery-album-content h3 {
    margin: 0 0 7px;

    color: #243447;

    font-size: 20px;

    line-height: 1.4;
}


.gallery-album-date {
    margin: 0 0 10px;

    color: #9a7a36;

    font-weight: 600;
}


.gallery-album-description {
    margin: 0 0 18px;

    color: #666666;

    line-height: 1.6;
}


.gallery-album-details {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    padding-top: 15px;

    border-top:
        1px solid #e5d9c5;

    color: #766b59;

    font-size: 14px;
}


.gallery-view-button {
    display: inline-block;

    padding: 8px 14px;

    color: #ffffff;

    background: #243447;

    border-radius: 4px;

    text-decoration: none;
}


.gallery-view-button:hover {
    background: #34495e;
}


/* =====================================================
   NO GALLERY ALBUMS
===================================================== */

.no-albums-message {
    max-width: 700px;

    margin: 0 auto;

    padding: 40px 30px;

    color: #666666;

    background: #fffdf8;

    border:
        1px solid #d8c7aa;

    border-radius: 8px;

    text-align: center;
}


.no-albums-message span {
    display: block;

    margin-bottom: 10px;

    font-size: 38px;
}


.no-albums-message h3 {
    margin: 0 0 8px;

    color: #243447;

    font-size: 21px;
}


.no-albums-message p {
    margin: 0;

    line-height: 1.65;
}


/* =====================================================
   GALLERY INFORMATION
===================================================== */

.gallery-information-section {
    padding: 45px 20px;

    background: #e9dfcf;
}


.gallery-information-panel {
    display: flex;

    max-width: 900px;

    margin: 0 auto;

    padding: 28px;

    align-items: center;

    gap: 20px;

    background: #fffdf8;

    border-left:
        5px solid #b79b5b;

    border-radius: 8px;
}


.gallery-information-icon {
    flex-shrink: 0;

    font-size: 32px;
}


.gallery-information-panel h2 {
    margin: 0 0 7px;

    color: #243447;

    font-size: 22px;
}


.gallery-information-panel p {
    margin: 0;

    color: #666666;

    line-height: 1.6;
}


/* =====================================================
   GALLERY MOBILE
===================================================== */

@media (max-width: 900px) {

    .gallery-albums-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .gallery-page-hero {
        padding: 28px 18px;
    }


    .gallery-page-hero h2 {
        font-size: 29px;
    }


    .gallery-albums-section,
    .gallery-information-section {
        padding: 32px 18px;
    }


    .gallery-albums-grid {
        grid-template-columns: 1fr;
    }


    .gallery-information-panel {
        display: block;

        text-align: center;
    }


    .gallery-information-icon {
        margin-bottom: 10px;
    }

}

/* =====================================================
   PHOTO ALBUM PAGE
===================================================== */

.album-page-hero {
    min-height: 0;

    padding: 35px 20px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #243447,
            #34495e
        );

    text-align: center;
}


.album-page-cross {
    display: block;

    margin-bottom: 5px;

    color: #d6bd7a;

    font-size: 28px;
}


.album-page-hero h2 {
    margin: 0 0 7px;

    font-size:
        clamp(
            30px,
            4vw,
            42px
        );
}


.album-page-hero p {
    margin: 0;

    color: #f2e8cc;

    font-size: 17px;
}


/* =====================================================
   ALBUM CONTENT
===================================================== */

.album-section {
    padding: 40px 20px 50px;

    background: #f3ede2;
}


.album-navigation {
    max-width: 1150px;

    margin: 0 auto 20px;
}


.album-back-link {
    color: #243447;

    font-weight: 600;

    text-decoration: none;
}


.album-back-link:hover {
    color: #9a7a36;

    text-decoration: underline;
}


.album-description {
    max-width: 850px;

    margin: 0 auto 30px;

    color: #666666;

    font-size: 17px;

    line-height: 1.7;

    text-align: center;
}


/* =====================================================
   ALBUM PHOTO GRID
===================================================== */

.album-photo-grid {
    display: grid;

    max-width: 1150px;

    margin: 0 auto;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}


.album-photo-button {
    display: block;

    overflow: hidden;

    padding: 0;

    background: #fffdf8;

    border:
        3px solid #fffdf8;

    border-radius: 6px;

    box-shadow:
        0 4px 13px
        rgba(36, 52, 71, 0.12);

    cursor: pointer;
}


.album-photo-button:hover {
    border-color: #b79b5b;
}


.album-photo-image {
    display: block;

    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    transition:
        transform 0.25s ease;
}


.album-photo-button:hover
.album-photo-image {
    transform:
        scale(1.04);
}


/* =====================================================
   ALBUM ERROR
===================================================== */

.album-error-message {
    display: none;

    max-width: 650px;

    margin: 0 auto;

    padding: 40px 30px;

    color: #666666;

    background: #fffdf8;

    border:
        1px solid #d8c7aa;

    border-radius: 8px;

    text-align: center;
}


.album-error-message span {
    display: block;

    margin-bottom: 10px;

    font-size: 38px;
}


.album-error-message h3 {
    margin: 0 0 8px;

    color: #243447;

    font-size: 21px;
}


.album-error-message p {
    margin: 0 0 20px;

    line-height: 1.6;
}


/* =====================================================
   FULL-SCREEN PHOTO VIEWER
===================================================== */

.photo-viewer {
    position: fixed;

    z-index: 5000;

    inset: 0;

    display: none;

    padding: 55px 80px;

    justify-content: center;

    align-items: center;

    background:
        rgba(
            15,
            25,
            38,
            0.94
        );
}


.photo-viewer-open {
    display: flex;
}


.photo-viewer-active {
    overflow: hidden;
}


.photo-viewer-image {
    display: block;

    max-width: 92vw;

    max-height: 82vh;

    object-fit: contain;

    border:
        3px solid #fffdf8;

    box-shadow:
        0 8px 30px
        rgba(0, 0, 0, 0.5);
}


.photo-viewer-close {
    position: absolute;

    top: 15px;

    right: 25px;

    padding: 5px 12px;

    color: #ffffff;

    background: transparent;

    border: none;

    font-size: 42px;

    cursor: pointer;
}


.photo-viewer-navigation {
    position: absolute;

    top: 50%;

    padding: 8px 15px;

    color: #ffffff;

    background:
        rgba(
            255,
            255,
            255,
            0.12
        );

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.3
        );

    border-radius: 5px;

    font-size: 45px;

    cursor: pointer;

    transform:
        translateY(-50%);
}


.photo-viewer-navigation:hover {
    background:
        rgba(
            255,
            255,
            255,
            0.22
        );
}


.photo-viewer-previous {
    left: 20px;
}


.photo-viewer-next {
    right: 20px;
}


.photo-viewer-caption {
    position: absolute;

    right: 20px;

    bottom: 15px;

    left: 20px;

    margin: 0;

    color: #ffffff;

    font-size: 15px;

    text-align: center;
}


/* =====================================================
   ALBUM MOBILE
===================================================== */

@media (max-width: 850px) {

    .album-photo-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 550px) {

    .album-page-hero {
        padding: 28px 18px;
    }


    .album-page-hero h2 {
        font-size: 29px;
    }


    .album-section {
        padding: 30px 15px 40px;
    }


    .album-photo-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .photo-viewer {
        padding: 50px 12px;
    }


    .photo-viewer-navigation {
        top: auto;

        bottom: 45px;

        font-size: 34px;

        transform: none;
    }


    .photo-viewer-previous {
        left: 20px;
    }


    .photo-viewer-next {
        right: 20px;
    }


    .photo-viewer-caption {
        bottom: 14px;

        font-size: 13px;
    }

}

/* Parish logo inside inner-page banners */

.page-hero-logo {
    display: block;
    width: 76px;
    height: 76px;
    margin: 0 auto 10px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    border: 2px solid #c5a052;
    background-color: #fffdf8;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
}

@media (max-width: 600px) {

    .page-hero-logo {
        width: 62px;
        height: 62px;
        margin-bottom: 5px;
    }

}

/* Parish logo in the main header */

.header-parish-logo {
  display: block;
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  margin-right: 18px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(
    0 2px 4px rgba(0, 0, 0, 0.18)
  );
  transition: transform 0.2s ease;
}

.church-brand:hover .header-parish-logo {
  transform: scale(1.04);
}

@media (max-width: 600px) {
  .header-parish-logo {
    width: 58px;
    height: 58px;
    margin-right: 12px;
  }
}

/* =====================================================
   MASS READINGS PAGE
===================================================== */


/* Page banner */

.readings-hero {
  padding: 45px 20px;
  text-align: center;
  color: #ffffff;
  background-color: #30465c;
}

.readings-cross {
  display: block;
  margin-bottom: 8px;
  color: #d4ad59;
  font-size: 28px;
  line-height: 1;
}

.readings-hero h2 {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.2;
}

.readings-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: #f5e4bc;
  font-size: 19px;
  line-height: 1.6;
}


/* Reading resources */

.readings-section {
  padding: 55px 20px;
  background-color: #f3ede2;
}

.readings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 35px;
}


/* Reading card */

.reading-resource-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
  padding: 32px 26px;
  text-align: center;
  background-color: #fffdf8;
  border: 1px solid #ddcfb6;
  border-radius: 10px;
  box-shadow: 0 7px 20px rgba(36, 52, 71, 0.09);
}

.reading-resource-icon {
  margin-bottom: 18px;
  font-size: 40px;
  line-height: 1;
}

.reading-resource-card h3 {
  margin: 0 0 14px;
  color: #243447;
  font-size: 23px;
  line-height: 1.35;
}

.reading-resource-card p {
  margin: 0 0 24px;
  color: #5f564b;
  font-size: 16px;
  line-height: 1.65;
}

.reading-resource-button {
  display: inline-block;
  margin-top: auto;
  padding: 11px 20px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  background-color: #9c7627;
  border-radius: 5px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.reading-resource-button:hover,
.reading-resource-button:focus {
  color: #ffffff;
  background-color: #73561b;
  transform: translateY(-2px);
}


/* Information panel */

.readings-information-section {
  padding: 40px 20px 55px;
  background-color: #e9dfcf;
}

.readings-information-panel {
  display: flex;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 32px;
  background-color: #fffdf8;
  border-left: 5px solid #b28b3d;
  border-radius: 7px;
  box-shadow: 0 5px 16px rgba(36, 52, 71, 0.08);
}

.readings-information-icon {
  flex: 0 0 auto;
  margin-right: 22px;
  font-size: 38px;
}

.readings-information-panel h2 {
  margin: 0 0 10px;
  color: #243447;
  font-size: 25px;
}

.readings-information-panel p {
  margin: 0 0 10px;
  color: #554d43;
  line-height: 1.65;
}

.external-link-note {
  color: #8c681f !important;
  font-size: 14px;
  font-style: italic;
}


/* Tablet */

@media (max-width: 900px) {

  .readings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* Mobile */

@media (max-width: 600px) {

  .readings-hero {
    padding: 32px 18px;
  }

  .readings-hero h2 {
    font-size: 32px;
  }

  .readings-hero p {
    font-size: 17px;
  }

  .readings-section {
    padding: 40px 16px;
  }

  .readings-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 25px;
  }

  .reading-resource-card {
    min-height: 0;
    padding: 27px 21px;
  }

  .readings-information-section {
    padding: 30px 16px 40px;
  }

  .readings-information-panel {
    display: block;
    padding: 24px 21px;
    text-align: center;
  }

  .readings-information-icon {
    margin: 0 0 12px;
  }

}