@charset "utf-8";

/* =========================================================
   NEW YORK ROYAL COACH — TRANSPORTATION RESOURCE CENTER
   Page-only styles. Header/menu/footer are handled by the
   common stylesheets. No override hacks are used here.
   ========================================================= */

.resource-page {
  --rc-navy:#777;
  --rc-green:#58aa01;
  --rc-green-dark:#4d9302;
  --rc-ink:#888;
  --rc-muted:#7b7c7d;
  --rc-line:#e0e0e0;
  width:100%;
  margin:0;
  background:#fff;
  color:var(--rc-ink);
}
.resource-page,.resource-page *,.resource-page *::before,.resource-page *::after{box-sizing:border-box}
.resource-page img{display:block;max-width:100%}
.resource-page a{text-decoration:none}
.resource-wrap{width:min(1180px,calc(100% - 40px));margin:0 auto}
.resource-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* HERO */
.resource-hero{position:relative;min-height:500px;display:flex;align-items:center;background:url("../images/resources/hero-resource-ctr.webp") center 54%/cover no-repeat;overflow:visible}
.resource-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.95) 0%,rgba(255,255,255,.77) 43%,rgba(255,255,255,.13) 88%)}

.resource-hero-content {
    position: relative;
    z-index: 1;
    width: min(1400px, calc(100% - 60px));
    padding: 62px 0 66px;
}

.resource-eyebrow{margin:0 0 10px;color:var(--rc-green);font-size:14px;font-weight:600;letter-spacing:.18em;text-transform:uppercase}

.resource-hero h1 
{max-width:760px;
  margin:0 0 19px;
  color:rgba(36, 36, 36, 0.58);
  font-size: clamp(32px, 3vw, 48px);
  font-weight:600;
  line-height:1.08;
  text-transform:uppercase }

