/*
Theme Name: Freelance Gig Hub
Theme URI: https://example.com/
Author: OpenAI
Description: Fiverr-inspired marketplace WordPress theme for promoting freelancer gigs.
Version: 14.5.9 Home Category Slider Only
Text Domain: freelance-gig-hub
*/
:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --surface-2:#f7f7f7;
  --surface-3:#f2f2f2;
  --text:#222325;
  --muted:#6b6f76;
  --line:#e6e6e7;
  --line-soft:#efeff0;
  --primary:#1dbf73;
  --primary-dark:#15985a;
  --dark:#171717;
  --shadow:0 10px 30px rgba(0,0,0,.05);
  --radius:16px;
  --radius-lg:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Macan,Inter,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.5}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block;height:auto}
.container{width:min(1280px,calc(100% - 32px));margin:0 auto}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--line-soft)}
.header-inner{display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;min-height:72px}
.site-logo{font-size:30px;font-weight:800;letter-spacing:-.05em;line-height:1}
.site-logo span{color:var(--primary)}
.site-nav ul{display:flex;align-items:center;justify-content:center;gap:22px;list-style:none;margin:0;padding:0}
.site-nav a{font-size:14px;font-weight:500;color:#444;padding:8px 0}
.site-nav a:hover,.site-nav .current-menu-item>a{color:#111}
.header-actions{display:flex;align-items:center;gap:12px}
.button,.wp-block-button__link,button,input[type=submit]{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:13px 20px;font-weight:700;font-size:15px;border:1px solid transparent;cursor:pointer;transition:.2s ease}
.button-primary,.wp-block-button__link,input[type=submit]{background:var(--primary);color:#fff}
.button-primary:hover,input[type=submit]:hover{background:var(--primary-dark)}
.button-outline{background:#fff;border-color:var(--line);color:#222}
.button-outline:hover{border-color:#cfd0d3;background:#fafafa}
.button-text{padding:8px 0;background:none;border:none;color:#555;font-weight:600}
.hero-marketplace{position:relative;background:#111;color:#fff;min-height:560px;overflow:hidden}
.hero-marketplace::before{content:"";position:absolute;inset:0;background:
linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.56) 34%,rgba(0,0,0,.18) 70%,rgba(0,0,0,.20) 100%),
radial-gradient(circle at 75% 30%,rgba(29,191,115,.18),transparent 22%),
linear-gradient(135deg,#1d1e1f 0%,#2e2e2f 48%,#181818 100%)}
.hero-marketplace::after{content:"";position:absolute;right:-80px;bottom:-20px;width:44%;height:88%;background:
radial-gradient(circle at 40% 35%,rgba(255,255,255,.20),transparent 18%),
linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.02));border-radius:36px 0 0 0;transform:skewX(-8deg);opacity:.65}
.hero-marketplace .container{position:relative;z-index:2;padding:68px 0 54px}
.hero-grid{display:grid;grid-template-columns:minmax(0,640px) 1fr;gap:32px;align-items:center}
.hero-copy h1{font-size:clamp(46px,5.8vw,72px);line-height:.98;letter-spacing:-.05em;margin:0 0 18px;font-weight:700;max-width:9ch}
.hero-copy p{font-size:18px;max-width:56ch;color:rgba(255,255,255,.84);margin:0 0 22px}
.hero-search{max-width:660px;background:#fff;border-radius:12px;display:grid;grid-template-columns:1fr 62px;overflow:hidden;box-shadow:0 18px 42px rgba(0,0,0,.2);margin-bottom:18px}
.hero-search input{border:none;padding:18px 18px;font-size:16px;outline:none;color:#222}
.hero-search button{border:none;background:#222;color:#fff;border-radius:0;font-size:20px}
.hero-pills{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 20px}
.hero-pill{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);border-radius:999px;padding:10px 14px;font-size:14px;font-weight:600;color:#fff}
.hero-trust{display:flex;flex-wrap:wrap;gap:18px;margin-top:18px;color:rgba(255,255,255,.78);font-size:13px}
.hero-trust span{font-weight:600;color:#fff;margin-right:6px}
.hero-side-card{justify-self:end;width:min(390px,100%);background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:24px;padding:22px;backdrop-filter:blur(10px);box-shadow:0 20px 50px rgba(0,0,0,.2)}
.profile-mock{background:linear-gradient(135deg,#2a2c2e,#171819);border-radius:20px;padding:18px}
.profile-mock .avatar{width:88px;height:88px;border-radius:50%;background:linear-gradient(135deg,#d6d6d6,#848484);margin-bottom:14px}
.profile-mock h3{margin:0 0 6px;font-size:22px}
.profile-mock p{margin:0;color:rgba(255,255,255,.72)}
.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}
.profile-stat{background:rgba(255,255,255,.06);border-radius:16px;padding:14px;text-align:center}
.profile-stat strong{display:block;font-size:20px}
.section{padding:34px 0}
.section-lg{padding:52px 0}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.section-head h2{font-size:34px;line-height:1.05;letter-spacing:-.035em;margin:0;font-weight:700}
.section-head p{margin:0;color:var(--muted)}
.icon-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:14px}
.icon-card{background:#fff;border:1px solid var(--line-soft);border-radius:16px;padding:18px 14px;min-height:110px;box-shadow:var(--shadow)}
.icon-badge{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#effff7,#dcf9ea);border:1px solid #d2f0df;display:grid;place-items:center;font-size:18px;margin-bottom:12px}
.icon-card h3{margin:0;font-size:14px;line-height:1.3}
.section-grey{background:var(--surface-2)}
.gig-row-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.fgh-gig-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.fgh-gig-card{background:#fff;border:1px solid var(--line-soft);border-radius:16px;overflow:hidden;box-shadow:var(--shadow);transition:transform .2s ease,box-shadow .2s ease}
.fgh-gig-card:hover{transform:translateY(-4px);box-shadow:0 18px 35px rgba(0,0,0,.08)}
.fgh-gig-thumb{aspect-ratio:16/10;background:linear-gradient(135deg,#e9f8f0,#f6f6f6)}
.fgh-gig-thumb img{width:100%;height:100%;object-fit:cover}
.fgh-gig-card__body{padding:14px 14px 16px}
.fgh-gig-card__body h3{margin:0 0 8px;font-size:16px;line-height:1.35;font-weight:700}
.fgh-gig-card__body p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}
.fgh-meta-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line-soft);font-size:13px;color:var(--muted)}
.fgh-meta-row strong{font-size:16px;color:#111}
.service-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.service-card{position:relative;min-height:170px;border-radius:18px;overflow:hidden;padding:18px;background:#0f6b46;color:#fff;box-shadow:var(--shadow)}
.service-card:nth-child(2){background:#315f39}.service-card:nth-child(3){background:#153d52}.service-card:nth-child(4){background:#6a5d10}.service-card:nth-child(5){background:#4f3364}.service-card:nth-child(6){background:#875322}
.service-card::after{content:"";position:absolute;right:-10px;bottom:-16px;width:110px;height:88px;border-radius:18px 18px 0 0;background:rgba(255,255,255,.18);box-shadow:inset 0 0 0 2px rgba(255,255,255,.18)}
.service-card span{display:block;font-size:14px;opacity:.88;margin-bottom:8px}
.service-card h3{font-size:24px;line-height:1.05;letter-spacing:-.03em;margin:0;max-width:8ch}
.why-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px}
.why-card{text-align:left}
.why-icon{width:54px;height:54px;border-radius:50%;background:#f2faf5;border:1px solid #d7eee1;display:grid;place-items:center;font-size:22px;margin-bottom:14px}
.why-card h3{margin:0 0 8px;font-size:18px}.why-card p{margin:0;color:var(--muted)}
.promo-stack{display:grid;gap:18px}
.promo-banner{position:relative;overflow:hidden;border-radius:18px;padding:40px 42px;min-height:290px;color:#fff;background:#0f0f10}
.promo-banner.green{background:#0f6136}
.promo-banner.maroon{background:#5f1733;min-height:170px;display:flex;align-items:center;justify-content:center;text-align:center}
.promo-banner::after{content:"";position:absolute;right:42px;bottom:0;width:240px;height:240px;border-radius:24px 24px 0 0;background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,.04))}
.promo-banner.green::after{background:linear-gradient(180deg,rgba(255,255,255,.26),rgba(255,255,255,.05))}
.promo-copy{position:relative;z-index:2;max-width:470px}
.promo-copy .eyebrow{display:inline-flex;border:1px solid rgba(255,255,255,.18);padding:8px 12px;border-radius:999px;font-size:12px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:16px}
.promo-copy h2{margin:0 0 14px;font-size:48px;line-height:.98;letter-spacing:-.05em;max-width:10ch}
.promo-copy p{margin:0 0 18px;color:rgba(255,255,255,.82);max-width:46ch}
.promo-points{display:grid;gap:9px;margin:0 0 22px;padding:0;list-style:none;color:rgba(255,255,255,.88)}
.video-feature{border-radius:18px;overflow:hidden;min-height:430px;position:relative;background:linear-gradient(180deg,rgba(0,0,0,.14),rgba(0,0,0,.42)),linear-gradient(135deg,#bcbcbc,#eaeaea 60%,#c3c3c3)}
.video-feature::after{content:"▶";position:absolute;left:24px;bottom:24px;width:54px;height:54px;border-radius:50%;background:rgba(0,0,0,.72);color:#fff;display:grid;place-items:center;font-size:20px}
.video-feature-copy{position:absolute;left:28px;right:28px;bottom:28px;color:#fff}
.video-feature-copy p{margin:0 0 8px;font-size:15px;color:rgba(255,255,255,.84)}
.video-feature-copy h2{margin:0;font-size:58px;line-height:.95;letter-spacing:-.05em;max-width:9ch}
.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.guide-card{background:#fff;border:1px solid var(--line-soft);border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}
.guide-thumb{aspect-ratio:16/10;background:linear-gradient(135deg,#d6d6d6,#f0f0f0)}
.guide-thumb.mint{background:linear-gradient(135deg,#d9f8ef,#c8f0e2)}
.guide-thumb.beige{background:linear-gradient(135deg,#eee6da,#faf6ef)}
.guide-card h3{margin:14px 14px 16px;font-size:17px;line-height:1.35}
.site-footer{background:#fff;border-top:1px solid var(--line-soft);margin-top:24px;padding:42px 0 22px}
.footer-top{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;padding-bottom:30px}
.footer-col h3{font-size:15px;margin:0 0 12px}.footer-col ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}.footer-col a,.footer-col li{color:var(--muted);font-size:14px}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid var(--line-soft);padding-top:20px;color:var(--muted);font-size:14px}
.footer-socials{display:flex;gap:12px;align-items:center}
.footer-social{width:34px;height:34px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center}
.content-shell{padding:28px 0 60px;background:#fafafa}
.page-card,.sidebar-card{background:#fff;border:1px solid var(--line-soft);border-radius:18px;padding:24px;box-shadow:var(--shadow)}
.archive-header{padding:46px 0 16px;background:linear-gradient(180deg,#fff,#fafafa)}
.archive-header h1{margin:0 0 10px;font-size:50px;line-height:.98;letter-spacing:-.05em}
.archive-layout{display:grid;grid-template-columns:290px 1fr;gap:22px}
.filter-list{display:grid;gap:10px;margin-top:12px}.filter-chip{display:inline-flex;padding:10px 14px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:14px;font-weight:600;width:fit-content}
.search-form input{width:100%;padding:13px 14px;border-radius:12px;border:1px solid var(--line);outline:none}
.archive-gigs .fgh-gig-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.fgh-wrap{max-width:1180px;margin:0 auto;padding:32px 16px}
.fgh-card{background:#fff;border:1px solid var(--line-soft);border-radius:18px;padding:28px;box-shadow:var(--shadow)}
.fgh-heading-row h2{margin:0 0 8px;font-size:34px;letter-spacing:-.03em}.fgh-heading-row p{margin:0 0 18px;color:var(--muted)}
.fgh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.fgh-field-full{grid-column:1/-1}.fgh-field label{display:block;font-weight:700;margin-bottom:8px}.fgh-field input,.fgh-field textarea{width:100%;border:1px solid #d6d7de;border-radius:14px;padding:14px 16px;font-size:15px;outline:none}.fgh-field textarea{min-height:160px;resize:vertical}.fgh-inline{display:flex;gap:12px}.fgh-inline input{flex:1}.fgh-alert{background:#f4f8ff;border:1px solid #dbe7ff;color:#1d3c78;padding:12px 14px;border-radius:12px;margin:0 0 16px}.fgh-table{width:100%;border-collapse:collapse}.fgh-table th,.fgh-table td{padding:14px;border-bottom:1px solid #ececf2;text-align:left}.fgh-table-wrap{overflow:auto}.single-gig-layout{padding:40px 20px;background:#fafafa}.single-gig-card{display:grid;grid-template-columns:minmax(0,1.7fr) 380px;gap:28px;background:#fff;border:1px solid var(--line-soft);border-radius:22px;padding:28px;box-shadow:var(--shadow)}.gig-detail-meta{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:18px;color:#5a5f73}.single-gig-sidebar{padding:18px;border:1px solid #ececf2;border-radius:18px;height:fit-content}.single-gig-image{width:100%;border-radius:16px;margin-bottom:16px}.single-gig-price{font-size:24px;font-weight:700;margin-bottom:16px}.fgh-fetch-status{margin:10px 0 0;color:#5a5f73}
@media (max-width:1180px){.icon-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.fgh-gig-grid,.gig-row-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.archive-gigs .fgh-gig-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.footer-top{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:960px){.header-inner{grid-template-columns:auto auto}.site-nav{display:none}.hero-grid,.archive-layout,.single-gig-card{grid-template-columns:1fr}.hero-side-card{justify-self:start}.icon-grid,.service-grid,.why-grid,.guide-grid,.footer-top,.fgh-gig-grid,.gig-row-grid,.archive-gigs .fgh-gig-grid,.fgh-grid{grid-template-columns:1fr 1fr}.video-feature-copy h2{font-size:44px}.promo-copy h2{font-size:40px}.fgh-inline{flex-direction:column}.footer-bottom{flex-direction:column;align-items:flex-start}}
@media (max-width:640px){.container{width:min(100%,calc(100% - 20px))}.hero-marketplace .container{padding:46px 0 34px}.hero-copy h1{font-size:42px}.hero-search{grid-template-columns:1fr 56px}.hero-pills,.hero-trust{gap:8px}.section-head h2,.fgh-heading-row h2{font-size:28px}.icon-grid,.service-grid,.why-grid,.guide-grid,.footer-top,.fgh-gig-grid,.gig-row-grid,.archive-gigs .fgh-gig-grid,.fgh-grid{grid-template-columns:1fr}.promo-banner,.promo-banner.maroon{padding:28px 24px}.promo-banner::after{right:-40px;width:180px;height:180px}.promo-copy h2{font-size:34px}.video-feature{min-height:330px}.video-feature-copy h2{font-size:36px}.archive-header h1{font-size:38px}}

.taxonomy-hero{padding:28px 0 22px;background:#fff;border-bottom:1px solid var(--line-soft)}
.taxonomy-breadcrumbs{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin-bottom:16px}
.taxonomy-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.taxonomy-title-row h1{margin:0 0 8px;font-size:42px;line-height:1;letter-spacing:-.05em}
.taxonomy-trust-row{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.taxonomy-trust-row span{display:inline-flex;padding:10px 14px;border:1px solid var(--line);border-radius:999px;font-size:13px;font-weight:600;background:#fff}
.taxonomy-chip-row,.tag-cloud-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.taxonomy-chip{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:14px;font-weight:600;color:#333}
.taxonomy-chip.alt{background:#fafafa}
.taxonomy-toolbar-wrap{position:sticky;top:72px;z-index:40;background:#fff;border-bottom:1px solid var(--line-soft)}
.taxonomy-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0}
.taxonomy-toolbar-left{display:flex;flex-wrap:wrap;gap:10px}
.toolbar-pill{appearance:none;border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 14px;font-size:14px;font-weight:600;color:#333}
.toolbar-pill.active{border-color:#cfcfd3;background:#fafafa}
.taxonomy-sort-form{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted)}
.taxonomy-sort-form select{border:1px solid var(--line);border-radius:12px;padding:11px 14px;font-size:14px;background:#fff}
.taxonomy-grid-section{padding:24px 0 44px;background:#fff}
.category-gig-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.category-gig-card{background:#fff;border:1px solid var(--line-soft);border-radius:16px;overflow:hidden;transition:transform .2s ease, box-shadow .2s ease;box-shadow:var(--shadow)}
.category-gig-card:hover{transform:translateY(-4px);box-shadow:0 18px 35px rgba(0,0,0,.08)}
.category-gig-thumb{display:block;aspect-ratio:16/10;background:linear-gradient(135deg,#ececec,#f9f9f9)}
.category-gig-thumb img{width:100%;height:100%;object-fit:cover}
.category-gig-placeholder{display:grid;place-items:center;height:100%;color:var(--muted);font-size:14px}
.category-gig-body{padding:14px}
.category-gig-seller{font-size:13px;color:var(--muted);margin-bottom:8px}
.category-gig-body h3{margin:0 0 10px;font-size:15px;line-height:1.4;min-height:42px}
.category-gig-rating{display:flex;align-items:center;gap:6px;font-size:13px;color:#666}
.category-gig-rating .star{color:#ffb33e}
.category-gig-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line-soft);margin-top:12px;padding-top:12px}
.category-gig-bottom strong{font-size:16px}
.taxonomy-pagination{margin-top:28px}.taxonomy-pagination ul{display:flex;justify-content:center;gap:10px;list-style:none;padding:0;margin:0}.taxonomy-pagination a,.taxonomy-pagination span{display:grid;place-items:center;min-width:42px;height:42px;border:1px solid var(--line);border-radius:999px;background:#fff}.taxonomy-pagination .current{background:#111;color:#fff;border-color:#111}
.explore-tags-section{border-top:1px solid var(--line-soft)}
.faq-shell{padding-bottom:8px}
.faq-list{display:grid;gap:12px}.faq-item{background:#fff;border:1px solid var(--line-soft);border-radius:16px;padding:0 18px;box-shadow:var(--shadow)}
.faq-item summary{list-style:none;cursor:pointer;padding:18px 0;font-weight:700}.faq-item summary::-webkit-details-marker{display:none}.faq-item p{margin:0 0 18px;color:var(--muted)}
@media (max-width:1180px){.category-gig-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:960px){.taxonomy-title-row,.taxonomy-toolbar{flex-direction:column;align-items:flex-start}.taxonomy-toolbar-wrap{top:0}.category-gig-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.taxonomy-title-row h1{font-size:34px}.category-gig-grid{grid-template-columns:1fr}.taxonomy-toolbar{padding:12px 0}.taxonomy-sort-form{width:100%}.taxonomy-sort-form select{width:100%}}


/* FGH single gig Fiverr-style layout */
.fgh-single-page {
    background: #fff;
    color: #222325;
    font-family: Inter, Arial, sans-serif;
}

.fgh-single-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 32px 80px;
}

.fgh-breadcrumb {
    font-size: 13px;
    color: #74767e;
    margin-bottom: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fgh-breadcrumb a {
    color: #446ee7;
    text-decoration: none;
}

.fgh-gig-layout {
    display: grid;
    grid-template-columns: minmax(0, 740px) 414px;
    gap: 72px;
    align-items: start;
}

.fgh-gig-title {
    font-size: 34px;
    line-height: 1.18;
    margin: 0 0 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.fgh-seller-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    color: #404145;
}

.fgh-seller-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f5ee;
    color: #1dbf73;
    font-weight: 800;
}

.fgh-seller-avatar.large {
    width: 72px;
    height: 72px;
}

.fgh-dot {
    margin: 0 6px;
    color: #95979d;
}

.fgh-rating-line {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
}

.fgh-stars {
    letter-spacing: 1px;
    color: #222;
    font-size: 15px;
}

.fgh-rating-line a {
    color: #446ee7;
}

.fgh-main-media {
    background: #000;
    border: 1px solid #efeff0;
    overflow: hidden;
    margin-bottom: 12px;
}

.fgh-main-media img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.fgh-thumb-row {
    display: flex;
    gap: 8px;
    margin-bottom: 42px;
}

.fgh-thumb {
    width: 88px;
    height: 58px;
    border: 2px solid transparent;
    overflow: hidden;
    opacity: 0.7;
}

.fgh-thumb.active {
    border-color: #222;
    opacity: 1;
}

.fgh-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fgh-summary-box {
    border: 1px solid #dadbdd;
    border-radius: 14px;
    padding: 28px 32px;
    margin: 42px 0;
    background: #fff;
}

.fgh-summary-box h2 {
    font-size: 20px;
    margin: 0 0 18px;
}

.fgh-summary-box ul {
    margin: 0;
    padding-left: 20px;
    font-size: 18px;
    line-height: 1.7;
}

.fgh-content-section {
    margin: 42px 0;
    border-top: 1px solid #efeff0;
    padding-top: 30px;
}

.fgh-content-section h2 {
    font-size: 24px;
    margin: 0 0 18px;
}

.fgh-description {
    font-size: 16px;
    line-height: 1.75;
    color: #404145;
}

.fgh-description p {
    margin: 0 0 18px;
}

.fgh-seller-card {
    display: flex;
    gap: 18px;
    border: 1px solid #dadbdd;
    border-radius: 12px;
    padding: 22px;
}

.fgh-seller-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.fgh-review-summary {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 18px;
}

.fgh-package-sidebar {
    position: sticky;
    top: 32px;
}

.fgh-package-card {
    border: 1px solid #dadbdd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.fgh-package-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid #dadbdd;
}

.fgh-package-tabs button {
    background: #fff;
    border: 0;
    border-right: 1px solid #dadbdd;
    padding: 22px 10px;
    font-size: 18px;
    font-weight: 700;
    color: #74767e;
    cursor: pointer;
}

.fgh-package-tabs button:last-child {
    border-right: 0;
}

.fgh-package-tabs button.active {
    color: #222325;
    border-bottom: 3px solid #222325;
}

.fgh-package-body {
    padding: 28px 30px;
}

.fgh-price {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 18px;
}

.fgh-package-title {
    font-size: 16px;
    line-height: 1.45;
    color: #62646a;
    margin: 0 0 24px;
}

.fgh-package-title strong {
    color: #404145;
    margin-right: 4px;
}

.fgh-package-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-weight: 700;
    color: #62646a;
    margin-bottom: 22px;
}

.fgh-continue-btn,
.fgh-contact-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 18px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
}

.fgh-continue-btn {
    background: #000;
    color: #fff;
    margin-bottom: 12px;
}

.fgh-contact-btn {
    background: #fff;
    color: #404145;
    border: 1px solid #dadbdd;
}

.fgh-sidebar-note {
    border-top: 1px solid #dadbdd;
    padding: 26px 30px;
    color: #62646a;
}

.fgh-sidebar-note strong {
    display: block;
    color: #222325;
    margin-bottom: 10px;
}

@media (max-width: 980px) {
    .fgh-single-container {
        padding: 22px 18px 60px;
    }

    .fgh-gig-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .fgh-package-sidebar {
        position: static;
    }

    .fgh-gig-title {
        font-size: 28px;
    }
}


/* FGH v14 editable header */
.fgh-site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 20;
}

.fgh-header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 72px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.fgh-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #222325;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.fgh-logo-dot {
    color: #1dbf73;
}

.fgh-logo-img {
    max-height: 42px;
    width: auto;
    display: block;
}

.fgh-main-nav {
    justify-self: center;
}

.fgh-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fgh-menu li {
    margin: 0;
    padding: 0;
}

.fgh-menu a {
    color: #404145;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.fgh-menu a:hover {
    color: #1dbf73;
}

.fgh-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fgh-dashboard-link {
    color: #404145;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    margin-right: 4px;
}

.fgh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
    white-space: nowrap;
}

.fgh-btn-outline {
    color: #222325;
    border-color: #e4e5e7;
    background: #fff;
}

.fgh-btn-green {
    color: #fff;
    background: #1dbf73;
    border-color: #1dbf73;
}

@media (max-width: 900px) {
    .fgh-header-inner {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px 20px;
    }

    .fgh-logo,
    .fgh-main-nav,
    .fgh-header-actions {
        justify-self: center;
    }

    .fgh-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 22px;
    }

    .fgh-header-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* FGH v15 working hero search and dynamic category pills */
.fgh-home-hero {
    background: linear-gradient(90deg, #111 0%, #151515 55%, #202020 100%);
    color: #fff;
    padding: 72px 30px 84px;
    overflow: hidden;
}

.fgh-home-hero-inner {
    max-width: 980px;
    margin: 0;
}

.fgh-home-hero h1 {
    color: #fff;
    font-size: clamp(56px, 8vw, 92px);
    line-height: .98;
    letter-spacing: -0.06em;
    font-weight: 800;
    margin: 0 0 28px;
}

.fgh-home-hero p {
    max-width: 920px;
    color: #fff;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.38;
    margin: 0 0 34px;
}

.fgh-hero-search {
    width: min(920px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
}

.fgh-hero-search input {
    border: 0;
    padding: 24px 28px;
    font-size: 22px;
    outline: none;
    color: #222;
}

.fgh-hero-search button {
    border: 0;
    background: #111;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.fgh-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
}

.fgh-hero-pills a {
    color: #fff !important;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.08);
    border-radius: 999px;
    padding: 14px 20px;
    font-size: 18px;
    font-weight: 800;
}

.fgh-hero-pills a:hover {
    background: #1dbf73;
    border-color: #1dbf73;
}

.fgh-home-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 30px;
}

@media (max-width: 700px) {
    .fgh-home-hero {
        padding: 54px 20px 62px;
    }

    .fgh-hero-search {
        grid-template-columns: 1fr 58px;
    }

    .fgh-hero-search input {
        padding: 18px 20px;
        font-size: 18px;
    }

    .fgh-hero-pills a {
        font-size: 15px;
        padding: 11px 15px;
    }
}


/* v17.6 restore homepage content, hide only duplicate old green hero */
.fgh-restored-home-content {
    max-width: 1440px;
    padding: 0 !important;
    margin: 0 auto;
 
}

.fgh-restored-home-content .fgh-home > .fgh-hero,
.fgh-restored-home-content .fgh-hero {
    display: none !important;
}

/* keep remaining homepage sections visible */
.fgh-restored-home-content .fgh-home > section:not(.fgh-hero),
.fgh-restored-home-content .fgh-home .fgh-cats,
.fgh-restored-home-content .fgh-home .fgh-grid,
.fgh-restored-home-content .fgh-home h2 {
    display: revert;
}


/* FGH v18 custom register form */
.fgh-register-template {
    background: #f7f7f8;
    padding: 70px 22px;
    min-height: 70vh;
}

.fgh-auth-page {
    max-width: 560px;
    margin: 0 auto;
}

.fgh-auth-card {
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 24px;
    box-shadow: 0 22px 60px rgba(0,0,0,.07);
    padding: 42px;
    font-family: Arial, Helvetica, sans-serif;
}

.fgh-auth-header {
    margin-bottom: 28px;
}

.fgh-auth-badge {
    display: inline-flex;
    background: #e8fff3;
    color: #087443;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 800;
    margin-bottom: 16px;
}

.fgh-auth-card h1,
.fgh-auth-card h2 {
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin: 0 0 12px;
    color: #222325;
    font-weight: 900;
}

.fgh-auth-card p {
    color: #62646a;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.fgh-register-form {
    display: grid;
    gap: 14px;
}

.fgh-register-form label {
    font-size: 14px;
    font-weight: 800;
    color: #222325;
    margin-top: 4px;
}

.fgh-register-form input {
    width: 100%;
    height: 52px;
    border: 1px solid #d8dce3;
    border-radius: 14px;
    padding: 0 16px;
    font-size: 15px;
    box-sizing: border-box;
    background: #fff;
}

.fgh-register-form input:focus {
    outline: none;
    border-color: #1dbf73;
    box-shadow: 0 0 0 4px rgba(29,191,115,.14);
}

.fgh-register-form button,
.fgh-auth-btn {
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    background: #1dbf73;
    color: #fff !important;
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
}

.fgh-auth-btn:not(.green) {
    background: #222325;
}

.fgh-auth-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.fgh-auth-bottom {
    text-align: center;
    margin-top: 24px !important;
}

.fgh-auth-bottom a {
    color: #1dbf73;
    font-weight: 800;
}

.fgh-auth-alert {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 20px;
    font-weight: 700;
}

.fgh-auth-alert.error {
    background: #fff0f0;
    color: #b42318;
}

@media (max-width: 640px) {
    .fgh-auth-card {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .fgh-auth-card h1,
    .fgh-auth-card h2 {
        font-size: 30px;
    }
}
