/* Colombo Catholic Press – Home page modern refresh */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --ccp-primary: #1b3a5c;
    --ccp-primary-dark: #0f2540;
    --ccp-accent: #c9a227;
    --ccp-accent-light: #f5e6b8;
    --ccp-text: #2d3748;
    --ccp-muted: #64748b;
    --ccp-bg: #f8fafc;
    --ccp-card-shadow: 0 4px 24px rgba(27, 58, 92, 0.08);
    --ccp-radius: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--ccp-text);
}

h1, h2, h3, h4, h5, .wpo-section-title h2 {
    font-family: 'Playfair Display', serif;
}

/* Top bar */
#header {
    position: relative;
    z-index: 100;
    background: #fff;
}

/* Stack nav below topbar instead of overlapping it */
#header .wpo-site-header-s3 {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(27, 58, 92, 0.06);
}

#header .wpo-site-header-s3 .navigation {
    padding: 8px 0;
}

#header .wpo-site-header-s3 .navbar-brand img {
    max-height: 70px;
    width: auto;
}

.ccp-topbar {
    background: var(--ccp-primary-dark);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.ccp-topbar .container-fluid {
    padding-left: 40px;
    padding-right: 40px;
}

.ccp-topbar .row {
    margin: 0;
}

.ccp-topbar .col-lg-7,
.ccp-topbar .col-lg-5 {
    padding: 0;
}

.ccp-topbar a {
    color: #fff;
    text-decoration: none;
}

.ccp-topbar .contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 24px;
}

.ccp-topbar .contact-item i {
    color: var(--ccp-accent);
}

.ccp-topbar .topbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero */
.static-hero-s2.ccp-hero {
    margin-top: 0;
}

.static-hero-s2.ccp-hero .hero-content {
    max-width: 520px;
    padding-bottom: 80px;
}

.static-hero-s2.ccp-hero .slide-btns.ccp-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
    max-width: 100%;
    justify-content: flex-start;
}

.static-hero-s2.ccp-hero .theme-btn.ccp-btn-outline,
.ccp-cta-buttons .theme-btn.ccp-btn-outline {
    background: #fff !important;
    color: var(--ccp-primary) !important;
    border: 2px solid var(--ccp-primary) !important;
}

.static-hero-s2.ccp-hero .theme-btn.ccp-btn-outline:after,
.ccp-cta-buttons .theme-btn.ccp-btn-outline:after {
    display: none;
}

.static-hero-s2.ccp-hero .theme-btn.ccp-btn-outline:hover,
.ccp-cta-buttons .theme-btn.ccp-btn-outline:hover {
    background: var(--ccp-primary) !important;
    color: #fff !important;
    border-color: var(--ccp-primary) !important;
}

/* Legacy selector kept for hero outline */
.static-hero-s2.ccp-hero .ccp-btn-outline {
    background: #fff !important;
    color: var(--ccp-primary) !important;
    border: 2px solid var(--ccp-primary) !important;
}

.static-hero-s2.ccp-hero .ccp-btn-outline:after {
    display: none;
}

.static-hero-s2.ccp-hero .ccp-btn-outline:hover {
    background: var(--ccp-primary) !important;
    color: #fff !important;
    border-color: var(--ccp-primary) !important;
}

/* Keep award badge inside image area – avoids clash with buttons */
.static-hero-s2.ccp-hero .politian-pic .award {
    left: auto;
    right: 0;
    bottom: 18%;
    max-width: 260px;
    padding: 14px 16px;
    z-index: 3;
}

.static-hero-s2.ccp-hero .politian-pic .award h5 {
    font-size: 18px;
    line-height: 1.35;
}

/* Hide supporter block if present */
.static-hero-s2.ccp-hero .wpo-supporter {
    display: none !important;
}

.static-hero-s2.ccp-hero .slide-title h2 {
    font-size: 2.75rem;
    line-height: 1.2;
    color: var(--ccp-primary-dark);
}

.static-hero-s2.ccp-hero .slide-title h2 span {
    color: var(--ccp-accent);
}

.static-hero-s2.ccp-hero .slide-text p {
    font-size: 1.1rem;
    color: var(--ccp-muted);
    max-width: 520px;
}

.static-hero-s2.ccp-hero .theme-btn {
    background: var(--ccp-primary);
    border-color: var(--ccp-primary);
}

.static-hero-s2.ccp-hero .theme-btn:hover {
    background: var(--ccp-accent);
    border-color: var(--ccp-accent);
    color: var(--ccp-primary-dark);
}

