/* ==========================================================================
   Fiji College of General Practitioners - Modern Theme Overrides
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    --fcgp-navy: #1B3A5C;
    --fcgp-navy-dark: #132A43;
    --fcgp-teal: #0E7C6B;
    --fcgp-teal-light: #10A08A;
    --fcgp-gold: #C8963E;
    --fcgp-gold-light: #D4A94F;
    --fcgp-white: #ffffff;
    --fcgp-off-white: #F5F7FA;
    --fcgp-light-gray: #E8ECF1;
    --fcgp-mid-gray: #94A3B8;
    --fcgp-dark: #2D3748;
    --fcgp-text: #374151;
    --fcgp-text-light: #6B7280;
    --fcgp-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --fcgp-shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --fcgp-shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --fcgp-radius: 6px;
    --fcgp-radius-lg: 10px;
    --fcgp-transition: 0.25s ease;
    --fcgp-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Base Reset & Typography ---------- */
body.fcgp-modern {
    font-family: var(--fcgp-font) !important;
    color: var(--fcgp-text);
    background-color: var(--fcgp-white) !important;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.fcgp-modern h1,
body.fcgp-modern h2,
body.fcgp-modern h3,
body.fcgp-modern h4,
body.fcgp-modern h5,
body.fcgp-modern h6 {
    font-family: var(--fcgp-font) !important;
    color: var(--fcgp-navy);
    font-weight: 600;
    line-height: 1.3;
}

body.fcgp-modern p,
body.fcgp-modern li,
body.fcgp-modern td,
body.fcgp-modern th,
body.fcgp-modern label,
body.fcgp-modern input,
body.fcgp-modern textarea,
body.fcgp-modern select,
body.fcgp-modern blockquote {
    font-family: var(--fcgp-font) !important;
}

body.fcgp-modern a {
    color: var(--fcgp-teal);
    text-decoration: none;
    transition: color var(--fcgp-transition);
}

body.fcgp-modern a:hover {
    color: var(--fcgp-navy);
}

/* ---------- Top Utility Bar ---------- */
.fcgp-top-bar {
    background-color: var(--fcgp-navy);
    color: var(--fcgp-white);
    font-size: 13px;
    letter-spacing: 0.02em;
}

.fcgp-top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fcgp-top-bar-info {
    opacity: 0.9;
}

.fcgp-top-bar-item {
    font-weight: 500;
}

.fcgp-btn-login,
.fcgp-btn-logout {
    display: inline-block;
    padding: 5px 18px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--fcgp-transition);
}

.fcgp-btn-login {
    background-color: var(--fcgp-teal);
    color: var(--fcgp-white) !important;
}

.fcgp-btn-login:hover {
    background-color: var(--fcgp-teal-light);
    color: var(--fcgp-white) !important;
}

.fcgp-btn-logout {
    background-color: transparent;
    color: var(--fcgp-white) !important;
    border: 1px solid rgba(255,255,255,0.3);
}

.fcgp-btn-logout:hover {
    border-color: var(--fcgp-white);
    color: var(--fcgp-white) !important;
}

/* Hide old login header */
.login-header,
.login-boxed {
    display: none !important;
}

/* ---------- Header / Navigation ---------- */
.fcgp-header {
    background: var(--fcgp-white) !important;
    border-bottom: 1px solid var(--fcgp-light-gray);
    box-shadow: var(--fcgp-shadow-sm);
}

.fcgp-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.fcgp-header .header {
    min-height: 80px;
}

.fcgp-header .logo img {
    max-height: 65px;
    width: auto;
    transition: opacity var(--fcgp-transition);
}

.fcgp-header .logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fcgp-header .logo h1 {
    font-size: 22px;
    margin: 0;
}

.fcgp-header .logo h1 a {
    color: var(--fcgp-navy) !important;
    font-weight: 700;
}

/* Navigation Links */
.fcgp-header .sf-menu li a,
.fcgp-header .sf-menu li a:visited {
    font-family: var(--fcgp-font) !important;
    font-size: 14px;
    font-weight: 500;
    color: var(--fcgp-dark) !important;
    text-transform: none;
    letter-spacing: 0.01em;
    padding: 8px 16px;
    transition: color var(--fcgp-transition);
}

.fcgp-header .sf-menu li:hover > a,
.fcgp-header .sf-menu li.current-menu-item > a,
.fcgp-header .sf-menu li.current-menu-parent > a,
.fcgp-header .sf-menu li.current-menu-ancestor > a {
    color: var(--fcgp-teal) !important;
}

