/* ============================
   GIGDRIFT GLOBAL TYPOGRAPHY SYSTEM
   ============================ */

/* Base Typography */
html {
    font-size: 18px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

/* Headings */
h1, .gigd-h1 {
    font-size: 52px;
    line-height: 1.1;
    font-weight: 800;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    letter-spacing: -0.5px;
}

h2, .gigd-h2 {
    font-size: 36px;
    line-height: 1.15;
    font-weight: 700;
    margin-top: 1.4em;
    margin-bottom: 0.4em;
}

h3, .gigd-h3 {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    margin-top: 1.3em;
    margin-bottom: 0.4em;
}

h4, .gigd-h4 {
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600;
    margin-top: 1.2em;
    margin-bottom: 0.3em;
}

h5, .gigd-h5 {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

h6, .gigd-h6 {
    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;
}

/* Article Paragraphs */
p, .gigd-article-body p {
    font-size: 24px;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Global Strong - blu come titoli */
strong, b {
    color: #242F65;
    font-weight: 700;
}

/* Card Components */
.gigd-card-title {
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
}

.gigd-card-text {
    font-size: 17px;
    line-height: 1.6;
}

/* Meta / Badges / Labels - Never below 14px */
.gigd-meta,
.gigd-badge,
.gigd-label,
.gigd-banner-category {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

/* Buttons */
.gigd-btn,
.gigd-banner-btn {
    font-size: 16px;
    font-weight: 600;
}

/* Section Spacing - Regola generale blocchi */
.gigd-section {
    padding: 40px 0;
}

/* Distanza standard fra blocchi HTML Elementor */
.elementor-widget-html,
.elementor-widget-shortcode {
    margin-bottom: 0 !important;
}

.elementor-widget-html + .elementor-widget-html,
.elementor-widget-shortcode + .elementor-widget-shortcode,
.elementor-widget-html + .elementor-widget-shortcode,
.elementor-widget-shortcode + .elementor-widget-html {
    margin-top: 0 !important;
}

/* Max Text Width for Readability */
.gigd-article-body,
.gigd-content-width {
    max-width: 72ch;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    html { font-size: 17px; }
    body { font-size: 17px; }
    
    h1, .gigd-h1 { font-size: 44px; }
    h2, .gigd-h2 { font-size: 32px; }
    h3, .gigd-h3 { font-size: 26px; }
    h4, .gigd-h4 { font-size: 20px; }
    
    p, .gigd-article-body p { font-size: 17px; }
    
    .gigd-card-title { font-size: 18px; }
    .gigd-card-text { font-size: 16px; }
    
    .gigd-section { padding: 64px 0; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    html { font-size: 16px; }
    body { font-size: 16px; }
    
    h1, .gigd-h1 { font-size: 36px; }
    h2, .gigd-h2 { font-size: 28px; }
    h3, .gigd-h3 { font-size: 22px; }
    h4, .gigd-h4 { font-size: 18px; }
    h5, .gigd-h5 { font-size: 16px; }
    h6, .gigd-h6 { font-size: 15px; }
    
    p, .gigd-article-body p { font-size: 16px; }
    
    .gigd-card-title { font-size: 18px; }
    .gigd-card-text { font-size: 15px; }
    
    .gigd-btn, .gigd-banner-btn { font-size: 15px; }
    
    .gigd-section { padding: 48px 0; }
}

/* ============================
   GLOBAL TEXT JUSTIFY
   ============================ */
body,
.gigd-article-body p,
.gigd-article-body li,
.gigd-article-intro,
.entry-content p,
.entry-content li {
    text-align: justify;
}

/* ============================
   GLOBAL NO UNDERLINE
   Rimuove TUTTE le sottolineature dal sito
   ============================ */
a,
a:hover,
a:focus,
a:active,
a:visited,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
.entry-title a,
.entry-title a:hover,
.post-title a,
.post-title a:hover,
.gigd-cat-article-card,
.gigd-cat-article-card *,
.gigd-cat-article-title,
.gigd-cat-article-title a,
.gigd-cat-article-title a:hover,
.gigd-cat-article-read-more,
.gigd-cat-article-read-more:hover,
.gigd-remote-playbook-card,
.gigd-remote-playbook-card *,
.gigd-articles-carousel-track a,
.gigd-jobs-carousel-track a,
.gigd-cat-carousel-track a,
.elementor a,
.elementor a:hover,
.elementor-widget a,
.elementor-widget a:hover,
.elementor-heading-title a,
.elementor-heading-title a:hover {
    text-decoration: none !important;
}

/* ============================
   FIX PNG TRANSPARENCY
   Rimuove background bianco forzato da Elementor/Astra
   ============================ */
.gigd-banner-card-img,
.card-image,
.gigd-article-body img,
.elementor-widget-image img,
.elementor-image img,
img.wp-image-*,
.wp-block-image img {
    background: transparent !important;
    background-color: transparent !important;
}

.elementor-widget-image,
.elementor-image,
.wp-block-image,
.card-image-wrapper {
    background: transparent !important;
    background-color: transparent !important;
}

/* ============================
   REMOTE PLAYBOOK CATEGORY IMAGES (5 categorie)
   Cambia questi URL per aggiornare TUTTE le immagini nel sito
   ============================ */
:root {
    /* 1. Getting Started */
    --gigd-img-getting-started: 'https://gigdrift.io/wp-content/uploads/2025/12/RM-Getting-Started-landing-page.png';
    
    /* 2. Skills Development */
    --gigd-img-skills-development: 'https://gigdrift.io/wp-content/uploads/2025/12/RP-Skills-Development.png';
    
    /* 3. Tax & Legal */
    --gigd-img-tax-legal: 'https://gigdrift.io/wp-content/uploads/2025/12/Remote-Playbook-tax-e-legal-landing-page.png';
    
    /* 4. Productivity */
    --gigd-img-productivity: 'https://gigdrift.io/wp-content/uploads/2025/12/RP-Productivity.png';
    
    /* 5. Tools & Digital Platforms */
    --gigd-img-tools-platforms: 'https://gigdrift.io/wp-content/uploads/2025/12/GR-Platforms-reviews.png';
    
    /* 6. AI Training Industry */
    --gigd-img-ai-training: 'https://gigdrift.io/wp-content/uploads/2025/12/RP-training-AI-industry.png';
}

/* ============================
   PAGE WRAPPER
   ============================ */
.gigd-page-container {
    width: 100%;
    padding: 40px 0;
}

.gigd-inner,
.gigd-search-wrapper,
.gigd-results-wrapper,
.gigd-card {
    max-width: 1280px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding-left: 20px;
    padding-right: 20px;
}

/* SPACING BELOW SEARCH BAR */
.gigd-results-wrapper {
    margin-top: 40px !important;
}

/* CARD BASE */
.gigd-card {
    background: #ffffff;
    border: 1px solid #e6e9f0;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.gigd-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066FF, #00A9CE);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gigd-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.2);
}

.gigd-card:hover::before {
    opacity: 1;
}

/* LEFT SIDE */
.gigd-card-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 70%;
}

/* JOB TITLE */
.gigd-card-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    color: #0d1b3e;
}

/* JOB DATE */
.gigd-card-date {
    font-size: 14px;
    color: #7b7b7b;
    margin-bottom: 4px;
}

/* COMPANY */
.gigd-card-company {
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 8px;
}

/* SALARY */
.gigd-card-salary {
    font-size: 18px;
    color: #0066FF;
    font-weight: 600;
    margin: 10px 0;
}

/* TAGS */
.gigd-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0;
}

.gigd-tag {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #0066FF;
    font-weight: 500;
    border: 1px solid rgba(0, 102, 255, 0.1);
}

/* RIGHT COLUMN – BUTTONS */
.gigd-card-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px;
    align-items: flex-end !important;
}

/* BUTTONS */
.gigd-btn-apply {
    background: linear-gradient(135deg, #0066FF 0%, #00A9CE 100%);
    color: #fff !important;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    min-width: 150px;
    text-decoration: none !important;
}

.gigd-btn-apply:hover {
    background: linear-gradient(135deg, #0052cc 0%, #0088b8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.gigd-btn-details {
    background: #f9fafb;
    padding: 12px 22px;
    border-radius: 12px;
    color: #0066FF !important;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    min-width: 150px;
    text-decoration: none !important;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.gigd-btn-details:hover {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
    border-color: #0066FF;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.15);
}
/* REMOVE THEME META INFO (AUTHOR + EMAIL + DATE ABOVE TITLE) */
.single_job_listing .entry-header,
.single_job_listing .entry-meta,
.single_job_listing .posted-on,
.single_job_listing .byline,
.single_job_listing .author,
.single_job_listing .ast-author-details,
.single_job_listing .ast-single-post-order,
.single_job_listing .entry-meta * {
    display: none !important;
}
/* FIX: remove Astra header/meta area on single job page */
.single-job_listing .entry-header,
.single-job_listing .entry-header *,
.single-job_listing .entry-meta,
.single-job_listing .entry-meta *,
.single-job_listing .posted-on,
.single-job_listing .byline,
.single-job_listing .author,
.single-job_listing .ast-author-details {
    display: none !important;
}

/* FIX: remove Astra duplicate title */
.single-job_listing .entry-title {
    display: none !important;
}
/* Remove Astra breadcrumbs on single job pages */
.single-job_listing .ast-breadcrumbs,
.single-job_listing .ast-breadcrumbs-wrapper,
.single-job_listing .ast-breadcrumbs-wrapper * {
    display: none !important;
}
/* CARD PIATTAFORMA */
.platform-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e6e9f0;
    padding: 25px;
    border-radius: 14px;
    background: #fff;
    margin-bottom: 25px;
    gap: 30px;
}

/* LEFT: LOGO + TESTO */
.platform-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.platform-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.platform-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.platform-name {
    margin: 0;
    font-size: 20px;
    color: #0d1b3e;
    font-weight: 700;
}

.platform-desc {
    margin: 0;
    font-size: 14px;
    color: #555;
}

/* MIDDLE: BOTTONI */
.platform-middle {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-visit {
    background: #00c26a;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.btn-review {
    background: #eaf1ff;
    color: #0052cc !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* RIGHT: RATING */
.platform-right {
    min-width: 160px;
    text-align: right;
}

/* LABEL + ICONA INFO */
.rating-label {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #0d1b3e;
    margin-bottom: 5px;
}

/* CERCHIETTO "i" */
.info-icon {
    width: 18px;
    height: 18px;
    background: #eaf1ff;
    color: #242F65;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
}

/* POPUP TOOLTIP */
.info-icon .tooltip {
    visibility: hidden;
    opacity: 0;
    width: 200px;
    background: #0d1b3e;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    position: absolute;
    top: 26px;
    right: 0;
    z-index: 20;
    font-size: 12px;
    transition: opacity .15s ease-in-out;
}

.info-icon .tooltip::after {
    content: "";
    position: absolute;
    top: -6px;
    right: 10px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #0d1b3e transparent;
}

.info-icon:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* STELLE */
.stars {
    color: #f4a51c;
    font-size: 18px;
}
/* ============================
   MOBILE FIX – JOB CARDS
   ============================ */
@media (max-width: 768px) {

    .gigd-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
        padding: 20px !important;
    }

    .gigd-card-left {
        width: 100% !important;
    }

    .gigd-card-title {
        font-size: 20px !important;
    }

    .gigd-card-date {
        margin-bottom: 10px !important;
        font-size: 13px !important;
    }

    .gigd-card-salary {
        margin: 10px 0 !important;
        font-size: 16px !important;
    }

    .gigd-card-tags {
        margin: 10px 0 0 0 !important;
        gap: 8px !important;
    }

    .gigd-tag {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }

    .gigd-card-actions {
        width: 100% !important;
        align-items: stretch !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .gigd-btn-apply,
    .gigd-btn-details {
        width: 100% !important;
        min-width: unset !important;
        padding: 12px !important;
        text-align: center !important;
        font-size: 15px !important;
    }
}
/* ============================
   MOBILE FIX – PLATFORM CARDS
   ============================ */
@media (max-width: 768px) {

    .platform-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
        padding: 20px !important;
    }

    .platform-logo {
        width: 60px !important;
        height: 60px !important;
        margin-right: 0 !important;
    }

    .platform-content {
        width: 100% !important;
    }

    .platform-name {
        font-size: 18px !important;
    }

    .platform-desc {
        font-size: 14px !important;
    }

    .platform-actions {
        width: 100% !important;
        align-items: stretch !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .btn-visit,
    .btn-review {
        width: 100% !important;
        text-align: center !important;
        padding: 12px !important;
        font-size: 15px !important;
    }

    .platform-rating {
        width: 100% !important;
        text-align: left !important;
        margin-top: 10px !important;
    }

    .platform-rating-label {
        justify-content: flex-start !important;
        font-size: 14px !important;
    }

    .stars {
        font-size: 16px !important;
        margin-top: 4px !important;
    }
}
.platform-overview-card {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:40px;
    background:#F1F5F9;
    border-radius:40px;
    margin-bottom:40px;
}

.poc-header {
    display:flex;
    align-items:center;
    gap:16px;
}

.poc-logo {
    width:60px;
    height:auto;
}

.poc-rating {
    width:140px;
}

.poc-title {
    font-size:32px;
    font-weight:700;
    margin:0;
}

.poc-desc {
    font-size:16px;
    line-height:1.6;
    margin-top:8px;
}

.poc-apply-wrapper {
    text-align:left;
    margin-top:20px;
}

.poc-apply-btn {
    background:#ff3131;
    padding:14px 26px;
    color:white;
    border-radius:12px;
    text-decoration:none;
    font-weight:600;
}

@media(max-width:768px) {
    .platform-overview-card {
        flex-direction:column;
        text-align:center;
        padding:24px;
    }
    .poc-right {
        margin-top:20px;
    }
}

/* ============================
   JOB PLATFORMS REVIEW SECTIONS
   ============================ */

/* Overview Card */
.gigd-overview-card {
    background: #EDF2F7;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
}

.gigd-overview-card p {
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Category Cards */
.gigd-category-card {
    background: #EDF2F7;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
}

/* Score Badges - Modern Circular Progress with Neumorphic Design */
.gigd-score-badge,
.gigd-category-score-badge,
.gigd-final-score-badge {
    position: relative;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #EDF2F7 0%, #E5E7EB 100%);
    border-radius: 50%;
    box-shadow: inset 4px 4px 8px rgba(255,255,255,0.6), 
                inset -4px -4px 8px rgba(0,0,0,0.1), 
                0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gigd-score-badge:hover,
.gigd-category-score-badge:hover,
.gigd-final-score-badge:hover {
    transform: scale(1.05);
    box-shadow: inset 4px 4px 8px rgba(255,255,255,0.6), 
                inset -4px -4px 8px rgba(0,0,0,0.1), 
                0 8px 20px rgba(0,0,0,0.15);
}

.gigd-final-score-badge {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #E6F9F0 0%, #D1F2E0 100%);
    box-shadow: inset 6px 6px 12px rgba(255,255,255,0.7), 
                inset -6px -6px 12px rgba(0,0,0,0.1), 
                0 8px 24px rgba(0,217,138,0.2);
}

.gigd-category-score-badge {
    width: 100px;
    height: 100px;
}

.gigd-score-badge svg,
.gigd-category-score-badge svg,
.gigd-final-score-badge svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.gigd-score-badge .score-text,
.gigd-category-score-badge .score-text,
.gigd-final-score-badge .score-text {
    position: relative;
    z-index: 10;
    font-weight: 700;
    color: #1A1A1A;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.gigd-score-badge .score-text {
    font-size: 28px;
}

.gigd-score-badge .score-text span {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.6;
}

.gigd-category-score-badge .score-text {
    font-size: 24px;
}

.gigd-category-score-badge .score-text span {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.6;
}

.gigd-final-score-badge .score-text {
    font-size: 42px;
    color: #00D98A;
    text-shadow: 0 2px 4px rgba(0,217,138,0.2);
}

.gigd-final-score-badge .score-text span {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.7;
}

/* Info Icon Tooltip */
.gigd-info-icon {
    position: relative;
}

.gigd-info-icon .gigd-tooltip {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.gigd-info-icon:hover .gigd-tooltip {
    visibility: visible;
    opacity: 1;
}

.gigd-info-icon-small {
    position: relative;
}

/* Total Score Section */
.gigd-total-score-section {
    background: #ffffff;
    border: 1px solid #e6e9f0;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
}

/* Online Review Score */
.gigd-online-reviews {
    background: #ffffff;
    border: 1px solid #e6e9f0;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
}

.gigd-reviews-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #0066FF #EDF2F7;
}

.gigd-reviews-scroll::-webkit-scrollbar {
    height: 6px;
}

.gigd-reviews-scroll::-webkit-scrollbar-track {
    background: #EDF2F7;
    border-radius: 3px;
}

.gigd-reviews-scroll::-webkit-scrollbar-thumb {
    background: #0066FF;
    border-radius: 3px;
}

.gigd-reviews-scroll::-webkit-scrollbar-thumb:hover {
    background: #0052cc;
}

.gigd-review-card {
    min-width: 280px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 24px;
    border-radius: 12px;
    flex-shrink: 0;
}

/* Recent Jobs Section */
.gigd-recent-jobs {
    background: #ffffff;
    border: 1px solid #e6e9f0;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
}

.gigd-jobs-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Rating Circle Styles */
.gigd-rating-circle {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gigd-circle-outer {
    position: relative;
}

/* Grid Layout for Job Platforms Review */
@media (min-width: 1024px) {
    .gigd-platform-review-grid {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 24px;
    }
    
    .gigd-rating-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Responsive: Job Platforms Review Sections */
@media (max-width: 768px) {
    .gigd-overview-card,
    .gigd-category-card {
        padding: 24px;
    }

    .gigd-total-score-section,
    .gigd-online-reviews,
    .gigd-recent-jobs {
        padding: 30px 20px;
    }

    .gigd-rating-circle[data-size="large"] {
        width: 120px !important;
        height: 120px !important;
    }

    .gigd-rating-circle[data-size="medium"] {
        width: 80px !important;
        height: 80px !important;
    }

    .gigd-rating-circle[data-size="small"] {
        width: 60px !important;
        height: 60px !important;
    }

    .gigd-review-card {
        min-width: 260px;
        padding: 20px;
    }
    
    .gigd-rating-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================
   JOB FILTERS STYLES
   ============================ */
.gigd-filters-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.gigd-filter {
    position: relative;
}

.gigd-filter-btn {
    padding: 9px 16px;
    background: #fff;
    border: 1px solid #d0d7e2;
    border-radius: 22px;
    cursor: pointer;
    font-size: 14px;
    color: #242F65;
}

.gigd-filter-btn:hover {
    background: #f3f5f9;
}

.gigd-filter-menu {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    width: 210px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    z-index: 20;
}

.gigd-filter-menu.open {
    display: block !important;
}

.gigd-filter-menu label {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: #242F65;
}

.gigd-search-input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 18px;
}

.gigd-search-submit {
    width: 100%;
    padding: 12px;
    background: #0052cc;
    color: white;
    font-size: 17px;
    border: 0;
    border-radius: 8px;
    margin-top: 10px;
    cursor: pointer;
}

/* ============================
   SINGLE ARTICLE TEMPLATE
   ============================ */
.gigd-single-article {
    width: 100%;
    padding-top: 40px;
    padding-bottom: 60px;
}

.gigd-article-content {
    width: 100%;
}

/* Remove Astra defaults on single posts */
.single-post .entry-header,
.single-post .entry-meta,
.single-post .ast-single-post-order,
.single-post .ast-author-details,
.single-post .posted-on,
.single-post .byline,
.single-post .cat-links,
.single-post .ast-breadcrumbs,
.single-post .ast-breadcrumbs-wrapper {
    display: none !important;
}

/* Single post container - same as other pages (1280px) */
.single-post .site-content,
.single-post .ast-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding-left: 20px;
    padding-right: 20px;
}

/* ============================
   ARTICLE TEMPLATE - GIGDRIFT STYLE
   ============================ */

/* Base Variables - matching site theme */
.gigd-article-page {
    --gigd-blue: #0066FF;
    --gigd-blue-dark: #0052CC;
    --gigd-cyan: #00A9CE;
    --gigd-green: #00D98A;
    --gigd-green-dark: #00BF7A;
    --gigd-text-dark: #0d1b3e;
    --gigd-text-body: #4A4A4A;
    --gigd-text-light: #6b7280;
    --gigd-bg-light: #FAFAFA;
    --gigd-bg-card: #EDF2F7;
    --gigd-border: #e6e9f0;
    --gigd-max-width: 1280px;
    --gigd-radius: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gigd-bg-light);
    width: 100%;
}

.gigd-article-page,
.gigd-article-page * {
    box-sizing: border-box;
}

/* Article Hero - Same width as site (1280px container) */
.gigd-article-hero {
    background: linear-gradient(135deg, var(--gigd-blue) 0%, var(--gigd-blue-dark) 100%);
    padding: 60px 40px 80px;
    position: relative;
    overflow: hidden;
    border-radius: var(--gigd-radius);
    margin-bottom: 0;
}

.gigd-article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 169, 206, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 217, 138, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.gigd-article-hero-inner {
    position: relative;
    z-index: 1;
}

/* Meta Badges */
.gigd-article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.gigd-article-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gigd-article-badge--category {
    background: rgba(0, 217, 138, 0.3);
    border-color: rgba(0, 217, 138, 0.5);
}

/* Hero Title */
.gigd-article-hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin: 0 0 24px 0;
    letter-spacing: -0.01em;
}

.gigd-article-intro {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    margin: 0;
}

/* Article Content Wrapper */
.gigd-article-wrapper {
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

/* Main Content Card */
.gigd-article-body {
    background: white;
    border-radius: var(--gigd-radius);
    padding: 60px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--gigd-border);
}

/* Typography */
.gigd-article-body h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--gigd-text-dark);
    margin: 48px 0 20px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    position: relative;
    padding-left: 20px;
}

.gigd-article-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: linear-gradient(180deg, var(--gigd-blue) 0%, var(--gigd-cyan) 100%);
    border-radius: 2px;
}

.gigd-article-body h2:first-child {
    margin-top: 0;
}

.gigd-article-body h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--gigd-text-dark);
    margin: 32px 0 16px;
    line-height: 1.4;
}

.gigd-article-body p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--gigd-text-body);
    margin: 0 0 20px;
}

