/* base.css - Foundation Styles for CMS Website */

/* ============================================================================
   TABLE OF CONTENTS
   1) VARIABLES
   2) RESET & BASE
   3) TYPOGRAPHY
   4) LAYOUT COMPONENTS
   5) COMPONENTS (Buttons, Forms)
   6) CONTENT AREAS
   7) PAGES (Blog, Legal)
   8) UTILITIES
   9) RESPONSIVE & GRID
   ============================================================================ */

/* Google Fonts - Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');


:root {
    --brand-primary: #b30000;
    --brand-accent: #ff9900;
    --success: #19b299;
    --warning: #fff585;
    --info: #228dc3;
    --text-color: #221a31;
    --heading-color: #221a31;
    --muted: #7b728c;
    --light: #b0acb8;
    --cream: #f5f4ef;
    --white: #ffffff;
    --btn-primary-bg: var(--brand-primary);
    --btn-primary-border: var(--brand-primary);
    --btn-primary-hover: #8a0000;
    --link-color: var(--brand-primary);
    --link-hover-color: #8a0000;
}

/* ============================================================================
   RESET & BASE STYLES
   ============================================================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    /* Typography styles from custom.css */
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color, #333);
    
    /* Flexbox layout for sticky footer */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    
    /* Layout styles from dynamic.css integration */
    position: relative;
    overflow-x: hidden;
    
    /* Transitions and effects */
    transition: all 0.3s ease;
    
    /* Note: background-color removed to allow dynamic.css 3-layer background system */
}

/* Main content area - flexbox push */
main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--heading-color, #221a31);
    /* Color set globally to white - see line 28 */
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 500;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 500;
}

h5 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
}

h6 {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 500;
}

/* Section title sizing (size only; do not alter font-weight) */
.section-title { font-size: 2rem; }
@media (max-width: 768px) { .section-title { font-size: 1.25rem; } }

/* Screen-reader only helper for non-decorative images provided via background-image */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

p {
    margin-bottom: 20px !important; /* standard paragraph spacing applied 2025-12-11T21:36:38.261Z; overridden with !important 2025-12-11T21:39:30Z */
    color: var(--text-color, #3b334c);
}

a {
    color: var(--link-color, #b30000);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--link-hover-color, #8a0000);
    text-decoration: underline;
}

/* Global override to force content text color to match headings */
body, main, p, .content-body, .content-section, .dc-card .dc-card-text {
    color: #221a31 !important;
}

/* Layout Components - Using Bootstrap's .container and .container-fluid */
/* Custom .container removed to avoid conflicts with Bootstrap */

/* NAVIGATION - preview Barlow Condensed for header nav */
#mainNavigation {
    position: sticky;
    top: 0;
    z-index: 1030; /* Bootstrap's default navbar z-index */
}

#mainNavigation .nav-link,
#mainNavigation .navbar-brand,
#mainNavigation .navbar-nav {
    font-family: 'Barlow Condensed', sans-serif;
}

/* Reusable constrained width and section spacing utilities */
.content-wrapper {
    width: 100%;
    padding: 0 1rem;
}

/* Reduced top padding for sections */
.section-spaced {
    padding: 1rem 0;
}

/* ============================================================================ */
/* BOOTSTRAP GRID - Using Bootstrap 5 native grid system                      */
/* ============================================================================ */
/* All custom .container, .container-fluid, .row, and .col-* classes removed  */
/* to avoid conflicts with Bootstrap 5.3.3 grid system                        */
/* Bootstrap handles all grid layout via its own classes                      */
/* ============================================================================ */