/* Dropdown menus */
.fcgp-header .menu-container .sf-menu li ul {
    background: var(--fcgp-white);
    border: 1px solid var(--fcgp-light-gray);
    border-radius: var(--fcgp-radius);
    box-shadow: var(--fcgp-shadow-md);
    padding: 8px 0;
    margin-top: 0;
}

/* Bridge the gap between parent item and dropdown to prevent hover loss */
.fcgp-header .menu-container .sf-menu li > ul::before {
    content: '';
    display: block;
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

.fcgp-header .menu-container .sf-menu li ul li a {
    font-size: 13px;
    padding: 8px 20px;
    color: var(--fcgp-text) !important;
}

.fcgp-header .menu-container .sf-menu li ul li a:hover,
.fcgp-header .menu-container .sf-menu li.menu-item-has-children ul li a:hover {
    color: var(--fcgp-teal) !important;
    background-color: var(--fcgp-off-white);
}

/* Sticky header */
.header-container.sticky.fixed {
    background: var(--fcgp-white) !important;
    box-shadow: var(--fcgp-shadow-md);
}

/* Mobile menu toggle */
.fcgp-header .mobile-menu-switch .line {
    background-color: var(--fcgp-navy);
}

.fcgp-header .mobile-menu-switch:hover .line {
    background-color: var(--fcgp-teal);
}

/* ---------- Page Header / Breadcrumbs ---------- */
.page-header,
.vc_row.gray.full-width.page-header {
    background-color: var(--fcgp-off-white) !important;
    border-bottom: 1px solid var(--fcgp-light-gray);
    padding: 30px 0 !important;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--fcgp-navy);
    margin: 0;
}

.bread-crumb-container label {
    color: var(--fcgp-text-light);
    font-size: 13px;
}

.bread-crumb li,
.bread-crumb li a {
    font-size: 13px;
    color: var(--fcgp-text-light);
}

.bread-crumb li a:hover {
    color: var(--fcgp-teal);
}

/* ---------- Theme Page / Content Area ---------- */
.theme-page {
    background-color: var(--fcgp-white);
}

.theme-page .single-page,
.theme-page .has-gutenberg-blocks {
    padding: 40px 20px;
}

/* Remove old gray/blue backgrounds */
body.fcgp-modern .vc_row.gray,
body.fcgp-modern .gray {
    background-color: var(--fcgp-off-white) !important;
}

body.fcgp-modern .vc_row.yellow,
body.fcgp-modern .yellow {
    background-color: var(--fcgp-teal) !important;
}

/* ---------- Buttons ---------- */
body.fcgp-modern .more,
body.fcgp-modern .more[type="submit"],
body.fcgp-modern .cost-calculator-container a.cost-calculator-more {
    font-family: var(--fcgp-font) !important;
    background-color: var(--fcgp-teal) !important;
    border-color: var(--fcgp-teal) !important;
    color: var(--fcgp-white) !important;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 28px;
    border-radius: var(--fcgp-radius);
    text-transform: none;
    letter-spacing: 0.02em;
    transition: all var(--fcgp-transition);
}

body.fcgp-modern .more:hover,
body.fcgp-modern .more[type="submit"]:hover,
body.fcgp-modern .cost-calculator-container a.cost-calculator-more:hover {
    background-color: var(--fcgp-navy) !important;
    border-color: var(--fcgp-navy) !important;
}

/* WP Block Buttons */
body.fcgp-modern .wp-block-button__link {
    font-family: var(--fcgp-font) !important;
    border-radius: var(--fcgp-radius);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--fcgp-transition);
}

/* ---------- Forms ---------- */
body.fcgp-modern input[type="text"],
body.fcgp-modern input[type="email"],
body.fcgp-modern input[type="tel"],
body.fcgp-modern input[type="url"],
body.fcgp-modern input[type="password"],
body.fcgp-modern input[type="search"],
body.fcgp-modern input[type="number"],
body.fcgp-modern textarea,
body.fcgp-modern select {
    font-family: var(--fcgp-font) !important;
    border: 1px solid var(--fcgp-light-gray);
    border-radius: var(--fcgp-radius);
    padding: 10px 14px;
    font-size: 14px;
    color: var(--fcgp-dark);
    background-color: var(--fcgp-white);
    transition: border-color var(--fcgp-transition), box-shadow var(--fcgp-transition);
    -webkit-appearance: none;
}

body.fcgp-modern input[type="text"]:focus,
body.fcgp-modern input[type="email"]:focus,
body.fcgp-modern input[type="tel"]:focus,
body.fcgp-modern input[type="url"]:focus,
body.fcgp-modern input[type="password"]:focus,
body.fcgp-modern input[type="search"]:focus,
body.fcgp-modern input[type="number"]:focus,
body.fcgp-modern textarea:focus,
body.fcgp-modern select:focus {
    border-color: var(--fcgp-teal);
    box-shadow: 0 0 0 3px rgba(14, 124, 107, 0.1);
    outline: none;
}