/* Section headers */
.ccp-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.ccp-section-header span {
    display: inline-block;
    color: var(--ccp-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 8px;
}

.ccp-section-header h2 {
    font-size: 2.25rem;
    color: var(--ccp-primary-dark);
    margin: 0;
}

/* About */
.ccp-about {
    background: #fff;
    padding: 80px 0;
}

.ccp-about .wpo-about-img img {
    border-radius: var(--ccp-radius);
    box-shadow: var(--ccp-card-shadow);
}

.ccp-about .quote {
    background: var(--ccp-bg);
    border-left: 4px solid var(--ccp-accent);
    padding: 24px 28px;
    border-radius: 0 var(--ccp-radius) var(--ccp-radius) 0;
    margin: 24px 0;
}

.ccp-about .quote p {
    font-style: italic;
    line-height: 1.8;
    margin: 0;
    color: var(--ccp-text);
}

.ccp-about .wpo-about-left-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}

.ccp-about .wpo-about-left-text h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.ccp-about .signeture img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ccp-accent-light);
}

/* Publications */
.ccp-publications {
    background: var(--ccp-bg);
    padding: 80px 0;
}

.ccp-pub-card {
    background: #fff;
    border-radius: var(--ccp-radius);
    box-shadow: var(--ccp-card-shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ccp-pub-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(27, 58, 92, 0.15);
}

.ccp-pub-card .pub-image {
    padding: 24px;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, var(--ccp-bg) 100%);
}

.ccp-pub-card .pub-image img {
    max-height: 180px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.ccp-pub-card .pub-body {
    padding: 16px 16px 24px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ccp-pub-card .pub-body h3 {
    font-size: 1rem;
    color: var(--ccp-primary-dark);
    margin-bottom: 14px;
    line-height: 1.35;
}

.ccp-pub-card .pub-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.ccp-pub-card .ccp-pub-btn {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    border-radius: 8px;
    text-align: center;
}

.ccp-pub-card .ccp-pub-btn.theme-btn {
    background: var(--ccp-primary) !important;
    color: #fff !important;
    border: 2px solid var(--ccp-primary) !important;
}

.ccp-pub-card .ccp-pub-btn.theme-btn:after {
    display: none;
}

.ccp-pub-card .ccp-pub-btn.theme-btn:hover {
    background: var(--ccp-accent) !important;
    border-color: var(--ccp-accent) !important;
    color: var(--ccp-primary-dark) !important;
}

.ccp-pub-card .ccp-pub-btn.ccp-btn-outline {
    background: #fff !important;
    color: var(--ccp-primary) !important;
    border: 2px solid var(--ccp-primary) !important;
}

.ccp-pub-card .ccp-pub-btn.ccp-btn-outline:after {
    display: none;
}

.ccp-pub-card .ccp-pub-btn.ccp-btn-outline:hover {
    background: var(--ccp-primary) !important;
    color: #fff !important;
}

.ccp-pub-row {
    align-items: stretch;
}

.ccp-cta-buttons {
    text-align: center;
    margin-top: 40px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.ccp-cta-buttons .theme-btn {
    padding: 14px 36px;
    font-weight: 600;
    border-radius: 8px;
    min-width: 160px;
}

.ccp-cta-buttons .theme-btn:first-child {
    background: var(--ccp-primary);
    border-color: var(--ccp-primary);
}

.ccp-cta-buttons .theme-btn:last-child {
    background: #fff !important;
    color: var(--ccp-primary) !important;
    border: 2px solid var(--ccp-primary) !important;
}

.ccp-cta-buttons .theme-btn:last-child:after {
    display: none;
}

.ccp-cta-buttons .theme-btn:last-child:hover {
    background: var(--ccp-primary) !important;
    color: #fff !important;
}

/* Pricing */
.ccp-pricing {
    padding: 80px 0;
    background: #fff;
}

.ccp-price-card {
    background: var(--ccp-bg);
    border-radius: var(--ccp-radius);
    padding: 32px 28px;
    height: 100%;
    border: 1px solid #e2e8f0;
    transition: border-color 0.3s ease;
}

.ccp-price-card:hover {
    border-color: var(--ccp-accent);
}

.ccp-price-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--ccp-primary-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ccp-accent-light);
}

.ccp-price-card .price-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ccp-price-card .price-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.ccp-price-card .price-list li:last-child {
    border-bottom: none;
}

.ccp-price-card .price-list .amount {
    font-weight: 700;
    color: var(--ccp-primary);
}

.ccp-price-card .price-list .label {
    color: var(--ccp-muted);
}

/* Team / Editorial Staff */
.ccp-team {
    background: #fff;
    padding: 80px 0;
}

.ccp-editor-card {
    background: var(--ccp-bg);
    border: 1px solid #e2e8f0;
    border-radius: var(--ccp-radius);
    overflow: hidden;
    height: 100%;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.ccp-editor-card:hover {
    box-shadow: var(--ccp-card-shadow);
}

.ccp-editor-card .editor-paper-badge {
    background: var(--ccp-primary-dark);
    padding: 14px 20px;
}

.ccp-editor-card .editor-paper-badge img {
    max-height: 44px;
    width: auto;
    object-fit: contain;
}

.ccp-editor-card .editor-photo {
    padding: 28px 24px 0;
}

.ccp-editor-card .editor-photo img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 16px rgba(27, 58, 92, 0.12);
}

.ccp-editor-card .editor-info {
    padding: 20px 24px 28px;
    text-align: left;
}

.ccp-editor-card .editor-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--ccp-primary-dark);
    margin: 0 0 6px;
    line-height: 1.35;
}

