/*
* Custom Portfolio Styles
* D. Francis Portfolio Website
* Production-Ready CSS Classes
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES (VARIABLES) - CHANGE COLORS IN ONE PLACE
   ========================================================================== */

:root {
    /* Primary Brand Colors */
    --primary-gold: #ffbf00;
    --primary-gold-dark: #f0b000;
    --primary-gold-rgba: 255, 191, 0;

    /* Text Colors */
    --text-dark: #393939;
    --text-medium: #777;
    --text-light: #666;
    --text-white: #fff;

    /* Background Colors */
    --bg-white: #fff;
    --bg-light: #f8f9fa;
    --bg-border: #f0f0f0;
    --bg-border-light: #eee;
    --bg-border-lighter: #f5f5f5;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    --gradient-horizontal: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-dark));

    /* Shadows */
    --shadow-light: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-medium: 0 6px 30px rgba(var(--primary-gold-rgba), 0.2);
    --shadow-hover: 0 12px 40px rgba(var(--primary-gold-rgba), 0.2);
    --shadow-campaign: 0 4px 15px rgba(var(--primary-gold-rgba), 0.1);
}

/* ==========================================================================
   GLOBAL LINK STYLES - BOOTSTRAP OVERRIDES
   ========================================================================== */

/* Override Bootstrap's default link styles */
a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover,
a:focus {
    color: var(--primary-gold-dark);
    text-decoration: none !important;
    outline: none;
}

a:active {
    color: var(--primary-gold-dark);
    text-decoration: none;
}

/* Ensure no underlines on any links */
a:link,
a:visited,
a:hover,
a:active,
a:focus {
    text-decoration: none !important;
}

/* Override Bootstrap's focus styles */
a:focus {
    outline: none;
    box-shadow: none;
}

/* ==========================================================================
   TOP BAR & HEADER STYLES
   ========================================================================== */

.top-bar-portfolio {
    background: transparent;
    padding: 120px 0 0;
    margin-top: 0;
}

.page-title {
    color: var(--text-dark);
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 15px;
    text-transform: lowercase;
}

.breadcrumb-nav {
    color: var(--text-medium);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.breadcrumb-nav a {
    color: var(--primary-gold);
}

/* ==========================================================================
   QUOTE INTRO SECTIONS
   ========================================================================== */

.quote-intro {
    text-align: center;
    margin-bottom: 60px;
}

.quote-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 50px;
    background: var(--gradient-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
}

.quote-box-wide {
    max-width: 1000px;
}

.quote-text {
    color: var(--text-white);
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
    text-transform: none;
}

/* ==========================================================================
   PORTFOLIO GRID LAYOUTS
   ========================================================================== */

.portfolio-grid-base {
    display: grid;
    gap: 30px;
    margin: 0 auto;
    justify-items: center;
}

.marketing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
}

.graphic-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
}

.video-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
}

/* Responsive Grid Layouts */
@media (max-width: 992px) {
    .graphic-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .marketing-grid,
    .video-grid,
    .graphic-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .marketing-card {
        padding: 25px !important;
        max-width: 100%;
    }

    .marketing-card h3 {
        font-size: 1.1rem !important;
    }

    .marketing-card p {
        font-size: 0.9rem !important;
    }

    .graphic-card {
        max-width: 100%;
    }

    .video-card {
        max-width: 100%;
    }
}

/* ==========================================================================
   PORTFOLIO CARDS
   ========================================================================== */