body.fcgp-modern label {
    font-size: 14px;
    font-weight: 500;
    color: var(--fcgp-dark);
    margin-bottom: 6px;
    display: inline-block;
}

body.fcgp-modern input[type="submit"],
body.fcgp-modern button[type="submit"] {
    font-family: var(--fcgp-font) !important;
    background-color: var(--fcgp-teal);
    color: var(--fcgp-white);
    border: none;
    border-radius: var(--fcgp-radius);
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--fcgp-transition);
}

body.fcgp-modern input[type="submit"]:hover,
body.fcgp-modern button[type="submit"]:hover {
    background-color: var(--fcgp-navy);
}

/* Search form on front page */
body.fcgp-modern .search-form,
body.fcgp-modern form[role="search"] {
    background: var(--fcgp-white);
    padding: 30px;
    border-radius: var(--fcgp-radius-lg);
    box-shadow: var(--fcgp-shadow-md);
    border: 1px solid var(--fcgp-light-gray);
}

/* ---------- Cards & Content Blocks ---------- */
body.fcgp-modern .wpb_content_element,
body.fcgp-modern .vc_column_container > .vc_column-inner {
    padding: 15px;
}

body.fcgp-modern .feature-item,
body.fcgp-modern .call-to-action,
body.fcgp-modern .announcement {
    border-radius: var(--fcgp-radius-lg);
    overflow: hidden;
}

/* Service boxes */
body.fcgp-modern .feature-item {
    background: var(--fcgp-white);
    padding: 30px;
    border-radius: var(--fcgp-radius-lg);
    box-shadow: var(--fcgp-shadow-sm);
    border: 1px solid var(--fcgp-light-gray);
    transition: all var(--fcgp-transition);
}

body.fcgp-modern .feature-item:hover {
    box-shadow: var(--fcgp-shadow-md);
    transform: translateY(-2px);
}

body.fcgp-modern .feature-item:before {
    color: var(--fcgp-teal) !important;
}

/* Call to action */
body.fcgp-modern .call-to-action {
    background-color: var(--fcgp-navy) !important;
    border-radius: var(--fcgp-radius-lg);
    padding: 30px;
}

body.fcgp-modern .call-to-action:before {
    color: var(--fcgp-gold) !important;
}

/* Announcements */
body.fcgp-modern .announcement {
    background-color: var(--fcgp-teal) !important;
    border-radius: var(--fcgp-radius-lg);
}

/* ---------- Blog Posts ---------- */
body.fcgp-modern .blog .post {
    background: var(--fcgp-white);
    border-radius: var(--fcgp-radius-lg);
    overflow: hidden;
    box-shadow: var(--fcgp-shadow-sm);
    border: 1px solid var(--fcgp-light-gray);
    margin-bottom: 30px;
    transition: all var(--fcgp-transition);
}

body.fcgp-modern .blog .post:hover {
    box-shadow: var(--fcgp-shadow-md);
}

body.fcgp-modern .blog .post-details .date h2 {
    color: var(--fcgp-teal) !important;
}

body.fcgp-modern .blog .post-content h2 a {
    color: var(--fcgp-navy);
    font-weight: 600;
}

body.fcgp-modern .blog .post-content h2 a:hover {
    color: var(--fcgp-teal);
}

/* ---------- Testimonials ---------- */
body.fcgp-modern .testimonials-list p {
    font-style: italic;
    color: var(--fcgp-text);
    line-height: 1.7;
}

body.fcgp-modern .testimonials-list p:after {
    background-color: var(--fcgp-teal) !important;
}

body.fcgp-modern .testimonials-list .author {
    color: var(--fcgp-navy);
    font-weight: 600;
}

/* ---------- Team Members ---------- */
body.fcgp-modern .team-box {
    background: var(--fcgp-white);
    border-radius: var(--fcgp-radius-lg);
    overflow: hidden;
    box-shadow: var(--fcgp-shadow-sm);
    border: 1px solid var(--fcgp-light-gray);
    transition: all var(--fcgp-transition);
}

body.fcgp-modern .team-box:hover {
    box-shadow: var(--fcgp-shadow-md);
}

body.fcgp-modern .team-box ul.social-icons li:hover {
    background-color: var(--fcgp-teal) !important;
}

/* ---------- Pagination ---------- */
body.fcgp-modern .pagination li a,
body.fcgp-modern .pagination li span {
    border-radius: var(--fcgp-radius);
    font-weight: 500;
}