/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    color: #ffffff;
    background-color: var(--btn-primary-bg, #b30000);
    border-color: var(--btn-primary-border, #b30000);
}

.btn-primary:hover {
    background-color: var(--btn-primary-hover, #8a0000);
    border-color: var(--btn-primary-hover, #8a0000);
}

.btn-secondary {
    color: #ffffff;
    background-color: var(--btn-secondary-bg, #6c757d);
    border-color: var(--btn-secondary-border, #6c757d);
}

.btn-secondary:hover {
    background-color: var(--btn-secondary-hover, #545b62);
    border-color: var(--btn-secondary-hover, #545b62);
}

/* ============================================================================
   FORMS
   ============================================================================ */
.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--form-text-color, #000000);
    background-color: var(--form-bg, #ffffff);
    border: 1px solid var(--form-border, #ced4da);
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: var(--form-focus-border, #80bdff);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--label-color, #000000);
}

/* ============================================================================
   CONTENT AREAS
   ============================================================================ */

/* ============================================================================
   DC CARD - Global reusable card component
   - Use class .dc-card for a content card with image, body and footer
   - Placed in base.css for global availability
   ============================================================================ */
.dc-card{
    position: relative;
    background: var(--card-bg, transparent);
    border-radius: 0.5rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    color: var(--text-color, #333);
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

/* Frosted glass overlay sits above the image and blurs it; content sits above the overlay */
.dc-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.5); /* overlay opacity set to 0.5 - 2025-12-11T18:40:03.153Z */
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(4px);
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
}

/* GLOBAL FIX: All direct children of dc-card must be above the frosted glass overlay */
.dc-card > * {
    position: relative;
    z-index: 2;
}

.dc-card .dc-card-img{
    width:100%;
    padding-top:56.25%; /* 16:9 aspect ratio (1920x1080) */
    background-size:cover;
    background-position:center;
    position:relative;
    z-index:3;
    flex: 0 0 auto;
}

/* About-team specific override: use 3:2 aspect ratio (600x400) for dc-card images in this section */
.about-team .dc-card .dc-card-img{
    padding-top:66.6667%; /* height/width = 400/600 = 0.6667 -> 66.6667% */
    background-position:center center;
}
.dc-card .dc-card-body{
    position: relative;
    z-index: 2;
    padding: 1rem;
    flex: 1 1 auto;
}
.dc-card .dc-card-title{
    margin: 0 0 0.5rem;
    font-size: 1.5rem !important; /* increased for h2 titles */
    font-weight: 600;
    color: var(--heading-color, #221a31);
    position: relative;
    z-index: 2;
}
@media (max-width:768px){ .dc-card .dc-card-title{ font-size:1.25rem !important; } }
.dc-card .dc-card-text{
    margin: 0;
    color: var(--muted, #7b728c);
}
.dc-card .dc-card-footer{
    position: relative;
    z-index: 3;
    padding: 0.75rem 1rem;
    text-align: right;
    background: var(--card-footer-bg, transparent);
    flex: 0 0 auto;
}
/* Ensure footer buttons never underline and match heading size */
.dc-card .dc-card-footer .btn,
.dc-card .dc-card-footer .btn *{
    text-decoration: none !important;
    color: inherit !important;
    font-size: 1.1rem !important; /* match h3 size */
    line-height: 1.2 !important;
}
.dc-card .dc-card-footer .btn:hover,
.dc-card .dc-card-footer .btn:focus,
.dc-card .dc-card-footer .btn:hover *,
.dc-card .dc-card-footer .btn:focus *{
    text-decoration: none !important;
    color: inherit !important;
}
/* Button active/hover text color */
.dc-card .dc-card-footer .btn:hover,
.dc-card .dc-card-footer .btn:active,
.dc-card .dc-card-footer .btn:focus{
    color: #ffffff !important;
}
/* Force button text and nested elements to white in all states */
.dc-card .dc-card-footer a.btn,
.dc-card .dc-card-footer a.btn:visited,
.dc-card .dc-card-footer a.btn:focus,
.dc-card .dc-card-footer a.btn:active,
.dc-card .dc-card-footer a.btn:hover,
.dc-card .dc-card-footer a.btn *{
    color: #ffffff !important;
}
/* Icon spacing */
.dc-card .dc-card-footer .btn i{ margin-left:0.5rem; vertical-align:middle; }

/* Card-specific override: dc-card-test button background */
.dc-card.dc-card-test .dc-card-footer .btn{ background-color:#ff9900 !important; border-color:#ff9900 !important; }
.dc-card.dc-card-test .dc-card-footer .btn:hover,
.dc-card.dc-card-test .dc-card-footer .btn:focus,
.dc-card.dc-card-test .dc-card-footer .btn:active{ background-color:#e08900 !important; border-color:#e08900 !important; color:#ffffff !important; }

/* Ensure ONLY card rows have equal height columns (not all rows globally) */
#contentGrid.row { align-items: stretch; }
#contentGrid.row > [class*="col-"] { display: flex; align-items: stretch; }

@media (max-width:768px){
    .dc-card .dc-card-img{height:160px}
}

/* Content section with reduced bottom padding */
.content-section {
    padding: 2rem 0 0 0;
}

/* ============================================================================
   BLOG STYLES
   ============================================================================ */
.blog-post {
    margin-bottom: 2rem;
}

.blog-title {
    color: var(--blog-title-color, #2c3e50);
    margin-bottom: 0.5rem;
}

.blog-meta {
    color: var(--blog-meta-color, #6c757d);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-content {
    line-height: 1.8;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    margin: 1rem 0;
}

/* ============================================================================
   UTILITIES
   ============================================================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .col-md-6,
    .col-md-4,
    .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
}

/* ============================================================================ */
/* === LEGAL PAGE STYLES ===                                                   */
/* ============================================================================ */
/* Styles for legal.php including Terms, Privacy, and Cookie Policy sections   */

/* Legal content typography */
.legal-content h3 {
    /* Color handled by global white rule */
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 2px solid var(--bs-primary, #0d6efd);
    padding-bottom: 0.5rem;
}

.legal-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--heading-color, #2c3e50);
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: justify;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Cookie policy specific styles */
.cookie-type {
    border-left: 4px solid var(--bs-primary, #0d6efd);
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cookie-type h4 {
    margin-top: 0;
    color: var(--heading-color, #2c3e50);
}

/* Legal navigation bar */
.legal-nav {
    border-bottom: 1px solid #dee2e6;
    background-color: rgba(248, 249, 250, 0.95);
    /* Note: Apply .frostedGlass class for glass effect */
}

.legal-nav .btn {
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.legal-nav .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Legal section spacing */
.legal-section {
    padding: 3rem 0;
}

/* Legal footer */
.legal-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
}

.legal-footer a {
    color: #ecf0f1;
    text-decoration: none;
}

.legal-footer a:hover {
    color: #3498db;
    text-decoration: underline;
}

/* Smooth scrolling offset for sticky navigation */
section[id] {
    scroll-margin-top: 100px;
}

/* Legal page responsive design */
@media (max-width: 768px) {
    .legal-nav .d-flex {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    
    .legal-nav .btn {
        width: 100%;
        margin-bottom: 0.25rem;
    }
    
    .legal-content {
        font-size: 0.9rem;
    }
    
    .legal-content h3 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .cookie-type {
        padding: 0.75rem;
    }
    
    .legal-section {
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    .legal-content p {
        text-align: left;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
    }
    
    .legal-nav {
        padding: 0.5rem 0;
    }
}

/* Print styles for legal pages */
@media print {
    .legal-nav,
    .legal-footer {
        display: none;
    }
    
    .legal-content h3 {
        /* Color handled by global white rule */
        border-bottom: 1px solid #000;
    }
    
    .cookie-type {
        border-left: 2px solid #000;
        background-color: #f9f9f9;
        box-shadow: none;
    }
}

/* Accessibility enhancements for legal content */
.legal-content a {
    text-decoration: underline;
    color: var(--bs-primary, #0d6efd);
}

.legal-content a:hover,
.legal-content a:focus {
    text-decoration-thickness: 2px;
    outline: 2px solid var(--bs-primary, #0d6efd);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .legal-content h3 {
        border-bottom-width: 3px;
    }
    
    .cookie-type {
        border-left-width: 6px;
        background-color: #ffffff;
    }
    
    .legal-nav {
        background-color: #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .legal-nav .btn {
        transition: none;
    }
    
    .legal-nav .btn:hover {
        transform: none;
    }
}

/* ============================================================================ */
/* === END LEGAL PAGE STYLES ===                                              */
/* ============================================================================ */

/*optional footer logo background - REMOVED */
/* footer .footer-logo img{background-color:#1e2529;padding: 10px;border-radius: 6px;} */
/*optional footer logo background - REMOVED */


/* Left-aligned paragraphs for content-heavy sections */
.about-content p,
.legal-content p {
    text-align: left;
}

/* Responsive paragraph sizing */
@media (max-width: 768px) {
    .contact-content p,
    .about-content p,
    .thankyou-content p,
    .legal-content p,
    #contact p {
        font-size: 2.5vw;
    }
}

@media (max-width: 480px) {
    .contact-content p,
    .about-content p,
    .thankyou-content p,
    .legal-content p,
    #contact p {
        font-size: 3.5vw;
    }
}

.content-meta {
    font-size: 0.9rem;
}

/* ============================================================================ */
/* CONTENT MEDIA ROW - Banner Image + YouTube Video Layout                     */
/* ============================================================================ */

/* Mobile: Stacked layout (default) */
.content-media-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.content-banner {
    width: 100%;
}

.content-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ============================================================================ */
/* BANNER CAROUSEL - Overlay Controls                                           */
/* ============================================================================ */
.content-banner .carousel {
    position: relative;
}

.content-banner .carousel-inner {
    border-radius: 0.5rem;
    overflow: hidden;
}

.content-banner .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Overlay indicators (dots) at bottom */
.content-banner .carousel-indicators {
    position: absolute;
    bottom: 1rem;
    margin-bottom: 0;
    z-index: 2;
}

.content-banner .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.6;
    background-color: #fff;
    border: none;
    margin: 0 4px;
}

.content-banner .carousel-indicators button.active {
    opacity: 1;
}

/* Overlay arrow controls */
.content-banner .carousel-control-prev,
.content-banner .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    opacity: 0.7;
    bottom: auto;
}

.content-banner .carousel-control-prev {
    left: 1rem;
}

.content-banner .carousel-control-next {
    right: 1rem;
}

.content-banner .carousel-control-prev:hover,
.content-banner .carousel-control-next:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.6);
}

.content-banner .carousel-control-prev-icon,
.content-banner .carousel-control-next-icon {
    width: 1rem;
    height: 1rem;
}

/* Desktop 1024px+: Two-column layout - Image left, Video right */
@media (min-width: 1024px) {
    .content-media-row {
        flex-direction: row;
        gap: 1.5rem;
    }

    .content-banner,
    .content-video {
        flex: 1;
        min-width: 0; /* Prevent flex overflow */
    }

    .content-banner img {
        height: 100%;
        object-fit: cover;
        border-radius: 0.5rem;
    }

    /* Desktop carousel adjustments */
    .content-banner .carousel,
    .content-banner .carousel-inner,
    .content-banner .carousel-item {
        height: 100%;
    }

    .content-banner .carousel-item img {
        height: 100%;
        object-fit: cover;
        border-radius: 0.5rem;
    }
}

/* ============================================================================ */
/* RESPONSIVE VIDEO WRAPPER - 16:9 aspect ratio for YouTube embeds             */
/* ============================================================================ */
.content-video {
    width: 100%;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0.5rem;
}

.content-body {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Content wrapper card - allow natural height, page scrolls normally */
.content-wrapper.dc-card {
    height: auto;
}

/* CTA spacing for content.php pages - margin after blog content, sticks to bottom */
.content-cta-spacing {
    margin-top: auto;
    padding-top: 20px;
}

.content-body h2,
.content-body h3,
.content-body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}


/* ============================================================================ */
/* CONTENT PAGE STYLES - Search, Headers, Messages                            */
/* ============================================================================ */

/* Content Title */
.content-title {
    display: flex;
    align-items: center;
}

/* Search Container */
.search-container {
    min-width: 300px;
    margin-top: 10px;
}

.search-container .input-group {
    position: relative;
}

/* Search Input */
.content-search-input {
    background-color: #F4F4F2;
    border-color: #BBBFCA;
    color: #495464;
    box-shadow: none;
    border-radius: 0.375rem 0 0 0.375rem;
    transition: all 0.3s ease;
}

.content-search-input.focused {
    background-color: #ffffff;
}

.search-container .btn-group {
    position: relative;
}

/* Search Button */
.content-search-btn {
    background-color: #495464;
    color: #F4F4F2;
    border-color: #495464;
    border-radius: 0 0.375rem 0.375rem 0;
    transition: all 0.3s ease;
}

.content-search-btn:hover {
    background-color: #3a4351;
    color: #F4F4F2;
}

/* Clear Search Button */
.content-clear-btn {
    background-color: #E8E8E8;
    color: #495464;
    border-color: #BBBFCA;
    border-radius: 0 0.375rem 0.375rem 0;
    transition: all 0.3s ease;
    width: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    border-left: none;
}

/* Search Results Text */
.search-results-text {
    color: #495464;
}

.search-error {
    color: #d9534f;
}

/* No Content Message - uses default text color */

/* Category Icon */
.category-icon {
    font-size: 3rem;
}

/* ============================================================================ */
/* CONTENT CARD STYLES - For content.php card layout                          */
/* ============================================================================ */

/* Content card wrapper - fills full width of Bootstrap column */
.content-card {
    width: 100%;
    height: 100%;
    display: block;
}

.content-card a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Content Card Body - Reserve space for footer */
.content-card .dc-card-body {
    padding-bottom: 4rem; /* Reserve space for meta footer and button */
    position: relative;
    min-height: 200px;
}

/* Position content card meta inline with action button */
.content-card .card-meta {
    position: absolute;
    bottom: 1rem;
    left: 1.25rem;
    right: 4rem; /* Leave space for the button */
}

/* Add margin above card footer on tablets and mobile */
@media (max-width: 1024px) {
    .content-card .card-meta {
        margin-top: 30px;
        padding-top: 30px;
    }
}

/* ============================================================================ */
/* CIRCULAR ACTION BUTTON - Bottom right arrow buttons on cards               */
/* ============================================================================ */

/* Base Circular Action Button */
.card-action-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    /* Default: Orange button with 50% opacity */
    background: rgba(255, 153, 0, 0.5);
    color: #ffffff;
}

.card-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

/* Random Color Variations - Using Color Palette */
.card-action-btn.btn-red {
    background: rgba(179, 0, 0, 0.5);
}
.card-action-btn.btn-orange {
    background: rgba(255, 153, 0, 0.5);
}
.card-action-btn.btn-teal {
    background: rgba(25, 178, 153, 0.5);
}
.card-action-btn.btn-blue {
    background: rgba(34, 141, 195, 0.5);
}
.card-action-btn.btn-yellow {
    background: rgba(255, 245, 133, 0.5);
    color: #0d0920;
}
.card-action-btn.btn-gray {
    background: rgba(123, 114, 140, 0.5);
}
.card-action-btn.btn-light-gray {
    background: rgba(176, 172, 184, 0.5);
    color: #221a31;
}

.card-action-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.card-action-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.card-action-btn:hover i {
    transform: scale(1.1);
}

/* ============================================================================ */
/* BOOTSTRAP GRID SYSTEM - Using Bootstrap 5 native grid classes              */
/* ============================================================================ */
/*
Bootstrap grid classes used:
- col-12 = 100% width (mobile - all sizes by default)
- col-md-4 = 33.333% width (3 across) at 768px+
- col-lg-3 = 25% width (4 across) at 992px+

Custom grid classes removed to avoid conflicts with Bootstrap.
*/