.portfolio-card {
    background: var(--text-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    max-width: 400px;
    width: 100%;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.card-content {
    padding: 25px;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.card-icon-text {
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.2rem;
}

.card-title {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.card-description {
    color: var(--text-medium);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.card-cta {
    margin-top: 20px;
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ==========================================================================
   ABOUT PAGE STYLES
   ========================================================================== */

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-intro {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
}

.about-title {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.about-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 30px;
}

.about-description {
    color: var(--text-light);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Brand Icons Grid */
.brand-icons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 30px;
    padding: 30px 0;
    justify-items: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.brand-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    transition: all 0.3s ease;
    opacity: 0.8;
    display: block;
}

.brand-img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Resume Styles */
.resume-minimal {
    background: var(--text-white);
    border: 1px solid var(--bg-border);
    border-radius: 8px;
    padding: 40px;
    margin-top: 20px;
}

.resume-header {
    text-align: center;
    margin-bottom: 40px;
}

.resume-title {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.resume-subtitle {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.download-btn {
    display: inline-block;
    background: var(--primary-gold);
    color: var(--text-white);
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: var(--primary-gold-dark);
    color: var(--text-white);
    text-decoration: none;
    transform: translateY(-2px);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

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

.mb-60 {
    margin-bottom: 60px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.gold-accent {
    color: var(--primary-gold);
}

.text-dark {
    color: var(--text-dark);
}

.text-medium {
    color: var(--text-medium);
}

.text-light {
    color: var(--text-light);
}

/* ==========================================================================
   PORTFOLIO CARD HOVER EFFECTS
   ========================================================================== */

.marketing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-gold);
    text-decoration: none !important;
}

.marketing-card:hover div:last-child {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* Ensure card links have no underlines */
.marketing-card a,
.graphic-card a,
.video-card a,
.video-card-compact a {
    text-decoration: none !important;
}

.marketing-card a:hover,
.graphic-card a:hover,
.video-card a:hover,
.video-card-compact a:hover,
.marketing-card a:focus,
.graphic-card a:focus,
.video-card a:focus,
.video-card-compact a:focus {
    text-decoration: none !important;
    color: inherit;
}

.marketing-card {
    text-decoration: none;
    display: block;
    background: var(--text-white);
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--bg-border-lighter);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
}

.graphic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.graphic-card {
    text-decoration: none;
    display: block;
    background: var(--text-white);
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--bg-border-lighter);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 320px;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.video-card {
    text-decoration: none;
    display: block;
    background: var(--text-white);
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--bg-border-lighter);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
}

/* ==========================================================================
   CARD CONTENT ELEMENTS
   ========================================================================== */

.card-top-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-dark));
}

.card-header-flex {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.card-icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.card-icon-text {
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.2rem;
}

.card-title-text {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.card-description-text {
    color: var(--text-medium);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.card-cta-text {
    margin-top: 20px;
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ==========================================================================
   CONSOLIDATED COMMON STYLES - NO DUPLICATES
   ========================================================================== */

/* Common Link Styles */
.gold-link {
    color: var(--primary-gold);
    text-decoration: none;
}

.gold-link:hover,
.gold-link:focus {
    color: var(--primary-gold-dark);
    text-decoration: none !important;
}

/* Bootstrap Navigation Link Overrides */
.navbar-nav .nav-link {
    text-decoration: none !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    text-decoration: none !important;
}

/* Creative Breadcrumb Navigation Styles */
.breadcrumb-nav {
    margin-bottom: 40px;
    font-size: 15px;
    font-weight: 400;
    background: linear-gradient(135deg, rgba(255,191,0,0.05) 0%, rgba(240,176,0,0.08) 100%);
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255,191,0,0.15);
    display: inline-block;
    box-shadow: 0 2px 10px rgba(255,191,0,0.1);
}

.breadcrumb-link {
    color: var(--primary-gold);
    text-decoration: none !important;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255,191,0,0.1);
    border: 1px solid rgba(255,191,0,0.2);
}

.breadcrumb-link:hover,
.breadcrumb-link:focus {
    color: var(--text-white);
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,191,0,0.3);
    text-decoration: none !important;
}

.breadcrumb-current {
    color: var(--text-dark);
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(255,255,255,0.8);
    border-radius: 12px;
    border: 1px solid rgba(255,191,0,0.3);
}

.breadcrumb-separator {
    color: var(--primary-gold);
    margin: 0 8px;
    font-weight: bold;
    opacity: 0.7;
}

.breadcrumb-section {
    color: var(--text-medium);
}

/* Campaign breadcrumb styles */
.campaign-breadcrumb {
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 400;
    background: linear-gradient(135deg, rgba(255,191,0,0.05) 0%, rgba(240,176,0,0.08) 100%);
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255,191,0,0.15);
    display: inline-block;
    box-shadow: 0 2px 10px rgba(255,191,0,0.1);
}

.campaign-breadcrumb .breadcrumb-link {
    color: var(--primary-gold);
    text-decoration: none !important;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 12px;
    background: rgba(255,191,0,0.1);
    border: 1px solid rgba(255,191,0,0.2);
    transition: all 0.3s ease;
}

.campaign-breadcrumb .breadcrumb-link:hover {
    color: var(--text-white);
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,191,0,0.3);
    text-decoration: none !important;
}

.campaign-breadcrumb .breadcrumb-current {
    color: var(--text-dark);
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(255,255,255,0.8);
    border-radius: 12px;
    border: 1px solid rgba(255,191,0,0.3);
}

.campaign-breadcrumb .breadcrumb-separator {
    color: var(--primary-gold);
    margin: 0 8px;
    font-weight: bold;
    opacity: 0.7;
}

/* Bootstrap Breadcrumb Overrides */
.breadcrumb a {
    color: var(--primary-gold);
    text-decoration: underline !important;
}

.breadcrumb a:hover,
.breadcrumb a:focus {
    color: var(--primary-gold-dark);
    text-decoration: underline !important;
}

/* Main Container Styles */
.portfolio-main-container {
    padding: 40px 0 80px;
}

/* Video Card Specific Styles */
.video-card-compact {
    text-decoration: none;
    display: block;
    background: var(--text-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--bg-border-lighter);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
}

.video-card-compact:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-gold);
    text-decoration: none;
    color: inherit;
}

.video-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.video-icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.video-icon-text {
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.1rem;
}

.video-content-flex {
    flex: 1;
}

.video-title {
    color: var(--text-dark);
    margin: 0 0 5px;
    font-size: 1.1rem;
    font-weight: 600;
}

.video-subtitle {
    color: var(--text-medium);
    margin: 0;
    font-size: 0.85rem;
}

.video-cta {
    margin-top: 15px;
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* About Page Specific Styles */
.profile-image {
    border-radius: 4px;
    margin-bottom: 30px;
}

.quote-highlight {
    font-style: italic;
    color: var(--text-medium);
    border-left: 3px solid var(--primary-gold);
    padding-left: 20px;
    margin-top: 30px;
}

.skills-section {
    margin-top: 60px;
}

.skills-title {
    color: var(--text-dark);
    font-weight: 300;
    margin-bottom: 40px;
}

.section-icon {
    color: var(--primary-gold);
}

/* ==========================================================================
   FORM AND BUTTON STYLES
   ========================================================================== */

.send-message-btn {
    clear: both;
}

.loader-icon {
    display: none;
}

/* ==========================================================================
   UNIQUE PAGE ELEMENTS - USING IDs FOR SPECIFIC STYLING
   ========================================================================== */

/* Contact Page */
#contact-main {
    /* Contact page specific styles if needed */
}

/* Web Portfolio Quote */
#web-portfolio-quote {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 50px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
}