body.fcgp-modern .pagination li a:hover,
body.fcgp-modern .pagination li.selected a,
body.fcgp-modern .pagination li.selected span {
    background-color: var(--fcgp-teal) !important;
    border-color: var(--fcgp-teal) !important;
    color: var(--fcgp-white) !important;
}

/* ---------- Tabs & Accordions ---------- */
body.fcgp-modern .tabs.ui-tabs .ui-tabs-nav li.ui-tabs-active a,
body.fcgp-modern .tabs.ui-tabs .ui-tabs-nav li a:hover {
    background-color: var(--fcgp-teal) !important;
    color: var(--fcgp-white) !important;
}

body.fcgp-modern .tabs.ui-tabs .ui-tabs-nav li.ui-tabs-active:after {
    border-color: var(--fcgp-teal) transparent !important;
}

body.fcgp-modern .accordion .ui-accordion-header.ui-state-active {
    background-color: var(--fcgp-teal) !important;
    border-color: var(--fcgp-teal) !important;
}

body.fcgp-modern .accordion .ui-accordion-header .ui-accordion-header-icon {
    color: var(--fcgp-teal) !important;
}

/* ---------- Widget Titles ---------- */
body.fcgp-modern h2.widgettitle:after,
body.fcgp-modern .box-header:after {
    background-color: var(--fcgp-teal) !important;
}

body.fcgp-modern h2.widgettitle,
body.fcgp-modern .box-header {
    color: var(--fcgp-navy);
    font-weight: 700;
    font-size: 18px;
}

/* ---------- Sidebar ---------- */
body.fcgp-modern .widget_categories a:hover,
body.fcgp-modern .widget_archive a:hover,
body.fcgp-modern .widget_tag_cloud a:hover,
body.fcgp-modern .taxonomies a:hover {
    background-color: var(--fcgp-teal) !important;
    border-color: var(--fcgp-teal) !important;
    color: var(--fcgp-white) !important;
}

/* ---------- Footer ---------- */

/* Footer container -- full-width outside site-container */
.fcgp-site-footer {
    width: 100%;
}

.fcgp-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

/* Footer main area */
.fcgp-footer-main {
    background-color: var(--fcgp-navy-dark);
    color: rgba(255,255,255,0.85);
    padding: 50px 0 40px;
}

.fcgp-footer-main .fcgp-footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* Footer columns */
.fcgp-footer-col {
    flex: 1;
    min-width: 180px;
}

.fcgp-footer-col.fcgp-footer-brand {
    flex: 0 0 180px;
}

/* Footer crest */
.fcgp-footer-crest {
    max-width: 140px;
    height: auto;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Footer social icons */
.fcgp-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.fcgp-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--fcgp-white) !important;
    transition: all var(--fcgp-transition);
}

.fcgp-social-link:hover {
    background: var(--fcgp-teal);
    color: var(--fcgp-white) !important;
}

/* Footer headings */
.fcgp-footer-heading {
    font-family: var(--fcgp-font) !important;
    color: var(--fcgp-white) !important;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--fcgp-gold);
    letter-spacing: 0.02em;
}

/* Footer nav menus */
.fcgp-footer-nav .fcgp-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fcgp-footer-nav .fcgp-footer-menu li {
    margin-bottom: 8px;
}

.fcgp-footer-nav .fcgp-footer-menu li a {
    font-family: var(--fcgp-font) !important;
    color: var(--fcgp-gold-light) !important;
    font-size: 14px;
    text-decoration: none;
    transition: color var(--fcgp-transition);
}

.fcgp-footer-nav .fcgp-footer-menu li a:hover {
    color: var(--fcgp-white) !important;
}

/* Footer address */
.fcgp-footer-address p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 14px 0;
    color: rgba(255,255,255,0.75) !important;
}

.fcgp-footer-main a {
    color: var(--fcgp-gold-light) !important;
    transition: color var(--fcgp-transition);
}

.fcgp-footer-main a:hover {
    color: var(--fcgp-white) !important;
}

.fcgp-footer-main h2,
.fcgp-footer-main h3,
.fcgp-footer-main h4,
.fcgp-footer-main h2.widgettitle {
    color: var(--fcgp-white) !important;
}

.fcgp-footer-main h2.widgettitle:after {
    background-color: var(--fcgp-gold) !important;
}

.fcgp-footer-bottom {
    background-color: var(--fcgp-navy);
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
}

.fcgp-footer-bottom .fcgp-footer-inner {
    text-align: center;
}

/* ==========================================================================
   FRONT PAGE SECTIONS
   ========================================================================== */

/* ---------- Shared Section ---------- */
.fcgp-section {
    padding: 60px 0;
}

.fcgp-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.fcgp-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.fcgp-section-title {
    font-family: var(--fcgp-font) !important;
    font-size: 26px;
    font-weight: 700;
    color: var(--fcgp-navy);
    margin: 0;
}