.resource-hero-copy{max-width:610px;margin:0 0 29px;color:#555;font-size:18px;line-height:1.65}

/* SEARCH */
.search-shell{
  position:relative;
  display:flex;
  align-items:center;
  width:min(617px,100%);
  background:#fff;
  border:1px solid rgba(6,31,57,.08);
  border-radius:5px;
  box-shadow:0 10px 30px rgba(0,0,0,.17)}

.search-shell>svg{flex:0 0 auto;width:22px;height:22px;margin-left:17px;fill:none;stroke:#6d7884;stroke-width:2}
.search-shell input{width:100%;height:48px;padding:0 48px 0 14px;border:0;outline:0;background:transparent;color:#172b3f;font:inherit;font-size:16px}
#search-clear{position:absolute;right:11px;display:none;padding:0;border:0;background:transparent;color:#687583;font:inherit;font-size:27px;line-height:1;cursor:pointer}
.search-results{position:absolute;z-index:20;top:calc(100% + 8px);left:0;right:0;max-height:390px;overflow:auto;background:#fff;border:1px solid var(--rc-line);border-radius:5px;box-shadow:0 15px 38px rgba(0,0,0,.22);color:var(--rc-ink)}
.search-result{display:block;padding:13px 17px;border-bottom:1px solid #e7ebef}
.search-result:hover,.search-result.active{background:#f1f5f8}
.search-result strong{display:block;color:var(--rc-navy);font-size:15px}
.search-result span{display:block;margin-top:2px;color:var(--rc-muted);font-size:13px}
.search-empty{padding:18px;color:var(--rc-muted)}

.popular-searches{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:18px;color:#444;font-size:12px}

.popular-searches>span{margin-right:4px;font-weight:600}
.popular-searches button{padding:6px 10px;border:1px solid rgba(6,31,57,.18);border-radius:3px;background:rgba(75, 75, 75, 0.64);color:#fff;font:inherit;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.popular-searches button:hover,.popular-searches button:focus-visible{background:var(--rc-green);border-color:var(--rc-green);transform:translateY(-1px)}

/* COMMON SECTIONS */
.resource-section{padding:58px 0}
.resource-section-title{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:31px}
.resource-section-title>span{width:115px;height:1px;background:var(--rc-green)}
.resource-section-title h2{margin:0;color:var(--rc-navy);font-size:25px;font-weight:600;letter-spacing:.04em;text-align:center;text-transform:uppercase}

/* FEATURED GUIDES */
.resource-featured{background:#fff}
.resource-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.resource-featured-card{display:grid;grid-template-columns:42% 1fr;min-height:190px;overflow:hidden;background:#fff;border:1px solid var(--rc-line);border-radius:6px;box-shadow:0 5px 18px rgba(10,35,55,.07);transition:transform .2s ease,box-shadow .2s ease}
.resource-featured-card:hover{transform:translateY(-3px);box-shadow:0 11px 27px rgba(9,31,52,.12)}
.resource-featured-card img{width:100%;height:100%;object-fit:cover}
.resource-featured-card>div{align-self:center;padding:20px 18px}
.resource-card-kicker{margin:0 0 5px;color:var(--rc-green);font-size:11px;font-weight:600;letter-spacing:.13em}
.resource-featured-card h3{margin:0 0 9px;color:var(--rc-navy);font-size:18px;font-weight:600;line-height:1.3;text-transform:uppercase}


.resource-featured-card p:not(.resource-card-kicker){margin:0 0 13px;color:#444;font-size:14px;line-height:1.55}


.resource-featured-card a,.resource-all-link{color:#444;font-size:13px;font-weight:600}
.resource-featured-card a:hover,.resource-all-link:hover{color:var(--rc-green)}


/* CITY PLANNING CARDS */
#city-coach-notes .resource-featured-card {
    display: block;
    min-height: 0; }
#city-coach-notes .resource-featured-card > div {  padding: 24px 20px; }
#city-coach-notes .resource-featured-card h3 { margin-bottom: 10px; }
#city-coach-notes .resource-featured-card p:not(.resource-card-kicker) {
    min-height: 0;
    margin-bottom: 14px; }


/* CATEGORY GRID */
.resource-categories{background:#f7f8f8}
.resource-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.resource-category-card{overflow:hidden;background:#fff;border:1px solid var(--rc-line);border-radius:6px;box-shadow:0 5px 17px rgba(10,35,55,.05);transition:transform .2s ease,box-shadow .2s ease}
.resource-category-card:hover{transform:translateY(-4px);box-shadow:0 10px 25px rgba(9,31,52,.11)}
.resource-category-card>img{width:100%;height:140px;object-fit:cover;transition:transform .35s ease,opacity .35s ease}
.resource-category-card:hover>img{transform:scale(1.025);opacity:.92}
.resource-category-body{padding:18px 18px 20px}
.resource-category-body h3{margin:0 0 7px;color:#444;font-size:16px;font-weight:600;line-height:1.3;text-transform:uppercase}
.resource-category-body p{min-height:43px;margin:0 0 10px;color:#444;font-size:14px;line-height:1.55}
.resource-category-body ul{margin:0 0 13px;padding-left:18px;font-size:13px}
.resource-category-body li{margin:4px 0}
.resource-category-body li a{color:#444;}
.resource-category-body li a:hover{color:var(--rc-green);text-decoration:underline}

/* TRUST STRIP */
.resource-trust-strip{padding:24px 0;background: #ededed;border-top:1px solid #e3e4e4;border-bottom:1px solid #dde6e9}
.resource-trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.resource-trust-grid>div{padding:7px 26px;border-right:1px solid #d6e0e3}
.resource-trust-grid>div:last-child{border-right:0}
.resource-trust-grid strong{display:block;margin-bottom:2px;color:#444;font-size:13px;font-weight:600}
.resource-trust-grid span{display:block;color:#444;font-size:12px;line-height:1.45}

/* LOWER PANELS */
.resource-lower{background:#fff}
.resource-lower-grid{display:grid;grid-template-columns:1.05fr 1.05fr 1fr .95fr;gap:16px;align-items:stretch}
.resource-info-panel,.resource-help-panel{padding:22px;background:#fff;border:1px solid var(--rc-line);border-radius:6px}
.resource-info-panel h2,.resource-help-panel h2{margin:0 0 16px;color:#555;font-size:19px;font-weight:600;line-height:1.3;text-transform:uppercase}
.resource-faq-panel details{margin-bottom:7px;border:1px solid #e1e6eb;border-radius:4px}
.resource-faq-panel summary{padding:10px 12px;color:#444;font-size:13px;font-weight:600;cursor:pointer}
.resource-faq-panel details p{margin:0;padding:0 12px 12px;color:#444;font-size:13px;line-height:1.55}
.resource-city-panel img{width:100%;height:115px;margin-bottom:12px;object-fit:cover;border-radius:4px}
.resource-city-panel>p{color:#444;font-size:13px;line-height:1.55}
.resource-city-links{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}
.resource-city-links a{padding:5px 8px;border:1px solid #d6dde4;border-radius:3px;color:#444;font-size:12px;transition:background .18s ease,color .18s ease,border-color .18s ease}
.resource-city-links a:hover{background:var(--rc-green);border-color:var(--rc-green);color:#fff}
.resource-latest-panel>a{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #e8ebef;color:#444;font-size:13px;line-height:1.45}
.resource-latest-panel>a:last-child{border-bottom:0}
.resource-latest-panel>a:hover{color:var(--rc-green)}

.resource-help-panel{display:flex;flex-direction:column;justify-content:center;background:#f2f2f2;color:#fff;text-align:center}

.resource-help-panel .resource-eyebrow{color:#8fd44a}
.resource-help-panel h2{color:#444;font-size:27px;font-weight:400}
.resource-help-panel>p:not(.resource-eyebrow){margin:0;color:#444;font-size:14px;line-height:1.65}

.resource-help-button{display:inline-block;margin:18px auto 15px;padding:11px 20px;background:var(--rc-green);color:#fff;font-size:13px;font-weight:600;letter-spacing:.06em;border-radius:3px;transition:background .18s ease}
.resource-help-button:hover{background:#777;color:#fff}
.resource-phone-link{color:#444;font-size:20px;font-weight:400}
.resource-phone-link:hover{color:#9add58}
.resource-help-panel small{margin-top:3px;color:#444}

#resource-search::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

@media (max-width:980px){
  .resource-featured-grid{grid-template-columns:1fr}
  .resource-featured-card{grid-template-columns:250px 1fr}
  .resource-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .resource-lower-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:760px){
  .resource-wrap{width:min(100% - 28px,1180px)}
  .resource-hero{min-height:560px;background-position:62% center}
  .resource-hero-overlay{background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.83))}

  .resource-hero-content {padding:48px 0}
  .resource-hero h1{font-size:38px}
  .resource-hero-copy{font-size:16px}
  .search-shell input{font-size:14px}
  .popular-searches>span{width:100%}
  .resource-section{padding:44px 0}
  .resource-section-title{gap:11px}
  .resource-section-title>span{width:48px}
  .resource-section-title h2{font-size:21px}
  .resource-featured-card{grid-template-columns:1fr}
  .resource-featured-card img{height:190px}
  .resource-category-grid,.resource-lower-grid{grid-template-columns:1fr}
  .resource-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .resource-trust-grid>div{padding:8px 10px;border-right:0}
}

@media (max-width:480px){
  .resource-hero h1{font-size:32px}
  .resource-trust-grid{grid-template-columns:1fr}
  .resource-featured-card img{height:165px}
}

@media (prefers-reduced-motion:reduce){
  .resource-featured-card,.resource-category-card,.resource-category-card>img,.popular-searches button,.resource-city-links a{transition:none}
}
