/* Desktop polish (Robert, Oct 29): one-row header and a readable, balanced homepage on laptop/desktop screens.
   Desktop only (>= 992px): phones and tablets keep their current look. Loaded after ftf-header-isolated.css. */
.ftf-nav-search-link{display:none}

@media (min-width:992px){
  /* ---------- Header: one clean row ---------- */
  .ftf-v4-nav-wrap{max-width:90rem;width:calc(100% - 3rem);margin-top:1rem}
  .ftf-v4-nav{border-radius:1.25rem;padding:.55rem .75rem .55rem 1.5rem;background:rgba(255,255,255,.95);box-shadow:0 10px 30px rgba(17,24,39,.08)}
  .ftf-v4-nav>.container-fluid{flex-wrap:nowrap;padding:0;gap:1.5rem}
  .ftf-v4-nav .header-logo{--ftf-nav-logo-height:46px;flex:0 0 auto;max-width:none!important;flex-basis:auto;width:auto}
  .ftf-v4-nav .header-logo img{height:var(--ftf-nav-logo-height);width:auto;max-width:none}
  .ftf-v4-nav .header-logo+div{display:none}
  .ftf-v4-nav .navbar-collapse{flex:1 1 auto;min-width:0}
  .ftf-v4-nav .navbar-nav{flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end;gap:.15rem;width:100%}
  .ftf-v4-nav .nav-item{flex:0 0 auto;width:auto!important;text-align:left}
  /* the logo already links home, so the Home link is dropped on desktop to give the menu room */
  .ftf-v4-nav .navbar-nav>.nav-item.ftf-nav-home{display:none}
  .ftf-v4-nav .nav-link{font-size:.875rem;font-weight:600;letter-spacing:.035em;color:#1f2933!important;padding:.55rem .7rem!important;border-radius:999px;line-height:1.2;transition:background-color .15s,color .15s}
  .ftf-v4-nav .nav-link:hover,.ftf-v4-nav .nav-link:focus-visible,.ftf-v4-nav .show>.nav-link{background:rgba(201,162,74,.12);color:#7a5c17!important}
  .ftf-v4-nav .dropdown-menu{border:0;border-radius:.9rem;box-shadow:0 14px 34px rgba(17,24,39,.14);padding:.4rem;margin-top:.6rem}
  .ftf-v4-nav .dropdown-item{border-radius:.6rem;padding:.55rem .9rem;font-weight:500}
  .ftf-v4-nav .nav-divider{order:1;width:1px;height:1.75rem;background:#e5e1d6;margin:0 .45rem;align-self:center}
  /* right-hand group: search, log in / account, bell, start button */
  .ftf-v4-nav .ftf-nav-search{order:2;margin:0 .35rem 0 0}
  .ftf-v4-nav .ftf-nav-search-link{order:2}
  .ftf-v4-nav .ftf-nav-login,.ftf-v4-nav .ftf-nav-account{order:3}
  .ftf-v4-nav .ftf-nav-bell{order:4}
  .ftf-v4-nav .ftf-nav-cta{order:5;margin-left:.5rem}
  .ftf-v4-nav .header-search{max-width:none!important;margin:0!important;background:transparent!important}
  .ftf-v4-nav .header-search input{width:11rem;height:2.6rem;min-height:0;padding:.4rem 1rem .4rem 2.4rem;font-size:.9rem;border:1px solid #e2ddd0!important;background:#f7f6f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a7466' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat .9rem center!important;border-radius:999px!important;transition:border-color .15s,box-shadow .15s,width .2s}
  .ftf-v4-nav .header-search input:focus{width:13.5rem;border-color:#c9a24a!important;box-shadow:0 0 0 3px rgba(201,162,74,.2);background-color:#fff!important}
  .ftf-v4-nav .ftf-nav-bell .nav-link{padding:.55rem .65rem!important}
  .ftf-v4-nav .notification-bell{position:relative;display:inline-block}
  .ftf-v4-nav .ftf-v4-nav-start{font-size:.85rem;letter-spacing:.04em;padding:.75rem 1.3rem;line-height:1.1}

  /* ---------- Homepage hero: larger, readable supporting text ---------- */
  body .ftf-v10 .ftf-v4-hero{padding:2.75rem 0 .5rem}
  body .ftf-v10 .ftf-v4-copy{max-width:76rem}
  body .ftf-v10 .ftf-v4-copy h1{max-width:60rem;margin-left:auto;margin-right:auto}
  body .ftf-v10 .ftf-v4-copy h1{font-size:clamp(3.4rem,4.4vw,4.4rem);line-height:1.02;margin-bottom:1.75rem}
  body .ftf-v10 .ftf-v4-copy h1 span{font-size:clamp(1.4rem,1.7vw,1.75rem);margin-top:.9rem}
  body .ftf-v10 .ftf-v4-start{min-height:4rem;padding:.45rem 2rem .45rem .45rem;font-size:1.1rem}
  body .ftf-v10 .ftf-v4-start img{width:3.1rem;height:3.1rem;flex-basis:3.1rem}
  body .ftf-v10 .ftf-v10-trustline{font-size:1.05rem;gap:.5rem 1.75rem;margin-top:1.4rem}
  body .ftf-v10 .ftf-hero-stats{font-size:1.05rem;gap:.4rem .9rem;margin-top:.7rem}
  body .ftf-v10 .ftf-hero-stats strong{font-size:1.15rem}
  body .ftf-v10 .ftf-v10-label{font-size:.85rem!important;letter-spacing:.16em;color:#555;margin:2rem 0 .8rem}
  body .ftf-v10 .ftf-v4-tags{gap:.55rem;margin:0 auto;max-width:76rem}
  body .ftf-v10 .ftf-v4-tags li{font-size:.74rem;letter-spacing:.06em;padding:.6em 1.05em;background:rgba(255,255,255,.88);color:#2b2b2b}
  body .ftf-v10 .ftf-v10-causes li{text-transform:none;letter-spacing:.01em;font-size:.86rem;font-weight:600;padding:.5em 1em}

  /* ---------- "Start now" choice cards ---------- */
  body .ftf-v10 .ftf-v4-choose{max-width:46rem;margin:3rem auto 2.5rem}
  body .ftf-v10 .ftf-v4-choose h2{font-size:1.9rem}
  body .ftf-v10 .ftf-v10-question{font-size:1.15rem;margin:.6rem 0 1.5rem}
  body .ftf-v10 .ftf-v4-cards{gap:1.5rem}
  body .ftf-v10 .ftf-v4-cards .btn-create-campaign-home{padding:1.75rem 1.5rem 1.6rem;border-radius:22px;text-decoration:none}
  body .ftf-v10 .btn-create-campaign-home .icon img{width:96px;height:auto}
  body .ftf-v10 .btn-create-campaign-home .text{font-size:1.35rem;margin-top:.6rem}
  body .ftf-v10 .btn-create-campaign-home p{font-size:1rem;margin:.35rem 0 1.1rem}
  body .ftf-v10 .btn-create-campaign-home .button{font-size:.95rem;padding:.6rem 1.8rem;letter-spacing:.05em}

  /* ---------- Trust / how it works panels ---------- */
  body .ftf-v10 .ftf-v4-panels{max-width:68rem;gap:2rem;margin:1rem auto 3rem}
  body .ftf-v10 .ftf-v4-panels h2{font-size:1.3rem;letter-spacing:.08em;text-transform:uppercase;font-weight:800}
  body .ftf-v10 .ftf-v4-trust-row p,.ftf-v10 .ftf-v4-how p{font-size:1rem}
  body .ftf-v10 .ftf-v4-how h3{font-size:1.1rem}
}

/* Smaller laptops: search icon instead of the search box (< 1500px), tighter menu (< 1280px) */
@media (min-width:992px) and (max-width:1499.98px){
  .ftf-v4-nav .ftf-nav-search{display:none}
  .ftf-v4-nav .ftf-nav-search-link{display:block}
}
@media (min-width:992px) and (max-width:1279.98px){
  .ftf-v4-nav-wrap{width:calc(100% - 2rem)}
  .ftf-v4-nav>.container-fluid{gap:.75rem}
  .ftf-v4-nav .header-logo{--ftf-nav-logo-height:40px}
  .ftf-v4-nav .nav-link{font-size:.8rem;letter-spacing:.025em;padding:.5rem .48rem!important}
  .ftf-v4-nav .nav-divider{margin:0 .3rem}
  .ftf-v4-nav .ftf-v4-nav-start{font-size:.78rem;padding:.7rem 1.05rem}
}
@media (min-width:992px) and (max-width:1199.98px){
  .ftf-v4-nav{padding-left:1rem}
  .ftf-v4-nav .header-logo{--ftf-nav-logo-height:34px}
  .ftf-v4-nav .nav-link{font-size:.76rem;letter-spacing:.02em;padding:.45rem .42rem!important}
  .ftf-v4-nav .nav-divider{display:none}
  .ftf-v4-nav .ftf-v4-nav-start{font-size:.72rem;padding:.65rem .85rem}
}
@media (min-width:992px) and (max-width:1049.98px){
  .ftf-v4-nav .nav-link{font-size:.74rem;letter-spacing:0;padding:.45rem .36rem!important}
  .ftf-v4-nav>.container-fluid{gap:.5rem}
}
@media (min-width:1280px) and (max-width:1365.98px){
  .ftf-v4-nav .nav-link{padding:.55rem .55rem!important}
}

/* ======================================================================
   Desktop polish for the key pages (Robert, Oct 29): same look as the approved header and homepage
   (dark heavy headlines, gold accents, white 20px-rounded cards with a soft shadow, pill buttons).
   Desktop only (>= 992px); every rule is scoped to classes that exist only on that page.
   ====================================================================== */
@media (min-width:992px){
  /* ---------- Browse fundraisers ---------- */
  .section-sub-header:has(+ .section-browse-filter){padding:3rem 0 1.25rem}
  .section-sub-header:has(+ .section-browse-filter) .headline{font-size:clamp(2.6rem,3.4vw,3.25rem);font-weight:800;letter-spacing:-.02em;line-height:1.05;color:#111!important;margin-bottom:.9rem}
  .section-sub-header:has(+ .section-browse-filter) .subheadline{font-size:.9rem;font-weight:700;letter-spacing:.16em;color:#9a7524!important}
  .section-browse-filter{padding:1rem 0 0!important}
  .section-browse-filter>.container{background:#fff;border-radius:22px;box-shadow:0 10px 30px rgba(17,24,39,.08);padding:1.6rem 2rem .6rem;max-width:930px}
  .section-browse-filter label{font-size:.78rem;letter-spacing:.12em;color:#555!important;margin-bottom:.5rem}
  .section-browse-filter .custom-select{height:2.9rem;border:1px solid #e2ddd0!important;background-color:#f7f6f2!important;font-size:.95rem;color:#1f2933;padding-left:1.1rem}
  .section-browse-filter .custom-select:focus,.section-browse-filter .input-group .form-control:focus{border-color:#c9a24a!important;box-shadow:0 0 0 3px rgba(201,162,74,.2)}
  .section-browse-filter .input-group{margin-bottom:1rem}
  .section-browse-filter .input-group .form-control{height:2.9rem;border:1px solid #e2ddd0!important;border-right:0!important;background-color:#f7f6f2!important;font-size:.95rem;padding-left:1.25rem;border-radius:999px 0 0 999px}
  .section-browse-filter .input-group .btn{height:2.9rem;border-radius:0 999px 999px 0;padding:0 2.2rem;letter-spacing:.06em}
  .section-browse-campaigns{padding-top:0!important}
  .section-browse-campaigns>.container{padding-top:2.5rem!important}
  .section-browse-campaigns .campaign-small-card{border:0;border-radius:20px;overflow:hidden;box-shadow:0 10px 30px rgba(17,24,39,.08);transition:transform .18s,box-shadow .18s}
  .section-browse-campaigns .campaign-small-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(17,24,39,.13)}
  .section-browse-campaigns .campaign-small-card img.card-img-top{display:block;width:100%;aspect-ratio:360/189;height:auto;object-fit:cover;border-radius:0}
  .section-browse-campaigns .campaign-small-card .campaign-dept-text{font-size:.72rem;letter-spacing:.1em;color:#666}
  .section-browse-campaigns .campaign-small-card .campaign-title{font-size:1.2rem;line-height:1.25}
  .section-browse-campaigns .campaign-small-card .card-text p{font-size:.95rem;line-height:1.5;color:#4a4a4a}
  .section-browse-campaigns .campaign-small-card .card-footer{background:#fff;border-top:1px solid #f0ece2}
  .section-browse-campaigns .campaign-small-card .card-footer small{font-size:.75rem;letter-spacing:.08em;color:#777}
  .section-browse-campaigns .pagination .page-link{border-radius:999px!important;margin:0 .2rem;min-width:2.4rem;text-align:center;border-color:#e2ddd0}

  /* ---------- Fundraiser page ---------- */
  .section-view-campaign .campaign-full-card{border:0;border-radius:22px;overflow:hidden;box-shadow:0 10px 30px rgba(17,24,39,.08)}
  .section-view-campaign .campaign-full-card .campaign-title{font-size:clamp(1.9rem,2.3vw,2.3rem);font-weight:800;line-height:1.12;letter-spacing:-.01em;color:#111!important;text-wrap:balance}
  .section-view-campaign .campaign-full-card .campaign-dept-text{font-size:.8rem;letter-spacing:.12em;color:#9a7524;text-transform:uppercase}
  .section-view-campaign .campaign-full-card .campaign-description{font-size:1.05rem;line-height:1.65;color:#333;max-width:42rem}
  .section-view-campaign .campaign-full-card .nav-tabs{border-bottom:1px solid #ebe6da;gap:.35rem}
  .section-view-campaign .campaign-full-card .nav-tabs .nav-link{border:0;border-radius:999px;padding:.5rem 1.1rem;font-weight:600;color:#555;margin-bottom:.5rem}
  .section-view-campaign .campaign-full-card .nav-tabs .nav-link.active{background:rgba(201,162,74,.14);color:#7a5c17}
  .section-view-campaign .campaign-full-card .campaign-donations .card-title{font-size:1.3rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#111}
  .section-view-campaign .campaign-full-card .campaign-donation{padding-bottom:1rem;margin-bottom:1rem;align-items:flex-start}
  .section-view-campaign .campaign-full-card .campaign-donation-image img{border-radius:50%}
  .section-view-campaign .campaign-full-card .campaign-donation .flex-fill>.text-primary{margin:0 0 .15rem!important;color:#1f2933!important;font-weight:600!important;font-size:1rem}
  .section-view-campaign .campaign-full-card .campaign-donation .flex-fill>.text-primary strong{color:#9a7524}
  .section-view-campaign .campaign-full-card .campaign-donation .row .text-primary{color:#8a8a8a!important;font-weight:400!important;font-size:.85rem}
  .section-view-campaign .campaign-full-card .campaign-donation .flex-fill>:not(.text-primary):not(.row){font-size:.98rem}
  .section-view-campaign .campaign-full-card .pagination .page-link{border-radius:999px!important;margin:0 .2rem;border-color:#e2ddd0}
  .section-view-campaign .campaign-sidebar-card{border:0;border-radius:22px!important;box-shadow:0 10px 30px rgba(17,24,39,.08)}
  .section-view-campaign .campaign-sidebar-card .card-subtitle{font-size:.75rem;letter-spacing:.14em;color:#666}

  /* ---------- Donate (checkout) ---------- */
  .ftf-checkout .checkout-sidebar .campaign-sidebar-card{border:0;border-radius:22px;overflow:hidden;box-shadow:0 10px 30px rgba(17,24,39,.08)}
  .ftf-checkout .checkout-sidebar .campaign-sidebar-card .sidebar-campaign-title:not(.has-video){background:#fff}
  .ftf-checkout .checkout-sidebar .campaign-sidebar-card .sidebar-campaign-title:not(.has-video)>div{font-size:1.3rem;line-height:1.25;font-weight:800;padding:1.25rem 2rem .25rem;text-wrap:balance}
  .ftf-checkout .checkout-sidebar .campaign-sidebar-card .card-body{padding-top:.9rem}
  .ftf-checkout .contribution-field .donation_amount{margin-left:0!important}
  .ftf-checkout #tip-section .tip-info-accordion,.ftf-checkout #tip-section>.flex>.col-12{padding-left:0;padding-right:0}
  .ftf-checkout #tip-section h2{font-size:1.05rem;font-weight:800;letter-spacing:.06em;color:#1f2933;line-height:1.35}

  /* ---------- Log in / Create account ---------- */
  section:has(>.container .auth-form-card form[action$="/login"]),section:has(>.container .auth-form-card form[action$="/register"]){padding-top:3.5rem!important;padding-bottom:4.5rem!important}
  .auth-form-card:has(form[action$="/login"]),.auth-form-card:has(form[action$="/register"]){border:0;border-radius:22px!important;box-shadow:0 10px 30px rgba(17,24,39,.08);max-width:46rem;margin:0 auto}
  .auth-form-card:has(form[action$="/login"]) .card-body,.auth-form-card:has(form[action$="/register"]) .card-body{padding:2.75rem 3rem 2rem}
  .auth-form-card:has(form[action$="/login"]) .card-title,.auth-form-card:has(form[action$="/register"]) .card-title{font-size:2.6rem;font-weight:800;letter-spacing:-.02em;color:#111;margin:0 0 2.25rem}
  .auth-form-card:has(form[action$="/login"]) label:not(.custom-control-label),.auth-form-card:has(form[action$="/register"]) label:not(.custom-control-label){font-size:.78rem;letter-spacing:.12em;color:#555}
  .auth-form-card:has(form[action$="/login"]) .form-control,.auth-form-card:has(form[action$="/register"]) .form-control{height:2.9rem;border:1px solid #e2ddd0;background:#f7f6f2;font-size:.95rem;padding-left:1.1rem}
  .auth-form-card:has(form[action$="/login"]) .btn-primary,.auth-form-card:has(form[action$="/register"]) .btn-primary{font-size:1rem;letter-spacing:.06em;padding:.8rem 2rem}
  .auth-form-card:has(form[action$="/login"]) .forgot-password-link{vertical-align:middle;margin:0 0 0 1.25rem}
  .auth-form-card:has(form[action$="/login"]) .card-footer,.auth-form-card:has(form[action$="/register"]) .card-footer{background:#f7f6f2;border-top:1px solid #efeadf;font-size:1.1rem;padding:1.4rem}

  /* ---------- About ---------- */
  .section-sub-header:has(+ .section-about-video){padding:3rem 0 1.5rem}
  .section-sub-header:has(+ .section-about-video) .home-headline{font-size:clamp(2.6rem,3.4vw,3.25rem);font-weight:800;letter-spacing:-.02em;line-height:1.05;color:#111}
  .section-about-video{padding-bottom:4rem!important}
  .section-about-video .embed-responsive{max-width:56rem;margin:0 auto;border-radius:22px;box-shadow:0 14px 34px rgba(17,24,39,.14)}
  .section-about-team .home-headline,main:has(.section-about-team) .section-helpful-tips-top .home-headline,main:has(.section-about-team) .section-stats~* .home-headline,main:has(.section-about-team) .section-about-team~section>.container>.home-headline{font-size:1.9rem;font-weight:800;letter-spacing:.08em;color:inherit}
  .section-about-team .home-headline{padding:3.5rem 0 2.5rem!important}
  .section-about-team>.container>.row{max-width:66rem;margin-left:auto;margin-right:auto}
  .section-about-team .team-name{font-size:2rem;font-weight:800;letter-spacing:-.01em;line-height:1.1}
  .section-about-team .team-title{font-size:.9rem;font-weight:700;letter-spacing:.14em;color:#555;margin:.5rem 0 1.25rem}
  .section-about-team .team-bio{max-width:46rem}
  .section-about-team .team-bio p{font-size:1.02rem;line-height:1.7;color:#333}
  main:has(.section-about-team) .ftf-map-stat-headline{font-size:1.9rem;font-weight:800!important;letter-spacing:.08em;color:#111}
  main:has(.section-about-team) .section-helpful-tips .helpful-tips-title{font-size:1.4rem;font-weight:800;line-height:1.3}
  main:has(.section-about-team) .section-helpful-tips .helpful-tips-text{color:#333;line-height:1.65;max-width:34rem}

  /* ---------- Contact ---------- */
  main:has(.section-contact-follow) .section-sub-header .main-headline{font-size:clamp(2.6rem,3.4vw,3.25rem);font-weight:800;letter-spacing:-.02em;text-transform:uppercase}
  main:has(.section-contact-follow) .section-sub-header+section .card{border:0;border-radius:22px;box-shadow:0 14px 34px rgba(17,24,39,.18);max-width:40rem;margin:0 auto}
  main:has(.section-contact-follow) .section-sub-header+section .card-body{padding:2rem 2.5rem;font-size:1.15rem;line-height:1.6}
  main:has(.section-contact-follow) .section-sub-header+section .card-body a{font-weight:700}
  .section-contact-follow h2{font-size:1.3rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#111}

  /* ---------- FAQ (already in the new style): breathing room under the title band ---------- */
  .ftf-faq>.ftf-search{margin-top:2rem}
}
/* the browse filter panel lines up with the fundraiser cards below it */
@media (min-width:1200px){
  .section-browse-filter>.container{max-width:1140px}
}