.fcgp-section-link {
    font-family: var(--fcgp-font) !important;
    font-size: 14px;
    font-weight: 600;
    color: var(--fcgp-teal);
    white-space: nowrap;
}

.fcgp-section-link:hover {
    color: var(--fcgp-navy);
}

/* ---------- Announcement Bar ---------- */
.fcgp-announce-bar {
    background-color: var(--fcgp-teal);
    color: var(--fcgp-white);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.fcgp-announce-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.fcgp-announce-bar a {
    color: var(--fcgp-white) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fcgp-announce-bar a:hover {
    opacity: 0.9;
}

.fcgp-announce-badge {
    display: inline-block;
    background: var(--fcgp-gold);
    color: var(--fcgp-navy-dark);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fcgp-announce-arrow {
    opacity: 0.7;
    transition: opacity var(--fcgp-transition);
}

.fcgp-announce-bar a:hover .fcgp-announce-arrow {
    opacity: 1;
}

/* ---------- Hero Section ---------- */
.fcgp-hero {
    position: relative;
    background-color: var(--fcgp-navy-dark);
    background-size: cover;
    background-position: center;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: visible;
    padding-bottom: 160px;
    margin-bottom: -120px;
}

.fcgp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(19,42,67,0.92) 0%, rgba(14,124,107,0.75) 100%);
    z-index: 1;
}

.fcgp-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Left column: statement text (2/3) */
.fcgp-hero-statement {
    flex: 0 0 64%;
    max-width: 64%;
}

/* Right column: CTAs vertically centered (1/3) */
.fcgp-hero-cta-col {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fcgp-hero-greeting {
    font-family: var(--fcgp-font) !important;
    font-size: 15px;
    font-weight: 400;
    color: var(--fcgp-gold-light);
    margin: 0 0 14px 0;
    letter-spacing: 0.04em;
    font-style: italic;
}

.fcgp-hero-title {
    font-family: var(--fcgp-font) !important;
    font-size: 32px;
    font-weight: 400;
    color: var(--fcgp-white) !important;
    margin: 0 0 18px 0;
    line-height: 1.35;
}

.fcgp-hero-subtitle {
    font-family: var(--fcgp-font) !important;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255,255,255,0.65);
    margin: 0;
    line-height: 1.6;
}

.fcgp-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ---------- Buttons ---------- */
.fcgp-btn {
    display: inline-block;
    font-family: var(--fcgp-font) !important;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--fcgp-radius);
    text-decoration: none;
    transition: all var(--fcgp-transition);
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.02em;
}

.fcgp-btn-primary {
    background-color: var(--fcgp-teal);
    color: var(--fcgp-white) !important;
    border-color: var(--fcgp-teal);
}

.fcgp-btn-primary:hover {
    background-color: var(--fcgp-teal-light);
    border-color: var(--fcgp-teal-light);
    color: var(--fcgp-white) !important;
}

.fcgp-btn-secondary {
    background-color: transparent;
    color: var(--fcgp-white) !important;
    border-color: rgba(255,255,255,0.4);
}

.fcgp-btn-secondary:hover {
    background-color: var(--fcgp-white);
    color: var(--fcgp-navy) !important;
    border-color: var(--fcgp-white);
}

.fcgp-btn-outline {
    background-color: transparent;
    color: var(--fcgp-white) !important;
    border-color: rgba(255,255,255,0.4);
}

.fcgp-btn-outline:hover {
    border-color: var(--fcgp-white);
    color: var(--fcgp-white) !important;
}

/* ---------- Quick Link Cards ---------- */
.fcgp-quick-links {
    padding: 0 0 50px;
    background-color: transparent;
    position: relative;
    z-index: 3;
}

.fcgp-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.fcgp-card {
    display: flex;
    flex-direction: column;
    background: var(--fcgp-white);
    border-radius: 16px;
    text-decoration: none;
    transition: all var(--fcgp-transition);
    box-shadow: var(--fcgp-shadow-lg);
    overflow: hidden;
}

.fcgp-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    transform: translateY(-4px);
}

/* Card with image */
.fcgp-card-image {
    aspect-ratio: 3/2;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.fcgp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.fcgp-card:hover .fcgp-card-image img {
    transform: scale(1.05);
}

/* Card without image (icon fallback) */
.fcgp-card:not(.has-image) {
    padding-top: 30px;
}

.fcgp-card-icon {
    color: var(--fcgp-teal);
    padding: 0 24px;
    margin-bottom: 12px;
}

.fcgp-card-icon svg {
    width: 40px;
    height: 40px;
}

/* Card body */
.fcgp-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px 24px 24px;
}

