﻿/* Location pages: a warmer, editorial presentation for local learners. */
.hero { position: relative; overflow: hidden; padding: 110px 20px !important; text-align: left !important; background: linear-gradient(105deg, rgba(9,31,53,.96) 0%, rgba(12,48,69,.88) 52%, rgba(12,48,69,.30) 100%), url('images/banner1.jpg') center/cover !important; }
.hero::before { content: 'FREMONT CAR DRIVING SCHOOL  /  CALIFORNIA'; display: block; max-width: 1320px; margin: 0 auto 20px; color: #edc397; font-size: 11px; font-weight: 700; letter-spacing: .19em; }
.hero h1 { max-width: 780px; color: #fff; font-size: clamp(2.35rem, 5vw, 4.5rem) !important; font-weight: 600 !important; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.hero p { max-width: 620px; color: #e8eef1; }
.section { background: #f8f7f3; color: #273b44; }
.section h2 { color: #112f3e; letter-spacing: -.025em; }
.local-guide { background: #f4f1ea; color: #18343e; padding: 100px 24px; }
.local-guide__inner { max-width: 1200px; margin: auto; }
.local-guide__intro { display: grid; grid-template-columns: 1fr 180px; align-items: end; gap: 50px; padding-bottom: 54px; border-bottom: 1px solid #d2d8d1; }
.local-guide__eyebrow, .local-guide__number { color: var(--local-accent); font-size: 11px; font-weight: 800; letter-spacing: .17em; }
.local-guide h2 { max-width: 720px; margin: 24px 0; font-size: clamp(2.6rem, 5vw, 4.7rem); line-height: 1.05; letter-spacing: -.05em; }
.local-guide h2 em { color: var(--local-accent); font-family: Georgia, serif; font-weight: 400; }
.local-guide__intro p { max-width: 650px; margin: 0; color: #53676a; font-size: 17px; line-height: 1.8; }
.local-guide__marker { min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; border: 1px solid #a8b8ae; border-radius: 100px 100px 8px 8px; text-align: center; }
.local-guide__marker span, .local-guide__marker small { font-size: 10px; letter-spacing: .15em; }
.local-guide__marker strong { font-family: Georgia, serif; font-size: 54px; font-weight: 400; line-height: 1; color: var(--local-accent); }
.local-guide__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.local-guide__cards article { display: flex; flex-direction: column; min-height: 310px; padding: 30px; background: #fff; border: 1px solid #e1e5dd; }
.local-guide__cards h3 { margin: 30px 0 15px; color: #18343e; font-size: 23px; line-height: 1.2; letter-spacing: -.03em; }
.local-guide__cards p { color: #5a6c6d; font-size: 14px; line-height: 1.75; }
.local-guide__cards a { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 22px; color: #143f47; font-size: 13px; font-weight: 700; text-decoration: none; }
.local-guide__cards a:hover { color: var(--local-accent); }
.local-guide__note { max-width: 900px; margin: 25px 0 0; color: #667772; font-size: 13px; line-height: 1.7; }
@media (max-width: 767px) { .hero { padding: 75px 20px !important; } .local-guide { padding: 65px 20px; } .local-guide__intro { grid-template-columns: 1fr; gap: 25px; } .local-guide__marker { display: none; } .local-guide__cards { grid-template-columns: 1fr; } .local-guide__cards article { min-height: 0; } }

/* Five distinct compositions, assigned to individual cities. */
.location-layout-1 .hero { min-height: 460px; display: flex; flex-direction: column; justify-content: center; background-image: linear-gradient(95deg, rgba(10,32,48,.96), rgba(17,51,58,.64)), url('images/banner1.jpg') !important; }
.location-layout-1 .hero::before { width: 100%; }
.location-layout-1 .local-guide__cards article:first-child { background: #193f45; border-color: #193f45; }
.location-layout-1 .local-guide__cards article:first-child h3, .location-layout-1 .local-guide__cards article:first-child a { color: #fff; }
.location-layout-1 .local-guide__cards article:first-child p { color: #d5e2db; }
.location-layout-2 .hero { min-height: 490px; display: flex; flex-direction: column; justify-content: center; text-align: center !important; background: linear-gradient(0deg, rgba(22,31,46,.88), rgba(22,31,46,.50)), url('images/banner2.jpg') center/cover !important; }
.location-layout-2 .hero::before { width: 100%; color: #f5d1ac; }
.location-layout-2 .hero h1, .location-layout-2 .hero p { margin-left: auto; margin-right: auto; }
.location-layout-2 .local-guide { background: #202e3b; color: #f7f0e8; }
.location-layout-2 .local-guide__intro p, .location-layout-2 .local-guide__note { color: #c2cdc9; }
.location-layout-2 .local-guide__intro { border-color: #53615e; }
.location-layout-2 .local-guide__cards { grid-template-columns: 1fr; }
.location-layout-2 .local-guide__cards article { min-height: 0; display: grid; grid-template-columns: 150px 1fr 1.4fr 180px; gap: 22px; align-items: center; background: transparent; border: 0; border-bottom: 1px solid #53615e; padding: 25px 0; }
.location-layout-2 .local-guide__cards h3, .location-layout-2 .local-guide__cards a { color: #fff; margin: 0; padding: 0; }
.location-layout-2 .local-guide__cards p { color: #c2cdc9; margin: 0; }
.location-layout-3 .hero { min-height: 500px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(90deg, #f2eae0 0%, #f2eae0 51%, transparent 51%), url('images/about1.jpg') right center/auto 100% no-repeat #f2eae0 !important; }
.location-layout-3 .hero::before { width: 100%; color: #a55f45; }
.location-layout-3 .hero h1 { color: #233c41; max-width: 50%; }
.location-layout-3 .hero p { color: #405b5e; max-width: 45%; }
.location-layout-3 .local-guide { background: #e6efe9; }
.location-layout-3 .local-guide__intro { grid-template-columns: 180px 1fr; }
.location-layout-3 .local-guide__intro > div:first-child { grid-column: 2; grid-row: 1; }
.location-layout-3 .local-guide__marker { grid-column: 1; grid-row: 1; border-radius: 0; background: #d2e3d7; }
.location-layout-3 .local-guide__cards article { border-radius: 24px 0 24px 0; }
.location-layout-4 .hero { min-height: 470px; display: flex; flex-direction: column; justify-content: center; text-align: right !important; background: linear-gradient(270deg, rgba(44,32,33,.96), rgba(44,32,33,.48)), url('images/about2.jpg') center/cover !important; }
.location-layout-4 .hero::before { width: 100%; }
.location-layout-4 .hero h1, .location-layout-4 .hero p { margin-left: auto; }
.location-layout-4 .local-guide { background: #f8eee6; }
.location-layout-4 .local-guide__cards { grid-template-columns: 1.35fr 1fr; }
.location-layout-4 .local-guide__cards article:first-child { grid-row: span 2; background: #b56c4f; border: 0; justify-content: center; padding: 45px; }
.location-layout-4 .local-guide__cards article:first-child h3, .location-layout-4 .local-guide__cards article:first-child p, .location-layout-4 .local-guide__cards article:first-child a, .location-layout-4 .local-guide__cards article:first-child .local-guide__number { color: white; }
.location-layout-4 .local-guide__cards article:not(:first-child) { min-height: 230px; }
.location-layout-5 .hero { min-height: 500px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(105deg, rgba(12,52,68,.94), rgba(24,83,86,.72)), url('images/banner2.jpg') center/cover !important; border-bottom: 12px solid #d6af75; }
.location-layout-5 .hero h1 { font-family: Georgia, serif; font-weight: 400 !important; }
.location-layout-5 .local-guide { background: #faf9f5; }
.location-layout-5 .local-guide__intro { text-align: center; grid-template-columns: 1fr; }
.location-layout-5 .local-guide__intro p, .location-layout-5 .local-guide h2 { margin-left: auto; margin-right: auto; }
.location-layout-5 .local-guide__marker { display: none; }
.location-layout-5 .local-guide__cards article { background: transparent; border: 0; border-left: 1px solid #cbd6cb; }
@media (max-width: 767px) {
  .location-layout-2 .local-guide__cards article { grid-template-columns: 1fr; gap: 10px; }
  .location-layout-2 .local-guide__cards a { padding-top: 8px; }
  .location-layout-3 .hero { background: linear-gradient(90deg, rgba(242,234,224,.94), rgba(242,234,224,.77)), url('images/about1.jpg') center/cover !important; }
  .location-layout-3 .hero h1, .location-layout-3 .hero p { max-width: 100%; }
  .location-layout-3 .local-guide__intro { grid-template-columns: 1fr; }
  .location-layout-3 .local-guide__intro > div:first-child { grid-column: 1; }
  .location-layout-4 .local-guide__cards { grid-template-columns: 1fr; }
  .location-layout-4 .local-guide__cards article:first-child { grid-row: auto; padding: 30px; }
}
