/*
Theme Name: Pathway of Faith
Author: Jim
Description: Custom ministry theme with modular homepage, devotional/sermon system, scripture highlighting, and pastoral layouts.
Version: 3.0
*/

/* RESET */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f8f8f8;
    color: #333;
    line-height: 1.7;
    font-size: 18px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #9c7616;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #b38a1e;
    text-decoration: underline;
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid #d4af37;
    outline-offset: 3px;
}

/* WRAPPERS */
.page-wrapper,
.pof-page-wrapper {
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.pof-home-wrapper {
    width: 100%;
    margin: 0 auto;
}

/* HEADER */
#site-header {
    background: #fff;
    width: 100%;
}

.top-nav {
    padding: 18px 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.nav-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.site-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #9c7616;
    text-decoration: none;
}

/* NAVIGATION */
.main-navigation,
.main-navigation div,
.main-navigation ul,
.main-navigation .nav-menu {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.main-navigation ul,
.main-navigation .nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.main-navigation li {
    list-style: none !important;
}

.main-navigation a {
    font-weight: 600;
    color: #333;
    font-size: 1.05rem;
    text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: #9c7616;
    text-decoration: underline;
}

/* HERO IMAGE BANNER */
.hero-banner {
    width: 100%;
    background: #000;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* HIDE OLD OVERLAY ELEMENTS */
.hero-overlay,
.hero-container,
.hero-title,
.hero-banner h1,
.hero-banner h2,
.hero-banner p {
    display: none !important;
}

/* HOMEPAGE */
.pof-home-intro,
.pof-about-section,
.pof-featured-scripture,
.pof-cta-section,
.pof-pathways-section,
.pof-latest-section {
    padding: 50px 20px;
    background: #fff;
}

.pof-about-section,
.pof-pathways-section {
    background: #f4f4f4;
}

.pof-home-intro-inner,
.pof-about-inner,
.pof-featured-inner,
.pof-cta-inner,
.pof-pathways-inner,
.pof-latest-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* TYPOGRAPHY */
h1,
.pof-home-intro h1,
.page-title,
.pof-archive-title {
    font-size: 2.4rem;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #2c3e50;
}

h2,
.pof-about-title,
.pof-cta-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

p {
    margin-bottom: 15px;
}

.pof-featured-verse {
    font-size: 1.25rem;
    font-style: italic;
}

.pof-featured-ref {
    font-weight: 700;
    color: #555;
}

/* CARDS */
.pof-pathway-grid,
.pof-latest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 25px;
}

.pof-pathway-card,
.pof-latest-card,
.archive-item,
.pof-archive-item {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: left;
}

.pof-pathway-card a,
.pof-latest-card a,
.pof-archive-readmore,
.btn-outline-gold {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    border: 1px solid #9c7616;
    border-radius: 4px;
    color: #9c7616;
    font-weight: 700;
    text-decoration: none;
}

.pof-pathway-card a:hover,
.pof-pathway-card a:focus,
.pof-latest-card a:hover,
.pof-latest-card a:focus,
.pof-archive-readmore:hover,
.pof-archive-readmore:focus,
.btn-outline-gold:hover,
.btn-outline-gold:focus {
    background: #9c7616;
    color: #fff;
    text-decoration: none;
}

/* CTA */
.pof-cta-button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 24px;
    background: #9c7616;
    color: #fff;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
}

.pof-cta-button:hover,
.pof-cta-button:focus {
    background: #7f5f10;
    color: #fff;
    text-decoration: none;
}

/* SINGLE POSTS */
.single-entry-header {
    text-align: center;
    margin-bottom: 30px;
}

.single-entry-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9c7616;
    font-weight: 700;
    font-size: 0.9rem;
}

.single-entry-meta {
    color: #666;
    font-size: 0.95rem;
}

.single-featured-image {
    margin-bottom: 30px;
}

.single-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    font-size: 1.1rem;
}