.fcgp-card-title {
    font-family: var(--fcgp-font) !important;
    font-size: 18px;
    font-weight: 600;
    color: var(--fcgp-navy);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.fcgp-card-desc {
    font-family: var(--fcgp-font) !important;
    font-size: 14px;
    color: var(--fcgp-text-light);
    line-height: 1.6;
    margin: 0 0 18px 0;
    flex-grow: 1;
}

.fcgp-card-cta {
    display: inline-block;
    font-family: var(--fcgp-font) !important;
    font-size: 14px;
    font-weight: 600;
    color: var(--fcgp-white);
    background: var(--fcgp-navy-dark);
    padding: 10px 20px;
    border-radius: var(--fcgp-radius);
    transition: background var(--fcgp-transition);
    text-align: center;
}

.fcgp-card:hover .fcgp-card-cta {
    background: var(--fcgp-teal);
}

/* ---------- Page Content Section ---------- */
.fcgp-page-content {
    padding: 40px 0;
    background: var(--fcgp-off-white);
}

/* ---------- News Section ---------- */
.fcgp-news-section {
    background-color: var(--fcgp-white);
}

.fcgp-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.fcgp-news-card {
    background: var(--fcgp-white);
    border-radius: var(--fcgp-radius-lg);
    overflow: hidden;
    box-shadow: var(--fcgp-shadow-sm);
    border: 1px solid var(--fcgp-light-gray);
    transition: all var(--fcgp-transition);
}

.fcgp-news-card:hover {
    box-shadow: var(--fcgp-shadow-md);
    transform: translateY(-2px);
}

.fcgp-news-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.fcgp-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.fcgp-news-card:hover .fcgp-news-thumb img {
    transform: scale(1.05);
}

.fcgp-news-body {
    padding: 20px 22px;
}

.fcgp-news-date {
    font-family: var(--fcgp-font) !important;
    font-size: 12px;
    font-weight: 500;
    color: var(--fcgp-teal);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 8px;
}

.fcgp-news-title {
    font-family: var(--fcgp-font) !important;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.fcgp-news-title a {
    color: var(--fcgp-navy);
    text-decoration: none;
}

.fcgp-news-title a:hover {
    color: var(--fcgp-teal);
}

.fcgp-news-excerpt {
    font-family: var(--fcgp-font) !important;
    font-size: 14px;
    color: var(--fcgp-text-light);
    line-height: 1.6;
    margin: 0;
}

/* ---------- Events Section ---------- */
.fcgp-events-section {
    background-color: var(--fcgp-off-white);
}

.fcgp-events-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fcgp-event-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--fcgp-white);
    padding: 20px 24px;
    border-radius: var(--fcgp-radius-lg);
    text-decoration: none;
    border: 1px solid var(--fcgp-light-gray);
    transition: all var(--fcgp-transition);
}

.fcgp-event-item:hover {
    box-shadow: var(--fcgp-shadow-md);
    border-color: var(--fcgp-teal);
}