/* Photo Portfolio Quote */
#photo-portfolio-quote {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 50px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
}

/* ==========================================================================
   PROJECT PAGE STYLES
   ========================================================================== */

.project-title {
    margin-top: 0;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.project-top-bar {
    background: transparent;
    padding: 120px 0 40px;
    margin-top: 0;
}

.project-page-title {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.mdf-margin-top {
    margin-top: 18px;
}

/* ==========================================================================
   CAMPAIGN PAGE STYLES
   ========================================================================== */

.campaign-breadcrumb {
    color: var(--text-medium);
    margin-bottom: 30px;
}

.campaign-quote-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 25px 40px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(var(--primary-gold-rgba), 0.2);
}

.campaign-quote-text {
    color: var(--text-white);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.campaign-container {
    padding: 40px 0;
}

.campaign-section {
    background: var(--bg-white);
    border: 1px solid var(--bg-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-light);
    margin-bottom: 30px;
}

.campaign-container {
    padding: 40px 0;
    background: var(--bg-light);
}

.campaign-container .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.campaign-content {
    padding: 20px;
}

.campaign-portfolio-title {
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.ri-campaign-grid {
    display: grid;
    gap: 15px;
}

.ri-campaign-card {
    display: block;
    text-decoration: none;
    background: var(--text-white);
    border: 1px solid var(--bg-border);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ri-campaign-card:hover {
    text-decoration: none;
    color: inherit;
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-campaign);
}

.campaign-card-flex {
    display: flex;
    align-items: center;
    gap: 15px;
}

.campaign-icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.campaign-icon-text {
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.9rem;
}

.campaign-content-flex {
    flex: 1;
}

.campaign-card-title {
    color: var(--text-dark);
    margin: 0 0 5px;
    font-size: 1rem;
    font-weight: 600;
}

.campaign-card-subtitle {
    color: var(--text-medium);
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

.campaign-arrow {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

/* ==========================================================================
   CONTENT PROJECT STYLES
   ========================================================================== */

.content-grid {
    display: grid;
    gap: 20px;
}

.content-project-card {
    background: var(--text-white);
    border: 1px solid var(--bg-border);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-light);
}

.content-project-link {
    display: block;
    text-decoration: none;
    margin-bottom: 20px;
}

.content-project-link:hover {
    text-decoration: none;
    color: inherit;
}

.content-project-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.content-project-title {
    color: var(--text-dark);
    margin: 0 0 5px;
    font-size: 1.1rem;
    font-weight: 600;
}

.content-project-details {
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
}

.content-project-description {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 15px;
}

.content-tags-flex {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.content-tag-primary {
    background: var(--primary-gold);
    color: var(--text-white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.content-tag-secondary {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.content-tag-tertiary {
    background: var(--text-medium);
    color: var(--text-white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}


/* ==================================================================
   Alignment + Mobile Accessibility for Marketing Sub‑pages
   ================================================================== */

/* Smooth scroll for in-page anchors like #campaigns */
html { scroll-behavior: smooth; }

/* Desktop/Tablet (>= 992px): normalize top alignment */
@media (min-width: 992px) {
  /* Ensure the two columns align at the top */
  .ri-two-col { align-items: flex-start !important; }

  /* Remove any spacer and extra offsets on performance panel */
  #performance-metrics { padding-top: 0; margin-top: 0; }
  #performance-metrics .h-20 { display: none; }

  /* Eliminate heading top margins */
  #performance-metrics h1,
  #performance-metrics h2,
  #performance-metrics h3,
  #performance-metrics h4,
  #performance-metrics h5,
  #performance-metrics h6 { margin-top: 0 !important; }

  /* Right column: remove extra top padding and heading top margin */
  .campaign-content { padding-top: 0; margin-top: 0; }
  .campaign-portfolio-title { margin-top: 0; }
}

/* Mobile (<= 991px): floating access button for Campaigns */
.campaigns-fab { display: none; }
@media (max-width: 991px) {
  .campaigns-fab {
    position: fixed;
    right: 16px;
    bottom: 20px;
    z-index: 1040; /* above content, below nav overlays */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-gold);
    color: var(--text-white);
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    text-decoration: none;
  }
  .campaigns-fab:hover { color: var(--text-white); text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,.22); }
  .campaigns-fab:focus { outline: 3px solid rgba(255,255,255,.65); outline-offset: 2px; }

  /* Ensure the anchor target isn't hidden under any sticky UI */
  #campaigns { scroll-margin-top: 72px; }
}