/* ARCHIVES */
.pof-archive-wrapper,
.archive-list {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.pof-archive-header {
    text-align: center;
    margin-bottom: 35px;
}

.pof-archive-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.pof-archive-list,
.archive-list {
    display: grid;
    gap: 24px;
}

.pof-archive-item-meta,
.archive-excerpt {
    color: #666;
    margin-bottom: 12px;
}

.archive-thumb {
    margin-bottom: 18px;
}

.archive-title a {
    color: #2c3e50;
    text-decoration: none;
}

.archive-title a:hover,
.archive-title a:focus {
    color: #9c7616;
    text-decoration: underline;
}

/* REACTIONS */
.devotional-reactions,
.devotional-feedback-poll {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    margin-top: 35px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.reaction-btn,
.archive-reaction-btn {
    margin: 8px;
    padding: 10px 16px;
    border-radius: 22px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-size: 1rem;
}

.reaction-btn:hover,
.reaction-btn:focus,
.reaction-btn.voted,
.archive-reaction-btn:hover,
.archive-reaction-btn:focus {
    background: #f4f4f4;
}

/* NAVIGATION HELPERS */
.single-nav,
.archive-pagination,
.pof-archive-pagination {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 35px;
}

.archive-pagination {
    align-items: center;
    flex-wrap: wrap;
}

.archive-pagination .nav-links {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.archive-pagination a,
.archive-pagination span {
    display: inline-block;
    padding: 8px 12px;
}

/* DIVIDER */
.section-divider {
    width: 100%;
    text-align: center;
    margin: 30px 0;
}

.section-divider span {
    display: inline-block;
    width: 80px;
    height: 3px;
    background: #d4af37;
}

/* FORMS */
input,
textarea,
select,
button {
    font-family: inherit;
}

input,
textarea,
select {
    width: 100%;
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    font-size: 1rem;
}

button {
    cursor: pointer;
}

/* FOOTER */
footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

footer p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #ccc;
}

footer a {
    color: #f1d27a;
}

footer a:hover,
footer a:focus {
    color: #fff;
}

/* ACCESSIBILITY */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* MOBILE */
@media (min-width: 768px) {
    .nav-inner {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 17px;
    }

    h1,
    .pof-home-intro h1,
    .page-title,
    .pof-archive-title {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.55rem;
    }

    .page-wrapper,
    .pof-page-wrapper,
    .pof-archive-wrapper,
    .archive-list {
        width: 94%;
        padding: 0 12px;
    }

    .single-content {
        padding: 22px;
    }

    .feedback-vote-row,
    .single-nav,
    .archive-pagination .nav-links {
        flex-direction: column;
    }

    .main-navigation ul,
    .main-navigation .nav-menu {
        gap: 12px;
    }
}
.devotional-audio-player {
    margin-bottom: 25px;
    text-align: left;
}

.pof-audio-button {
    padding: 12px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pof-audio-button[data-playing="true"] {
    background: #cc0000;
}

.feedback-vote-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.reaction-thanks-note {
    display: none;
    color: #2e7d32;
    font-weight: 700;
    margin-top: 15px;
}
.prayer-form {
    display: block;
    width: 100%;
    background: #fff;
    padding: 28px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    color: #2c3e50;
}

.form-submit-row {
    text-align: center;
    margin-top: 30px;
}

.prayer-success {
    background: #e8f5e9;
    border-left: 5px solid #4caf50;
    padding: 15px 20px;
    margin-bottom: 25px;
    font-size: 18px;
    color: #2e7d32;
}

.pof-verify-field {
    display: none !important;
    visibility: hidden;
}

.pof-prayer-links {
    margin-top: 45px;
}
.prayer-wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.prayer-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.prayer-card-header {
    margin-bottom: 10px;
}

.prayer-card-header h2 {
    font-size: 18px;
    margin: 0;
    color: #2c3e50;
}

.prayer-card-date {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
}

.prayer-card-body {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

.prayer-wall-empty {
    text-align: center;
    margin-top: 30px;
    font-size: 18px;
    color: #777;
}

.prayer-wall-intro {
    font-size: 18px;
    color: #555;
}

.prayer-request-page,
.prayer-wall-page {
    margin-top: 30px;
}
.pof-footer-inner {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.pof-scripture-box {
    margin-bottom: 20px;
}

.pof-scripture-text {
    font-size: 1.05rem;
    font-style: italic;
    color: #fff;
}

.pof-scripture-ref {
    font-weight: 700;
    color: #f1d27a;
}

.pof-footer-links {
    margin: 20px 0;
    line-height: 2;
}

.pof-footer-links a {
    margin: 0 6px;
}