.fcgp-event-date-badge {
    flex-shrink: 0;
    width: 64px;
    background: var(--fcgp-navy);
    color: var(--fcgp-white);
    border-radius: var(--fcgp-radius);
    text-align: center;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.fcgp-event-day {
    font-family: var(--fcgp-font) !important;
    font-size: 24px;
    font-weight: 700;
}

.fcgp-event-month {
    font-family: var(--fcgp-font) !important;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

.fcgp-event-year {
    font-family: var(--fcgp-font) !important;
    font-size: 11px;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 2px;
}

.fcgp-event-title {
    font-family: var(--fcgp-font) !important;
    font-size: 16px;
    font-weight: 600;
    color: var(--fcgp-navy);
    margin: 0 0 4px 0;
}

.fcgp-event-item:hover .fcgp-event-title {
    color: var(--fcgp-teal);
}

.fcgp-event-excerpt {
    font-family: var(--fcgp-font) !important;
    font-size: 14px;
    color: var(--fcgp-text-light);
    margin: 0;
}

/* ---------- Stats Banner ---------- */
.fcgp-stats-banner {
    background-color: var(--fcgp-navy);
    padding: 50px 0;
}

.fcgp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.fcgp-stat-number {
    font-family: var(--fcgp-font) !important;
    font-size: 36px;
    font-weight: 700;
    color: var(--fcgp-teal-light);
    display: block;
    line-height: 1.1;
}

.fcgp-stat-label {
    font-family: var(--fcgp-font) !important;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    display: block;
    margin-top: 6px;
}

/* ---------- Member CTA Banner ---------- */
.fcgp-member-cta {
    background: linear-gradient(135deg, var(--fcgp-teal) 0%, #0a5e50 100%);
    padding: 60px 0;
    text-align: center;
}

.fcgp-cta-title {
    font-family: var(--fcgp-font) !important;
    font-size: 28px;
    font-weight: 700;
    color: var(--fcgp-white) !important;
    margin: 0 0 14px 0;
}

.fcgp-cta-text {
    font-family: var(--fcgp-font) !important;
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin: 0 auto 28px;
    max-width: 600px;
    line-height: 1.6;
}

.fcgp-cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 992px) {
    .fcgp-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fcgp-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fcgp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 40px;
    }

    .fcgp-hero-title {
        font-size: 28px;
    }

    .fcgp-hero-statement {
        flex: 0 0 60%;
        max-width: 60%;
    }
}

@media (max-width: 768px) {
    .fcgp-hero {
        min-height: auto;
        padding-bottom: 100px;
        margin-bottom: -70px;
    }

    .fcgp-hero-inner {
        padding: 40px 20px;
        flex-direction: column;
        gap: 24px;
    }

    .fcgp-hero-statement {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .fcgp-hero-cta-col {
        width: 100%;
    }

    .fcgp-hero-actions {
        flex-direction: row;
    }

    .fcgp-hero-title {
        font-size: 24px;
    }

    .fcgp-hero-subtitle {
        font-size: 14px;
    }

    .fcgp-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fcgp-card.has-image .fcgp-card-image {
        aspect-ratio: 16/9;
    }

    .fcgp-quick-links {
        margin-top: -30px;
    }

    .fcgp-news-grid {
        grid-template-columns: 1fr;
    }

    .fcgp-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .fcgp-event-item {
        gap: 16px;
        padding: 16px;
    }

    .fcgp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .fcgp-stat-number {
        font-size: 28px;
    }

    .fcgp-cta-title {
        font-size: 22px;
    }

    .fcgp-section {
        padding: 40px 0;
    }
}

/* Footer responsive */
@media (max-width: 768px) {
    .fcgp-footer-main .fcgp-footer-inner {
        flex-direction: column;
        gap: 30px;
    }

    .fcgp-footer-col.fcgp-footer-brand {
        flex: 1 1 100%;
        text-align: center;
    }

    .fcgp-footer-crest {
        margin-left: auto;
        margin-right: auto;
    }

    .fcgp-footer-social {
        justify-content: center;
    }
}

.fcgp-footer-bottom .copyright {
    font-family: var(--fcgp-font) !important;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}

/* Center inner content in full-width stretched rows */
body.fcgp-modern .vc_row[data-vc-full-width="true"] {
    padding-left: calc((100vw - 1170px) / 2) !important;
    padding-right: calc((100vw - 1170px) / 2) !important;
    box-sizing: border-box !important;
}

/* Hide WPBakery inline footer when site-wide footer is active */
body.fcgp-modern .vc_row[data-vc-full-width="true"] .vc_column_container[id="full-footer"],
body.fcgp-modern .vc_custom_1583126305481,
body.fcgp-modern .vc_custom_1775259441214 {
    display: none !important;
}

/* Scroll to top */
body.fcgp-modern .scroll-top:hover {
    background-color: var(--fcgp-teal) !important;
}

/* ---------- Blockquote ---------- */
body.fcgp-modern blockquote {
    border-left: 4px solid var(--fcgp-teal);
    padding: 20px 24px;
    margin: 24px 0;
    background: var(--fcgp-off-white);
    border-radius: 0 var(--fcgp-radius) var(--fcgp-radius) 0;
    font-style: italic;
    color: var(--fcgp-text);
}

body.fcgp-modern blockquote:before {
    color: var(--fcgp-teal) !important;
}

/* ---------- Social Icons ---------- */
body.fcgp-modern .social-icons.yellow li {
    background-color: var(--fcgp-teal) !important;
    border-color: var(--fcgp-teal) !important;
}

/* ---------- Progress Bar ---------- */
body.fcgp-modern .vc_progress_bar .vc_single_bar .vc_bar {
    background-color: var(--fcgp-teal) !important;
}

/* ---------- Timeline ---------- */
body.fcgp-modern .timeline-item label {
    background-color: var(--fcgp-teal) !important;
}

body.fcgp-modern .timeline-item .label-triangle {
    border-color: transparent transparent transparent var(--fcgp-teal) !important;
}

body.fcgp-modern .timeline-item .label-container .timeline-circle::after {
    background-color: var(--fcgp-teal) !important;
}

/* ---------- Number Counter ---------- */
body.fcgp-modern span.number:after,
body.fcgp-modern span.odometer.number:after {
    background-color: var(--fcgp-teal) !important;
}

/* ---------- Contact Details ---------- */
body.fcgp-modern .contact-details-box:before {
    color: var(--fcgp-teal) !important;
}

/* ---------- Pricing Table ---------- */
body.fcgp-modern .pricing-table {
    border-radius: var(--fcgp-radius-lg);
    overflow: hidden;
    box-shadow: var(--fcgp-shadow-sm);
    border: 1px solid var(--fcgp-light-gray);
}

/* ---------- Media Section Block (custom shortcode) ---------- */
.media-section-block {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--fcgp-radius-lg);
    overflow: hidden;
    transition: transform var(--fcgp-transition), box-shadow var(--fcgp-transition);
}

.media-section-block:hover {
    transform: translateY(-3px);
    box-shadow: var(--fcgp-shadow-lg);
}

.media-section-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.media-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--fcgp-transition);
}