.ccp-editor-card .editor-role {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ccp-accent);
    margin: 0 0 6px;
}

.ccp-editor-card .editor-paper {
    font-size: 14px;
    color: var(--ccp-muted);
    margin: 0 0 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    line-height: 1.5;
}

.ccp-editor-card .editor-staff-group {
    margin-bottom: 14px;
}

.ccp-editor-card .editor-staff-group:last-child {
    margin-bottom: 0;
}

.ccp-editor-card .editor-staff-group h4 {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ccp-primary);
    margin: 0 0 4px;
}

.ccp-editor-card .editor-staff-group p {
    font-size: 14px;
    color: var(--ccp-text);
    margin: 0;
    line-height: 1.55;
}

/* Header tweaks */
.wpo-site-header-s3 .theme-btn {
    background: var(--ccp-primary);
    border-color: var(--ccp-primary);
}

.wpo-site-header-s3 .theme-btn:hover {
    background: var(--ccp-accent);
    border-color: var(--ccp-accent);
    color: var(--ccp-primary-dark);
}

/* Footer accent */
.wpo-site-footer .wpo-upper-footer {
    background: var(--ccp-primary-dark);
}

.wpo-lower-footer .developed-by {
    margin-top: 6px;
    font-size: 13px;
    opacity: 0.85;
}

.wpo-lower-footer .developed-by a {
    color: inherit;
    text-decoration: underline;
}

.wpo-lower-footer .developed-by a:hover {
    color: var(--ccp-accent);
}

/* Responsive */
@media (max-width: 1199px) {
    .static-hero-s2.ccp-hero .hero-content {
        max-width: 420px;
    }

    .static-hero-s2.ccp-hero .politian-pic .award {
        max-width: 220px;
        bottom: 12%;
    }
}

@media (max-width: 991px) {
    .static-hero-s2.ccp-hero .slide-title h2 {
        font-size: 2rem;
    }

    .static-hero-s2.ccp-hero .hero-content {
        max-width: 100%;
        padding-bottom: 30px;
    }

    .static-hero-s2.ccp-hero .slide-btns.ccp-hero-btns {
        justify-content: center;
        margin-bottom: 30px;
    }

    .static-hero-s2.ccp-hero .politian-pic .award {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        max-width: 100%;
        margin-top: 20px;
    }

    .ccp-topbar .contact-item {
        margin-right: 12px;
        margin-bottom: 4px;
    }

    .ccp-about,
    .ccp-publications,
    .ccp-pricing,
    .ccp-team {
        padding: 50px 0;
    }
}

@media (max-width: 767px) {
    .ccp-section-header h2 {
        font-size: 1.75rem;
    }

    .ccp-about .wpo-about-left-info {
        flex-direction: column;
        text-align: center;
    }
}

/* Payment status / downloads page */
.ccp-payment-status {
    background: var(--ccp-bg);
    padding: 70px 0;
}

.ccp-payment-banner {
    background: #fff;
    border: 1px solid rgba(27, 58, 92, 0.08);
    border-left: 4px solid var(--ccp-accent);
    border-radius: var(--ccp-radius);
    box-shadow: var(--ccp-card-shadow);
    padding: 32px 28px;
    text-align: center;
    margin-bottom: 48px;
}

.ccp-payment-banner-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--ccp-accent-light);
    color: var(--ccp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.ccp-payment-banner h2 {
    font-size: 1.75rem;
    color: var(--ccp-primary-dark);
    margin-bottom: 8px;
}

.ccp-payment-banner h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ccp-accent);
    margin-bottom: 12px;
}

.ccp-payment-banner p {
    margin: 0;
    color: var(--ccp-muted);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.ccp-download-card .pub-body {
    gap: 16px;
}

.ccp-download-dates {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.ccp-download-date-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ccp-download-label {
    flex: 0 0 72px;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ccp-primary);
}

.ccp-download-select {
    flex: 1;
    min-height: 42px;
    border: 1px solid rgba(27, 58, 92, 0.15);
    border-radius: 8px;
    color: var(--ccp-text);
    font-size: 0.95rem;
    padding: 8px 12px;
    background-color: #fff;
}

.ccp-download-select:focus {
    border-color: var(--ccp-primary);
    box-shadow: 0 0 0 0.2rem rgba(27, 58, 92, 0.12);
    outline: none;
}

.ccp-download-card .pub-actions {
    margin-top: auto;
    padding-top: 8px;
}

.ccp-download-card input[type="submit"],
.ccp-download-card .theme-btn {
    width: 100%;
}

.ccp-download-card input[type="submit"]:disabled,
.ccp-download-card .theme-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

@media (max-width: 991px) {
    .ccp-payment-status {
        padding: 50px 0;
    }
}