/* Lists */
.gigd-article-body ul,
.gigd-article-body ol {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.gigd-article-body ul li,
.gigd-article-body ol li {
    font-size: 17px;
    line-height: 1.75;
    color: var(--gigd-text-body);
    margin-bottom: 12px;
    padding-left: 32px;
    position: relative;
}

.gigd-article-body ul li::before {
    content: '→';
    position: absolute;
    left: 8px;
    color: var(--gigd-cyan);
    font-weight: 600;
}

.gigd-article-body ol {
    counter-reset: item;
}

.gigd-article-body ol li::before {
    counter-increment: item;
    content: counter(item) ".";
    position: absolute;
    left: 4px;
    color: var(--gigd-blue);
    font-weight: 600;
}

/* Strong & Links */
.gigd-article-body strong {
    color: var(--gigd-text-dark);
    font-weight: 600;
}

.gigd-article-body a {
    color: var(--gigd-blue);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.gigd-article-body a:hover {
    color: var(--gigd-cyan);
    border-bottom-color: var(--gigd-cyan);
}

/* Highlight Box */
.gigd-article-highlight {
    background: linear-gradient(135deg, #F0F8FF 0%, #E6F4FF 100%);
    border-left: 4px solid var(--gigd-blue);
    border-radius: 8px;
    padding: 24px 28px;
    margin: 28px 0;
}

.gigd-article-highlight p {
    margin-bottom: 0;
    color: var(--gigd-text-dark);
}

/* CTA Box - Same style as site buttons */
.gigd-article-cta {
    background: #f9fafb;
    border: 1px solid var(--gigd-border);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
}

.gigd-article-cta p {
    color: var(--gigd-text-dark);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

/* CTA Button - Same as .gigd-btn-apply */
.gigd-article-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0066FF 0%, #00A9CE 100%);
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: none !important;
}

.gigd-article-cta-btn:hover {
    background: linear-gradient(135deg, #0052cc 0%, #0088b8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
    color: #fff !important;
}

/* Info Box / Note */
.gigd-article-note {
    background: var(--gigd-bg-card);
    border-radius: 12px;
    padding: 24px 28px;
    margin: 28px 0;
    border: 1px solid var(--gigd-border);
}

.gigd-article-note p {
    margin-bottom: 0;
}

/* Table of Contents (optional) */
.gigd-article-toc {
    background: var(--gigd-bg-card);
    border-radius: 12px;
    padding: 28px;
    margin: 0 0 40px;
    border: 1px solid var(--gigd-border);
}

.gigd-article-toc-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gigd-text-dark);
    margin: 0 0 16px;
}

.gigd-article-toc ul {
    margin: 0;
}

.gigd-article-toc li {
    margin-bottom: 8px;
    padding-left: 24px;
}

.gigd-article-toc li::before {
    content: '•';
    color: var(--gigd-blue);
}

.gigd-article-toc a {
    color: var(--gigd-text-body);
    font-size: 15px;
}

.gigd-article-toc a:hover {
    color: var(--gigd-blue);
}

/* Article Responsive */
@media (max-width: 768px) {
    .gigd-article-hero {
        padding: 60px 20px 80px;
    }

    .gigd-article-hero h1 {
        font-size: 32px;
    }

    .gigd-article-intro {
        font-size: 17px;
    }

    .gigd-article-body {
        padding: 32px 24px;
        border-radius: 12px;
    }

    .gigd-article-body h2 {
        font-size: 26px;
        margin-top: 36px;
        padding-left: 16px;
    }

    .gigd-article-body h3 {
        font-size: 20px;
    }

    .gigd-article-body p,
    .gigd-article-body ul li,
    .gigd-article-body ol li {
        font-size: 16px;
    }

    .gigd-article-cta {
        padding: 28px 24px;
    }

    .gigd-article-cta p {
        font-size: 18px;
    }

    .gigd-article-highlight,
    .gigd-article-note {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .gigd-article-hero h1 {
        font-size: 28px;
    }

    .gigd-article-body {
        padding: 24px 20px;
    }

    .gigd-article-meta {
        gap: 8px;
    }

    .gigd-article-badge {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* ============================
   ARTICLE FAQ SECTION
   ============================ */
.gigd-article-faq {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--gigd-border);
}

.gigd-article-faq > h2 {
    margin-top: 0;
}

.gigd-faq-item {
    background: var(--gigd-bg-card);
    border: 1px solid var(--gigd-border);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.gigd-faq-item:hover {
    border-color: var(--gigd-blue);
    box-shadow: 0 2px 12px rgba(0, 102, 255, 0.08);
}

.gigd-faq-item:last-child {
    margin-bottom: 0;
}

.gigd-faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gigd-text-dark);
    margin: 0 0 12px;
    line-height: 1.4;
}

.gigd-faq-item p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gigd-text-body);
    margin: 0;
}

@media (max-width: 768px) {
    .gigd-article-faq {
        margin-top: 36px;
        padding-top: 32px;
    }

    .gigd-faq-item {
        padding: 20px;
    }

    .gigd-faq-item h3 {
        font-size: 17px;
    }

    .gigd-faq-item p {
        font-size: 15px;
    }
}