.media-section-block:hover .media-section-overlay {
    background-color: rgba(27, 58, 92, 0.8) !important;
}

.media-section-content {
    text-align: center;
    padding: 30px;
    max-width: 80%;
    z-index: 2;
}

.media-section-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.3;
    color: var(--fcgp-white);
}

.media-section-text {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    color: rgba(255,255,255,0.9);
}

.media-section-text p {
    margin: 0 0 8px 0;
}

.media-section-text p:last-child {
    margin-bottom: 0;
}

/* ---------- WooCommerce Overrides ---------- */
body.fcgp-modern .woocommerce #respond input#submit,
body.fcgp-modern .woocommerce a.button,
body.fcgp-modern .woocommerce button.button,
body.fcgp-modern .woocommerce input.button {
    background-color: var(--fcgp-teal) !important;
    border-color: var(--fcgp-teal) !important;
    border-radius: var(--fcgp-radius);
    font-family: var(--fcgp-font) !important;
}

body.fcgp-modern .woocommerce #respond input#submit:hover,
body.fcgp-modern .woocommerce a.button:hover,
body.fcgp-modern .woocommerce button.button:hover,
body.fcgp-modern .woocommerce input.button:hover {
    background-color: var(--fcgp-navy) !important;
    border-color: var(--fcgp-navy) !important;
}

body.fcgp-modern .woocommerce span.onsale {
    background-color: var(--fcgp-gold) !important;
}

/* ---------- Vertical Menu / Mobile Menu ---------- */
body.fcgp-modern .mobile-menu li.current-menu-item > a,
body.fcgp-modern .mobile-menu li.current-menu-ancestor a,
body.fcgp-modern .vertical-menu li.current-menu-item a,
body.fcgp-modern .vertical-menu li:hover a {
    background-color: var(--fcgp-teal) !important;
}

/* ---------- 404 Page ---------- */
body.fcgp-modern .error-404 h1 {
    color: var(--fcgp-navy);
}

/* ---------- Comments ---------- */
body.fcgp-modern #cancel-comment {
    color: var(--fcgp-teal) !important;
}

/* ---------- Carousel / Slider Controls ---------- */
body.fcgp-modern .re-carousel-pagination a.selected,
body.fcgp-modern .re-carousel-pagination a:hover,
body.fcgp-modern .slider-control:hover {
    background-color: var(--fcgp-teal) !important;
    border-color: var(--fcgp-teal) !important;
}

/* ---------- List Styles ---------- */
body.fcgp-modern .list li a {
    color: var(--fcgp-teal) !important;
}

body.fcgp-modern li.template-bullet:before,
body.fcgp-modern .post.single .post-content ul li::before,
body.fcgp-modern .single-page ul li::before,
body.fcgp-modern .wpb_text_column ul li::before {
    color: var(--fcgp-teal) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .fcgp-header .header {
        min-height: 70px;
    }

    .fcgp-header .logo img {
        max-height: 55px;
    }

    .fcgp-top-bar-info {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .fcgp-top-bar-inner {
        flex-direction: column;
        gap: 6px;
        padding: 6px 15px;
        text-align: center;
    }

    .fcgp-header-inner {
        padding: 0 15px;
    }

    .fcgp-header .header {
        min-height: 60px;
    }

    .fcgp-header .logo img {
        max-height: 45px;
    }

    .page-header h1 {
        font-size: 22px;
    }

    .media-section-content {
        padding: 20px;
        max-width: 90%;
    }

    .media-section-title {
        font-size: 18px;
    }

    .media-section-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .fcgp-top-bar-item {
        font-size: 11px;
    }

    .fcgp-header .logo img {
        max-height: 40px;
    }

    .page-header h1 {
        font-size: 20px;
    }

    .media-section-content {
        padding: 15px;
        max-width: 95%;
    }

    .media-section-title {
        font-size: 16px;
    }

    .media-section-text {
        font-size: 13px;
    }
}
