2
0

main.css 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094
  1. /*
  2. The bakery demo avoids using tooling so doesn't use SASS. This is a static
  3. CSS file that extends Bootstrap. It's deliberately verbose to aid
  4. readability with global themes, themes for each list view and themes for
  5. each detail view
  6. 1. Global styles ---------------------------------------------------------
  7. 2. Page header -----------------------------------------------------------
  8. 3. Main menu -------------------------------------------------------------
  9. 4. Breadcrumb ------------------------------------------------------------
  10. 5. Location styles -------------------------------------------------------
  11. 6. Blog styles -----------------------------------------------------------
  12. 7. Bread styles ----------------------------------------------------------
  13. 8. Form styles -----------------------------------------------------------
  14. 9. Homepage styles -------------------------------------------------------
  15. 9. Miscellaneous/ Helper styles ------------------------------------------
  16. */
  17. /* Global styles */
  18. /* CSS Variables */
  19. :root {
  20. --dark: #333;
  21. --grey: #6e6e6e;
  22. --border-grey: #e1dcd3;
  23. --transparent-border: rgb(135 116 79 / 25%);
  24. --white: #fff;
  25. --cream: #f5f3e9;
  26. --light-brown: #87744f;
  27. --mid-brown: #825600;
  28. --dark-brown: #553801;
  29. --orange: #c55302;
  30. --dark-orange: #833701;
  31. --font--primary: 'Marcellus', serif;
  32. /* stylelint-disable */
  33. --font--secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui,
  34. Roboto, 'Helvetica Neue', Arial, sans-serif, Apple Color Emoji,
  35. 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  36. /* stylelint-enable */
  37. --font-sm: 1rem;
  38. --font-md: 1.125rem;
  39. }
  40. html {
  41. font-size: 16px;
  42. }
  43. [hidden] {
  44. display: none !important;
  45. }
  46. /* Body */
  47. body {
  48. font-family: var(--font--secondary);
  49. font-size: 1rem;
  50. line-height: 1.5;
  51. padding-top: 0;
  52. padding-bottom: 0;
  53. background: var(--white);
  54. color: var(--dark);
  55. min-height: 100vh;
  56. }
  57. body.no-scroll {
  58. overflow-y: hidden;
  59. }
  60. @media (min-width: 768px) {
  61. body {
  62. font-size: var(--font-md);
  63. line-height: 1.55;
  64. }
  65. }
  66. /* Headings and Paragraphs */
  67. h1,
  68. h2,
  69. h3 {
  70. font-family: var(--font--primary);
  71. font-weight: 400;
  72. color: var(--dark);
  73. }
  74. h1 {
  75. font-size: 2.375rem;
  76. line-height: 1.16;
  77. }
  78. h2 {
  79. font-size: 2rem;
  80. line-height: 1.25;
  81. }
  82. h3 {
  83. font-size: 1.625rem;
  84. line-height: 1.15;
  85. }
  86. h4 {
  87. font-family: var(--font--secondary);
  88. font-style: normal;
  89. font-weight: 600;
  90. font-size: 1.25rem;
  91. line-height: 1.35;
  92. color: var(--dark);
  93. }
  94. p {
  95. font-family: var(--font--secondary);
  96. font-style: normal;
  97. font-weight: 400;
  98. font-size: var(--font-sm);
  99. line-height: 1.5;
  100. color: var(--dark);
  101. }
  102. @media (min-width: 768px) {
  103. body {
  104. font-size: var(--font-md);
  105. line-height: 1.55;
  106. }
  107. h1 {
  108. font-size: 3.75rem;
  109. line-height: 1.07;
  110. }
  111. h2 {
  112. font-size: 2.875rem;
  113. line-height: 1.09;
  114. }
  115. h3 {
  116. font-size: 2rem;
  117. line-height: 1.31;
  118. }
  119. h4 {
  120. font-size: 1.5rem;
  121. line-height: 1.38;
  122. }
  123. p {
  124. font-size: var(--font-md);
  125. line-height: 1.55;
  126. margin: 0 0 30px;
  127. }
  128. }
  129. ol,
  130. ul {
  131. margin-bottom: 30px;
  132. }
  133. .hero h1 {
  134. color: var(--white);
  135. position: relative;
  136. }
  137. @media (min-width: 768px) {
  138. .intro {
  139. font-size: 1.875rem;
  140. margin: 0 0 60px;
  141. }
  142. }
  143. /* Links, Lists, Figures */
  144. a,
  145. a:focus,
  146. a:visited {
  147. color: var(--orange);
  148. text-decoration: none;
  149. }
  150. a:hover {
  151. color: var(--dark-orange);
  152. text-decoration: none;
  153. }
  154. a.btn {
  155. background-color: var(--orange);
  156. color: var(--white);
  157. display: inline-block;
  158. font-family: var(--font--secondary);
  159. font-size: var(--font-md);
  160. line-height: 1.55;
  161. font-weight: 700;
  162. padding: 15px 20px;
  163. }
  164. a.btn:hover {
  165. background-color: var(--grey);
  166. color: var(--white);
  167. }
  168. a.btn-sm {
  169. border-radius: 4px;
  170. font-size: 1rem;
  171. line-height: normal;
  172. padding: 6px 8px;
  173. }
  174. ul {
  175. margin: 0 0 30px;
  176. }
  177. @media (min-width: 768px) {
  178. ul {
  179. margin: 0 0 50px;
  180. }
  181. }
  182. figure {
  183. margin: 30px 0;
  184. position: relative;
  185. }
  186. @media (min-width: 768px) {
  187. figure {
  188. margin: 40px 0;
  189. }
  190. }
  191. figcaption {
  192. color: var(--grey);
  193. font-family: var(--font--secondary);
  194. font-size: 0.875rem;
  195. line-height: 1.57;
  196. padding-top: 10px;
  197. }
  198. @media (min-width: 768px) {
  199. figcaption {
  200. font-size: var(--font-sm);
  201. line-height: 1.5;
  202. }
  203. }
  204. img {
  205. display: block;
  206. width: 100%;
  207. height: auto;
  208. }
  209. figure img {
  210. display: block;
  211. width: 100%;
  212. height: auto;
  213. }
  214. /* Overriding Bootstrap's default caption styles */
  215. caption {
  216. color: var(--dark);
  217. }
  218. /* Generic detail page styles */
  219. .intro {
  220. font-family: var(--font--secondary);
  221. font-weight: 300;
  222. margin: 0 0 40px;
  223. font-size: 1.375rem;
  224. }
  225. .alert {
  226. margin: 40px auto 0;
  227. max-width: 1400px;
  228. border-radius: 0;
  229. background-color: var(--orange);
  230. color: var(--white);
  231. padding: 40px;
  232. }
  233. .alert > .alert__title {
  234. color: var(--white);
  235. font-family: var(--font--primary);
  236. font-size: 1.625rem;
  237. margin-bottom: 5px;
  238. }
  239. .alert__messages {
  240. list-style-type: none;
  241. margin: 0;
  242. padding-left: 0;
  243. }
  244. /* Hero image area */
  245. .hero {
  246. padding: 300px 0 0;
  247. position: relative;
  248. margin: 0 0 10px;
  249. }
  250. .hero-image {
  251. position: absolute;
  252. top: 0;
  253. width: 100%;
  254. height: 100%;
  255. object-fit: cover;
  256. }
  257. @media screen and (min-width: 768px) {
  258. .hero {
  259. padding: 250px 0 0;
  260. margin: 0;
  261. }
  262. .hero.hero--blog {
  263. padding: 400px 0 0;
  264. }
  265. }
  266. .hero-gradient-mask {
  267. position: absolute;
  268. width: 100%;
  269. height: 100%;
  270. bottom: 0;
  271. background: linear-gradient(0deg, #000 11.33%, rgb(0 0 0 / 0%) 100%);
  272. }
  273. @media (min-width: 768px) {
  274. .hero-gradient-mask {
  275. background: linear-gradient(90deg, #000 11.33%, rgb(0 0 0 / 0%) 100%);
  276. }
  277. }
  278. .hero__container {
  279. width: 100%;
  280. padding: 30px 20px 100px;
  281. background-color: var(--orange);
  282. margin: 0 auto;
  283. }
  284. @media (min-width: 768px) {
  285. .hero__container {
  286. background-color: transparent;
  287. max-width: 1400px;
  288. padding: 0 40px;
  289. }
  290. }
  291. .hero__title {
  292. color: var(--white);
  293. font-weight: 400;
  294. font-size: 2.875rem;
  295. line-height: 1.09;
  296. margin: 0;
  297. width: 100%;
  298. }
  299. @media (min-width: 768px) {
  300. .hero__title {
  301. background-color: var(--orange);
  302. width: max-content;
  303. max-width: 100%;
  304. font-size: 6.25rem;
  305. line-height: 0.64;
  306. padding: 75px 65px;
  307. position: absolute;
  308. bottom: 0;
  309. left: 0;
  310. transform: translateY(50%);
  311. }
  312. }
  313. blockquote {
  314. border-left: 3px solid var(--orange);
  315. margin: 40px 0 30px;
  316. padding: 0 0 0 20px;
  317. }
  318. blockquote .text {
  319. color: var(--orange);
  320. margin: 0 0 30px;
  321. font-family: var(--font--primary);
  322. font-size: 1.625rem;
  323. line-height: 1.15;
  324. }
  325. blockquote .attribute-name {
  326. color: var(--dark);
  327. font-size: var(--font-md);
  328. line-height: 1.56;
  329. margin: 0;
  330. padding: 0;
  331. }
  332. @media (min-width: 768px) {
  333. blockquote {
  334. border-left: 3px solid var(--orange);
  335. margin: 50px 0;
  336. padding: 0 40px;
  337. }
  338. blockquote .text {
  339. font-size: 2rem;
  340. line-height: 1.31;
  341. }
  342. }
  343. /* Richtext Styles */
  344. /* stylelint-disable-next-line selector-class-pattern */
  345. .block-paragraph_block p {
  346. color: var(--dark);
  347. }
  348. /* stylelint-disable selector-class-pattern */
  349. .block-paragraph_block a,
  350. .block-ingredients_list a {
  351. text-decoration: underline;
  352. }
  353. /* stylelint-enable selector-class-pattern */
  354. /* stylelint-disable-next-line selector-class-pattern */
  355. .block-embed_block iframe {
  356. aspect-ratio: 16 / 9;
  357. width: 100%;
  358. height: 100%;
  359. }
  360. /* stylelint-disable-next-line selector-class-pattern */
  361. .block-paragraph_block iframe {
  362. aspect-ratio: 16 / 9;
  363. width: 100%;
  364. height: 100%;
  365. }
  366. /* stylelint-disable-next-line selector-class-pattern */
  367. :is(.block-table_block, .block-typed_table_block) :is(table, tr, td, th) {
  368. border: 1px solid var(--dark);
  369. padding: 0.25em;
  370. }
  371. /* stylelint-disable-next-line selector-class-pattern */
  372. :is(.block-table_block, .block-typed_table_block) table {
  373. margin-bottom: 30px;
  374. }
  375. @media screen and (min-width: 768px) {
  376. .header,
  377. .footer {
  378. padding-right: 0;
  379. padding-left: 0;
  380. }
  381. }
  382. /* Page header */
  383. .header {
  384. padding: 0;
  385. width: 100%;
  386. background: var(--white);
  387. z-index: 10;
  388. }
  389. .skip-link {
  390. z-index: 20;
  391. position: absolute;
  392. top: -100%;
  393. padding: 20px;
  394. background-color: var(--white);
  395. }
  396. .skip-link:focus {
  397. top: 0;
  398. }
  399. .index-header__title {
  400. color: var(--dark);
  401. font-weight: 400;
  402. font-size: 2.875rem;
  403. line-height: 1.09;
  404. margin-top: 30px;
  405. }
  406. .index-header__introduction {
  407. color: var(--dark);
  408. font-family: var(--font--primary);
  409. font-weight: 400;
  410. font-size: 1.625rem;
  411. line-height: 1.15;
  412. margin-top: 20px;
  413. margin-bottom: 60px;
  414. }
  415. .index-header__introduction.index-header__introduction--blog {
  416. margin-bottom: 20px;
  417. }
  418. .index-header__body-introduction p:first-child {
  419. color: var(--dark);
  420. font-family: var(--font--primary);
  421. font-weight: 400;
  422. font-size: 1.625rem;
  423. line-height: 30px;
  424. margin-top: 20px;
  425. margin-bottom: 30px;
  426. }
  427. .index-header__body-introduction {
  428. margin-bottom: 30px;
  429. }
  430. @media (min-width: 768px) {
  431. .index-header__title {
  432. font-size: 6.25rem;
  433. line-height: 0.64;
  434. margin-top: 70px;
  435. }
  436. .index-header__introduction {
  437. font-size: 2rem;
  438. line-height: 1.31;
  439. margin-top: 40px;
  440. margin-bottom: 40px;
  441. }
  442. .index-header__body-introduction p:first-child {
  443. font-size: 2rem;
  444. line-height: 42px;
  445. margin-top: 40px;
  446. margin-bottom: 40px;
  447. }
  448. .index-header__body-introduction {
  449. margin-bottom: 30px;
  450. }
  451. .index-header__title.index-header__title--blog {
  452. line-height: 1.1;
  453. }
  454. }
  455. /* Main menu */
  456. .navigation {
  457. display: flex;
  458. flex-direction: row;
  459. align-items: center;
  460. padding: 25px 0;
  461. }
  462. .navigation__mobile {
  463. position: absolute;
  464. top: 0;
  465. left: 0;
  466. right: 0;
  467. bottom: 0;
  468. background-color: var(--white);
  469. z-index: 10;
  470. display: flex;
  471. flex-direction: column;
  472. align-items: center;
  473. text-align: center;
  474. padding-top: 80px;
  475. }
  476. .navigation__mobile-toggle {
  477. background-color: transparent;
  478. border: none;
  479. margin: 0 0 0 auto;
  480. }
  481. .navigation__mobile-toggle[aria-expanded='true'] {
  482. position: absolute;
  483. z-index: 15;
  484. top: 30px;
  485. right: 20px;
  486. }
  487. @media (min-width: 1150px) {
  488. .navigation__mobile {
  489. display: none;
  490. }
  491. }
  492. .navigation__mobile-toggle[aria-expanded='true'] .navigation__toggle-icon-bar {
  493. opacity: 0;
  494. }
  495. .navigation__mobile-toggle[aria-expanded='true']
  496. .navigation__toggle-icon-bar:first-of-type {
  497. transform: translateY(10px) rotate(45deg);
  498. opacity: 1;
  499. }
  500. .navigation__mobile-toggle[aria-expanded='true']
  501. .navigation__toggle-icon-bar:last-child {
  502. transform: translateY(-10px) rotate(-45deg);
  503. opacity: 1;
  504. }
  505. .navigation__mobile-search {
  506. margin-top: 20px;
  507. position: relative;
  508. }
  509. .navigation__search {
  510. display: none;
  511. margin: 15px 0 0;
  512. position: relative;
  513. }
  514. .navigation__search-icon {
  515. display: block;
  516. position: absolute;
  517. right: 13px;
  518. top: 13px;
  519. }
  520. @media (min-width: 768px) {
  521. .navigation__search-icon {
  522. top: 11px;
  523. }
  524. }
  525. .navigation__search-input {
  526. color: var(--dark);
  527. font-size: var(--font-sm);
  528. line-height: 1.5;
  529. border: 1px solid var(--dark);
  530. padding: 10px;
  531. }
  532. .navigation__items {
  533. list-style: none;
  534. margin: 0;
  535. padding: 20px 0 0;
  536. }
  537. .navigation__desktop {
  538. display: none;
  539. }
  540. @media (min-width: 1150px) {
  541. .navigation__desktop {
  542. display: block;
  543. }
  544. .navigation__search {
  545. display: block;
  546. margin: 0 0 0 auto;
  547. }
  548. .navigation__items {
  549. padding: 0 0 0 20px;
  550. }
  551. }
  552. .navigation__items > li {
  553. padding: 10px 0;
  554. }
  555. .navigation__items > li > a {
  556. color: var(--dark);
  557. font-family: var(--font--secondary);
  558. font-size: var(--font-md);
  559. line-height: 1.55;
  560. padding: 10px 0;
  561. }
  562. @media (min-width: 1150px) {
  563. .navigation__items {
  564. display: block;
  565. }
  566. .navigation__items > li {
  567. padding: 0 0 0 20px;
  568. }
  569. .navigation__items > li > a {
  570. padding: 10px;
  571. }
  572. .navigation__items > li:first-child {
  573. padding: 0 0 0 20px;
  574. }
  575. }
  576. /* N.B. We're overriding Bootstrap's default nav styles here,
  577. these rules set what the currently active nav tab looks like. */
  578. .navigation__items > li.active > a,
  579. .navigation__items > li.active > a:focus,
  580. .navigation__items > li.active > a:hover {
  581. color: var(--dark);
  582. border-radius: 0;
  583. border: none;
  584. background-color: transparent;
  585. }
  586. .navigation__items > li:hover,
  587. .navigation__items > li > a:focus,
  588. .navigation__items > li > a:hover {
  589. text-decoration: underline;
  590. }
  591. /* Required as bootstrap nav automatically hides this otherwise */
  592. @media (min-width: 768px) {
  593. .navigation__mobile-toggle {
  594. display: block;
  595. }
  596. }
  597. @media (min-width: 1150px) {
  598. .navigation__mobile-toggle {
  599. display: none;
  600. }
  601. }
  602. .navigation__toggle-icon-bar {
  603. background-color: var(--dark);
  604. width: 30px;
  605. height: 2px;
  606. margin-bottom: 8px;
  607. display: block;
  608. }
  609. .navigation__toggle-icon-bar:last-child {
  610. margin-bottom: 0;
  611. }
  612. .collapse.in {
  613. padding: 0;
  614. }
  615. @media (max-width: 1150px) {
  616. .collapse.in {
  617. flex-basis: 100%;
  618. overflow-y: hidden;
  619. }
  620. .collapse.in .navigation__items {
  621. display: block;
  622. }
  623. }
  624. .navigation__logo,
  625. .navigation__logo:visited,
  626. .navigation__logo:focus {
  627. display: inline-block;
  628. color: var(--dark);
  629. font-family: var(--font--primary);
  630. font-weight: 400;
  631. font-size: 1.5rem;
  632. line-height: 1.25;
  633. margin: 0;
  634. position: relative;
  635. }
  636. @media (min-width: 1150px) {
  637. .navigation__logo::after {
  638. content: '';
  639. position: absolute;
  640. right: -20px;
  641. top: -5px;
  642. bottom: 0;
  643. width: 1px;
  644. height: 42px;
  645. background-color: var(--border-grey);
  646. }
  647. }
  648. /* Mobile menu styling */
  649. @media (max-width: 1150px) {
  650. .nav-pills > .presentation {
  651. float: none;
  652. width: 100%;
  653. }
  654. }
  655. /* Custom page footer */
  656. hr {
  657. margin: 0;
  658. border-top: 1px solid var(--light-brown);
  659. opacity: 0.25;
  660. }
  661. footer {
  662. padding: 55px 0 30px;
  663. background-color: var(--white);
  664. }
  665. .footer__icon a {
  666. display: inline-grid;
  667. background-color: var(--cream);
  668. color: var(--orange);
  669. padding: 0.5rem;
  670. border-radius: 50%;
  671. }
  672. .copyright p {
  673. color: var(--dark);
  674. font-family: var(--font--secondary);
  675. font-size: var(--font-sm);
  676. line-height: 1.5;
  677. }
  678. @media (min-width: 768px) {
  679. .copyright p {
  680. font-size: var(--font-md);
  681. line-height: 1.55;
  682. }
  683. }
  684. .container {
  685. width: auto;
  686. padding-left: 20px;
  687. padding-right: 20px;
  688. }
  689. @media (min-width: 768px) {
  690. .container {
  691. max-width: 1400px;
  692. padding-left: 40px;
  693. padding-right: 40px;
  694. }
  695. }
  696. .container-narrow > hr {
  697. margin: 30px 0;
  698. }
  699. /* Breadcrumbs */
  700. .breadcrumb-container {
  701. position: relative;
  702. z-index: 3;
  703. margin-bottom: 15px;
  704. }
  705. .breadcrumb {
  706. color: var(--dark);
  707. font-family: var(--font--secondary);
  708. font-size: var(--font-sm);
  709. line-height: 1.5;
  710. margin-bottom: 0;
  711. padding-left: 0;
  712. background-color: transparent;
  713. }
  714. .breadcrumb > li + li::before {
  715. display: none;
  716. }
  717. .breadcrumb__chevron-icon {
  718. width: 8px;
  719. height: 16px;
  720. margin: 0 10px;
  721. }
  722. .breadcrumb__chevron-icon path {
  723. fill: var(--dark);
  724. }
  725. .breadcrumb a,
  726. .breadcrumb .active {
  727. color: var(--dark);
  728. text-decoration: underline;
  729. }
  730. .breadcrumb a:hover {
  731. color: var(--dark-orange);
  732. }
  733. /* Pagination navigation */
  734. .pagination {
  735. display: block;
  736. margin: 0 auto 40px;
  737. }
  738. .pagination__list {
  739. display: flex;
  740. width: 100%;
  741. justify-content: center;
  742. gap: 20px;
  743. list-style-type: none;
  744. padding-left: 0;
  745. }
  746. .pagination .page-item a {
  747. text-transform: capitalize;
  748. text-decoration: underline;
  749. }
  750. .pagination .page-item.active span {
  751. color: var(--grey);
  752. }
  753. .pagination .page-item.disabled a {
  754. color: var(--grey);
  755. text-decoration: none;
  756. cursor: default;
  757. }
  758. /* Search page */
  759. .search__introduction {
  760. color: var(--dark);
  761. font-family: var(--font--primary);
  762. font-weight: 400;
  763. font-size: 1.625rem;
  764. line-height: 1.15;
  765. margin-top: 20px;
  766. margin-bottom: 40px;
  767. }
  768. .search__results {
  769. list-style-type: none;
  770. padding-left: 0;
  771. margin-bottom: 90px;
  772. }
  773. @media (min-width: 768px) {
  774. .search__introduction {
  775. margin-bottom: 60px;
  776. }
  777. .search__results {
  778. margin-bottom: 120px;
  779. }
  780. }
  781. /* Location list page */
  782. .location-list-page {
  783. padding: 0 0 70px;
  784. display: grid;
  785. grid-template-columns: 1fr;
  786. gap: 10px;
  787. }
  788. @media (min-width: 768px) {
  789. .location-list-page {
  790. padding: 50px 0 110px;
  791. grid-template-columns: 1fr 1fr;
  792. gap: 30px;
  793. }
  794. }
  795. /* Location detail page */
  796. .location__meta-title {
  797. font-family: var(--font--primary);
  798. margin-top: 30px;
  799. margin-bottom: 10px;
  800. font-size: 1.625rem;
  801. line-height: 1.23;
  802. }
  803. .location__meta-title:first-child {
  804. margin-top: 0;
  805. }
  806. .location__day {
  807. font-weight: bold;
  808. font-family: var(--font--secondary);
  809. }
  810. .location__time {
  811. display: block;
  812. }
  813. /* ---- Blog Index Page ---- */
  814. .blog-tags {
  815. list-style: none;
  816. display: flex;
  817. flex-wrap: wrap;
  818. padding-left: 0;
  819. row-gap: 25px;
  820. column-gap: 15px;
  821. margin-bottom: 70px;
  822. }
  823. .blog-tags.blog-tags--condensed {
  824. column-gap: 0;
  825. }
  826. .blog-tags__pill {
  827. padding: 10px 18px;
  828. font-size: var(--font-md);
  829. line-height: 1.55;
  830. border: 1px solid var(--orange);
  831. border-radius: 60px;
  832. margin-left: 20px;
  833. text-transform: capitalize;
  834. }
  835. .blog-tags__pill--selected {
  836. background-color: var(--dark-orange);
  837. border: 1px solid var(--dark-orange);
  838. color: var(--white);
  839. }
  840. .blog-tags__pill:hover.blog-tags__pill--selected {
  841. background-color: var(--dark-orange);
  842. }
  843. .blog-tags__pill:first-child {
  844. margin-left: 0;
  845. }
  846. .blog-tags__pill:hover {
  847. background-color: var(--orange);
  848. color: var(--white);
  849. }
  850. .blog-tags__tag {
  851. color: var(--orange);
  852. text-transform: capitalize;
  853. }
  854. .blog-list {
  855. padding: 0;
  856. }
  857. .blog-list-item {
  858. display: flex;
  859. flex-direction: column;
  860. margin-bottom: 20px;
  861. }
  862. .blog-list-item a {
  863. display: flex;
  864. flex-grow: 1;
  865. flex-direction: column;
  866. }
  867. .blog-list-item:hover img {
  868. opacity: 0.3;
  869. }
  870. .blog-list-item .image {
  871. overflow: hidden;
  872. background-color: #eb7400;
  873. flex: 1 0 auto;
  874. }
  875. .blog-list-item .image img {
  876. min-height: 510px;
  877. width: auto;
  878. min-width: 100%;
  879. }
  880. .blog-list-item .text {
  881. background: linear-gradient(
  882. to bottom,
  883. rgb(0 0 0 / 0%) 0%,
  884. rgb(0 0 0 / 60%) 23%,
  885. rgb(0 0 0 / 100%) 50%
  886. );
  887. margin-top: -150px;
  888. padding: 20px;
  889. position: relative;
  890. z-index: 1;
  891. }
  892. .blog-list-item .text h2 {
  893. color: #fff;
  894. font-weight: 200;
  895. margin-top: 0;
  896. }
  897. .blog-list-item .text p {
  898. color: #e3e3e3;
  899. font-size: 0.875rem;
  900. margin-bottom: 0;
  901. }
  902. .blog-list-item .footer {
  903. background-color: #333;
  904. color: #fff;
  905. margin-top: 0;
  906. padding: 20px;
  907. position: relative;
  908. z-index: 1;
  909. }
  910. /* ---- Blog Page ---- */
  911. .blog__meta {
  912. margin-bottom: 20px;
  913. }
  914. .blog__avatar {
  915. border-radius: 100%;
  916. display: inline;
  917. width: unset;
  918. margin-right: 10px;
  919. }
  920. .blog__avatars {
  921. margin-bottom: 20px;
  922. }
  923. .blog__author {
  924. font-family: var(--font--primary);
  925. font-size: 1.375rem;
  926. line-height: 1.18;
  927. display: inline-block;
  928. margin-right: 40px;
  929. margin-bottom: 10px;
  930. }
  931. .blog__published {
  932. color: var(--grey);
  933. margin-bottom: 30px;
  934. }
  935. .blog__tag-introduction {
  936. font-size: var(--font-md);
  937. color: var(--grey);
  938. margin-bottom: 20px;
  939. margin-top: 60px;
  940. }
  941. @media (min-width: 768px) {
  942. .blog__published {
  943. margin-bottom: 40px;
  944. }
  945. .blog__avatars {
  946. margin-bottom: 40px;
  947. }
  948. .blog__tag-introduction {
  949. margin-top: 100px;
  950. }
  951. }
  952. /* ---- Gallery Page ---- */
  953. .gallery__container {
  954. padding-top: 40px;
  955. padding-bottom: 60px;
  956. }
  957. .gallery__introduction {
  958. color: var(--dark);
  959. font-family: var(--font--primary);
  960. font-size: 1.625rem;
  961. line-height: 1.15;
  962. margin: 0 0 60px;
  963. }
  964. .gallery__grid {
  965. display: grid;
  966. grid-template-columns: 1fr;
  967. gap: 10px;
  968. }
  969. @media (min-width: 768px) {
  970. .gallery__container {
  971. padding-top: 180px;
  972. padding-bottom: 80px;
  973. }
  974. .gallery__introduction {
  975. font-size: 2rem;
  976. line-height: 1.31;
  977. margin: 0 0 85px;
  978. }
  979. .gallery__grid {
  980. grid-template-columns: 1fr 1fr;
  981. gap: 30px;
  982. }
  983. }
  984. /* ---- Bread Index Page ---- */
  985. .bread-list {
  986. list-style-type: none;
  987. padding-left: 0;
  988. padding-bottom: 40px;
  989. }
  990. @media (min-width: 992px) {
  991. .bread-list {
  992. display: grid;
  993. grid-template-columns: 1fr 1fr;
  994. gap: 30px;
  995. padding-top: 30px;
  996. padding-bottom: 80px;
  997. }
  998. }
  999. /* ---- Bread Detail Page ---- */
  1000. .bread-detail {
  1001. padding-bottom: 60px;
  1002. }
  1003. .bread-detail__introduction {
  1004. color: var(--dark);
  1005. font-family: var(--font--primary);
  1006. font-size: 1.625rem;
  1007. line-height: 1.15;
  1008. margin-top: 50px;
  1009. margin-bottom: 65px;
  1010. }
  1011. @media (min-width: 768px) {
  1012. .bread-detail__introduction {
  1013. font-size: 2rem;
  1014. line-height: 1.31;
  1015. margin-top: 160px;
  1016. }
  1017. }
  1018. .bread-detail figure {
  1019. margin: 35px auto 20px;
  1020. overflow: hidden;
  1021. }
  1022. .bread-detail figure img {
  1023. height: auto;
  1024. }
  1025. .bread-detail__meta {
  1026. background-color: var(--cream);
  1027. padding: 40px;
  1028. margin-right: -15px;
  1029. margin-bottom: 60px;
  1030. }
  1031. .bread-detail__meta ul li {
  1032. border-bottom: 1px solid var(--border-grey);
  1033. list-style: none;
  1034. color: var(--grey);
  1035. max-width: 450px;
  1036. margin-bottom: 15px;
  1037. }
  1038. .bread-detail__meta-title {
  1039. font-family: var(--font--secondary);
  1040. font-weight: 700;
  1041. font-size: var(--font-md);
  1042. line-height: 1.55;
  1043. margin: 0 0 5px;
  1044. }
  1045. .bread-detail__meta-content {
  1046. font-family: var(--font--secondary);
  1047. font-size: var(--font-md);
  1048. line-height: 1.55;
  1049. margin: 0 0 20px;
  1050. }
  1051. .bread-detail__meta-ingredient--draft {
  1052. color: transparent;
  1053. user-select: none;
  1054. cursor: help;
  1055. text-shadow: 0 0 7px rgb(0 0 0 / 50%);
  1056. }
  1057. @media (min-width: 992px) {
  1058. .bread-detail__meta {
  1059. background-color: var(--cream);
  1060. padding: 240px 60px 60px;
  1061. margin-right: -40px;
  1062. margin-bottom: 0;
  1063. }
  1064. }
  1065. /* Forms */
  1066. .form-page {
  1067. padding-bottom: 60px;
  1068. }
  1069. .form-page input,
  1070. textarea,
  1071. select {
  1072. display: block;
  1073. width: 100%;
  1074. padding: 8px;
  1075. border: 1px solid var(--dark);
  1076. }
  1077. .form-page input[type='submit'] {
  1078. border: none;
  1079. color: var(--white);
  1080. background-color: var(--orange);
  1081. font-weight: 700;
  1082. padding: 15px 25px;
  1083. display: inline-block;
  1084. vertical-align: middle;
  1085. transition-duration: 0.1s;
  1086. width: max-content;
  1087. }
  1088. .form-page input[type='submit']:hover {
  1089. background-color: var(--dark);
  1090. }
  1091. .form-page li input[type='checkbox'],
  1092. input[type='radio'] {
  1093. display: inline-block;
  1094. margin-right: 10px;
  1095. }
  1096. .form-page__field ul,
  1097. .form-page__field li {
  1098. list-style: none;
  1099. padding: 0;
  1100. margin: 0;
  1101. }
  1102. .form-page .required {
  1103. color: var(--orange);
  1104. }
  1105. .form-page .help {
  1106. color: var(--dark);
  1107. font-family: var(--font--secondary);
  1108. font-size: var(--font-sm);
  1109. margin-top: 10px;
  1110. max-width: 350px;
  1111. }
  1112. .form-page__field {
  1113. color: var(--dark);
  1114. margin-bottom: 30px;
  1115. }
  1116. .form-page__field label {
  1117. margin-bottom: 10px;
  1118. }
  1119. .form-page__help-text {
  1120. color: var(--grey);
  1121. font-family: var(--font--secondary);
  1122. font-size: var(--font-md);
  1123. line-height: 28px;
  1124. margin: -10px 0 10px;
  1125. }
  1126. @media (min-width: 766px) {
  1127. .form-page input,
  1128. textarea,
  1129. select {
  1130. width: 100%;
  1131. }
  1132. .form-page {
  1133. padding-bottom: 140px;
  1134. }
  1135. .form-page__field {
  1136. margin-bottom: 50px;
  1137. }
  1138. }
  1139. /* Generic title image header include */
  1140. .base-header img {
  1141. height: auto;
  1142. margin-top: 20px;
  1143. max-width: 100%;
  1144. width: auto;
  1145. }
  1146. @media (max-width: 970px) {
  1147. .base-header img {
  1148. width: 100%;
  1149. }
  1150. }
  1151. /* Homepage */
  1152. /* #region -- Hero -- */
  1153. .homepage .hero {
  1154. margin: 0;
  1155. padding: 200px 0 30px;
  1156. }
  1157. .homepage .home-hero {
  1158. margin-bottom: 0;
  1159. padding-bottom: 20px;
  1160. }
  1161. @media (min-width: 768px) {
  1162. .homepage .home-hero {
  1163. padding-bottom: 140px;
  1164. }
  1165. }
  1166. .homepage .home-hero .lead {
  1167. font-family: var(--font--primary);
  1168. font-weight: 400;
  1169. color: var(--white);
  1170. margin: 40px auto;
  1171. font-size: 1.625rem;
  1172. line-height: 1.15;
  1173. }
  1174. @media (min-width: 768px) {
  1175. .homepage .home-hero .lead {
  1176. font-size: 2rem;
  1177. line-height: 1.31;
  1178. }
  1179. }
  1180. .homepage .home-hero .hero-cta-link {
  1181. color: var(--white);
  1182. background-color: var(--orange);
  1183. font-weight: 700;
  1184. padding: 15px 25px;
  1185. display: inline-block;
  1186. vertical-align: middle;
  1187. transition:
  1188. color ease 0.1s,
  1189. background-color ease 0.1s;
  1190. }
  1191. .homepage .home-hero .hero-cta-link:hover {
  1192. background-color: var(--white);
  1193. color: var(--dark-orange);
  1194. }
  1195. /* #endregion */
  1196. /* #region -- Body -- */
  1197. .homepage .streamfield {
  1198. background-color: var(--cream);
  1199. }
  1200. .homepage .streamfield a {
  1201. color: var(--dark-orange);
  1202. }
  1203. .homepage .streamfield-column {
  1204. padding: 80px 20px;
  1205. }
  1206. .homepage .streamfield-column p:first-child {
  1207. color: var(--dark-brown);
  1208. font-family: var(--font--primary);
  1209. font-size: 1.5rem;
  1210. line-height: 1.31;
  1211. margin-bottom: 30px;
  1212. }
  1213. .homepage .streamfield-column p:first-child a {
  1214. text-decoration-skip-ink: none;
  1215. text-decoration-thickness: 3px;
  1216. text-underline-offset: 4px;
  1217. }
  1218. .homepage .streamfield-column p {
  1219. font-size: 0.875rem;
  1220. line-height: 1.57;
  1221. }
  1222. .homepage .streamfield-column p:last-child {
  1223. margin-bottom: 0;
  1224. }
  1225. @media (min-width: 768px) {
  1226. .homepage .streamfield-column p {
  1227. font-size: var(--font-md);
  1228. line-height: 1.55;
  1229. }
  1230. }
  1231. @media (min-width: 992px) {
  1232. .homepage .streamfield-column {
  1233. padding: 140px 0;
  1234. }
  1235. .homepage .streamfield-column p:first-child {
  1236. font-size: 3.75rem;
  1237. line-height: 1.07;
  1238. margin-bottom: 60px;
  1239. }
  1240. }
  1241. /* #endregion */
  1242. /* #region -- Promo Section */
  1243. .homepage .promo-row {
  1244. padding: 40px 0 80px;
  1245. }
  1246. @media (min-width: 768px) {
  1247. .homepage .promo-row {
  1248. padding-top: 80px;
  1249. margin-right: -45px;
  1250. }
  1251. }
  1252. .homepage .promo h2 {
  1253. margin-top: 0;
  1254. margin-bottom: 20px;
  1255. color: var(--white);
  1256. }
  1257. .homepage .promo p,
  1258. .homepage .promo li {
  1259. color: var(--white);
  1260. }
  1261. .homepage .promo a {
  1262. color: var(--white);
  1263. text-decoration: underline;
  1264. }
  1265. .homepage .promo {
  1266. background: var(--light-brown);
  1267. height: 100%;
  1268. padding: 60px 40px;
  1269. margin-top: 40px;
  1270. margin-bottom: 100px;
  1271. }
  1272. .homepage .promo-text {
  1273. padding: 0;
  1274. }
  1275. .homepage .promo figure img {
  1276. margin: 40px 0 -200px;
  1277. width: 100%;
  1278. height: auto;
  1279. }
  1280. @media (min-width: 768px) {
  1281. .homepage .promo {
  1282. margin-top: -180px;
  1283. margin-right: -120px;
  1284. padding: 180px 60px 40px;
  1285. }
  1286. .homepage .promo figure img {
  1287. width: calc(100% + 60px);
  1288. height: auto;
  1289. margin-right: -60px;
  1290. margin-bottom: -280px;
  1291. padding-top: 20px;
  1292. }
  1293. .homepage .promo p {
  1294. font-size: 1.25rem;
  1295. line-height: 1.35;
  1296. }
  1297. }
  1298. /* #endregion */
  1299. /* #region -- Featured Cards Section -- */
  1300. .homepage .featured-cards__list {
  1301. list-style: none;
  1302. padding-left: 0;
  1303. }
  1304. .homepage .featured-cards__title {
  1305. margin-top: 0;
  1306. margin-bottom: 40px;
  1307. }
  1308. .homepage .featured-cards__link {
  1309. display: flex;
  1310. flex-direction: row;
  1311. justify-content: baseline;
  1312. font-family: var(--font--primary);
  1313. margin: 0 auto;
  1314. width: max-content;
  1315. font-size: var(--font-md);
  1316. line-height: 1.28;
  1317. }
  1318. .homepage .featured-cards__chevron-icon {
  1319. margin-left: 8px;
  1320. width: 8px;
  1321. height: 22px;
  1322. transition: transform ease 0.1s;
  1323. }
  1324. .homepage .featured-cards__link:hover {
  1325. text-decoration: underline;
  1326. }
  1327. .homepage .featured-cards__link:hover .featured-cards__chevron-icon {
  1328. transform: translateX(5px);
  1329. }
  1330. .homepage .featured-cards__link:hover .featured-cards__chevron-icon path {
  1331. fill: var(--dark-orange);
  1332. }
  1333. @media (min-width: 768px) {
  1334. .homepage .featured-cards {
  1335. padding-right: 50px;
  1336. }
  1337. .homepage .featured-cards__link {
  1338. font-size: 1.5rem;
  1339. line-height: 30px;
  1340. margin: unset;
  1341. }
  1342. .homepage .featured-cards__chevron-icon {
  1343. width: 12px;
  1344. height: 28px;
  1345. align-self: center;
  1346. }
  1347. }
  1348. /* #endregion */
  1349. /* #region -- Location Section -- */
  1350. .homepage .locations-section {
  1351. padding: 40px 0 20px;
  1352. text-align: center;
  1353. }
  1354. .homepage .locations-section__title {
  1355. color: var(--dark);
  1356. font-style: normal;
  1357. font-weight: 400;
  1358. font-size: 2.375rem;
  1359. line-height: 1.16;
  1360. margin-bottom: 40px;
  1361. }
  1362. @media (min-width: 768px) {
  1363. .homepage .locations-section {
  1364. text-align: left;
  1365. padding: 120px 0 160px;
  1366. }
  1367. .homepage .locations-section__title {
  1368. font-size: 3.75rem;
  1369. line-height: 1.07;
  1370. /* Aligns title with below cards */
  1371. padding-left: 10px;
  1372. }
  1373. }
  1374. /* #endregion */
  1375. /* #region -- Blog Section -- */
  1376. .homepage .blog-section {
  1377. padding: 80px 20px 100px;
  1378. text-align: center;
  1379. }
  1380. .homepage .blog-section__background {
  1381. background-color: var(--cream);
  1382. }
  1383. .homepage .blog-section__title {
  1384. color: var(--dark-brown);
  1385. font-weight: 400;
  1386. font-size: 2.375rem;
  1387. line-height: 1.16;
  1388. margin-bottom: 60px;
  1389. margin-top: 0;
  1390. }
  1391. .homepage .blog-section__grid {
  1392. display: grid;
  1393. gap: 10px;
  1394. grid-template-columns: 1fr;
  1395. }
  1396. @media (min-width: 566px) {
  1397. .homepage .blog-section__grid {
  1398. grid-template-columns: 1fr 1fr;
  1399. }
  1400. }
  1401. @media (min-width: 768px) {
  1402. .homepage .blog-section {
  1403. padding: 90px 0 110px;
  1404. }
  1405. }
  1406. @media (min-width: 966px) {
  1407. .homepage .blog-section__grid {
  1408. grid-template-columns: 1fr 1fr 1fr;
  1409. }
  1410. .homepage .blog-section__title {
  1411. margin-bottom: 90px;
  1412. font-size: 7.5rem;
  1413. line-height: 1.21;
  1414. }
  1415. }
  1416. /* #endregion */
  1417. /* Miscellaneous helper styles */
  1418. /* No gutters */
  1419. .row.no-gutters {
  1420. margin-right: 0;
  1421. margin-left: 0;
  1422. }
  1423. @media (max-width: 970px) {
  1424. .row.no-gutters {
  1425. display: block;
  1426. }
  1427. }
  1428. .row.no-gutters > [class^='col-'],
  1429. .row.no-gutters > [class*=' col-'] {
  1430. padding-right: 0;
  1431. padding-left: 0;
  1432. }
  1433. /* Bootstrap Equal height rows */
  1434. .row-eq-height {
  1435. display: box;
  1436. display: flex;
  1437. display: flexbox;
  1438. display: flex;
  1439. flex-wrap: wrap;
  1440. }
  1441. @media (min-width: 992px) {
  1442. .hidden-md-up {
  1443. display: none;
  1444. }
  1445. }
  1446. @media (max-width: 991px) {
  1447. .hidden-md-down {
  1448. display: none;
  1449. }
  1450. }
  1451. /* From Wagtail core */
  1452. .richtext-image.left {
  1453. float: left;
  1454. width: 50%;
  1455. }
  1456. .richtext-image.right {
  1457. float: right;
  1458. width: 50%;
  1459. }
  1460. /* ---- Component Styles ---- */
  1461. /* #region ---- Picture Card ---- */
  1462. .picture-card {
  1463. position: relative;
  1464. }
  1465. .picture-card__link:hover .picture-card__image img {
  1466. transform: scale(1.05);
  1467. }
  1468. .picture-card__link:hover .picture-card__title {
  1469. text-decoration: underline;
  1470. }
  1471. .picture-card__title {
  1472. color: var(--white);
  1473. font-family: var(--font--primary);
  1474. font-size: 1.625rem;
  1475. line-height: 1.15;
  1476. margin: 0;
  1477. }
  1478. .picture-card__image {
  1479. overflow: hidden;
  1480. margin-bottom: 0;
  1481. }
  1482. .picture-card__image img {
  1483. transition: transform 0.2s ease;
  1484. }
  1485. .picture-card__image::before {
  1486. content: '';
  1487. position: absolute;
  1488. height: 200px;
  1489. left: 0;
  1490. right: 0;
  1491. bottom: 0;
  1492. background: linear-gradient(180deg, rgb(0 0 0 / 0%) 0%, #000 67.69%);
  1493. z-index: 2;
  1494. }
  1495. .picture-card__contents {
  1496. position: absolute;
  1497. top: 0;
  1498. bottom: 0;
  1499. left: 0;
  1500. right: 0;
  1501. text-align: left;
  1502. display: flex;
  1503. align-items: end;
  1504. padding: 20px;
  1505. z-index: 2;
  1506. }
  1507. @media (min-width: 768px) {
  1508. .picture-card__title {
  1509. font-size: 2rem;
  1510. line-height: 1.31;
  1511. }
  1512. .picture-card__contents {
  1513. padding: 30px 40px;
  1514. }
  1515. }
  1516. /* #endregion */
  1517. /* #region ---- Listing Card ---- */
  1518. .listing-card {
  1519. margin-bottom: 40px;
  1520. }
  1521. .listing-card__meta {
  1522. border-collapse: separate;
  1523. border-spacing: 5px;
  1524. }
  1525. .listing-card__link {
  1526. display: flex;
  1527. flex-direction: row;
  1528. padding-bottom: 30px;
  1529. border-bottom: 1px solid var(--border-grey);
  1530. }
  1531. .listing-card__contents {
  1532. padding-top: 10px;
  1533. padding-left: 25px;
  1534. }
  1535. .listing-card__title {
  1536. color: var(--orange);
  1537. margin-top: 0;
  1538. }
  1539. .listing-card__meta-category {
  1540. color: var(--grey);
  1541. font-size: 0.875rem;
  1542. line-height: 1.57;
  1543. padding-right: 10px;
  1544. vertical-align: top;
  1545. }
  1546. .listing-card__meta-content {
  1547. color: var(--dark);
  1548. font-size: 0.875rem;
  1549. line-height: 1.57;
  1550. vertical-align: top;
  1551. }
  1552. .listing-card__meta-row:last-child {
  1553. margin-bottom: 0;
  1554. }
  1555. .listing-card__image {
  1556. width: 100%;
  1557. overflow: hidden;
  1558. margin: 0;
  1559. max-width: 100px;
  1560. max-height: 110px;
  1561. }
  1562. .listing-card__image img {
  1563. transition: transform ease 0.2s;
  1564. }
  1565. .listing-card:hover .listing-card__image img {
  1566. transform: scale(1.05);
  1567. }
  1568. .listing-card:hover .listing-card__title {
  1569. color: var(--dark-orange);
  1570. text-decoration: underline;
  1571. }
  1572. @media (min-width: 768px) {
  1573. .listing-card__contents {
  1574. padding-left: 45px;
  1575. padding-top: 30px;
  1576. }
  1577. .listing-card__image {
  1578. width: 100%;
  1579. overflow: hidden;
  1580. margin: 0;
  1581. max-width: 180px;
  1582. max-height: 180px;
  1583. }
  1584. .listing-card__meta-category,
  1585. .listing-card__meta-content {
  1586. font-size: var(--font-sm);
  1587. line-height: 1.5;
  1588. }
  1589. }
  1590. /* #endregion */
  1591. /* #region ---- Blog Listing Card ---- */
  1592. .blog-listing-card {
  1593. padding-bottom: 40px;
  1594. width: 100%;
  1595. }
  1596. .blog-listing-card:last-child {
  1597. padding-bottom: 100px;
  1598. }
  1599. .blog-listing-card__link {
  1600. display: flex;
  1601. flex-direction: column;
  1602. padding-bottom: 30px;
  1603. border-bottom: 1px solid var(--transparent-border);
  1604. }
  1605. .blog-listing-card__contents {
  1606. padding-top: 10px;
  1607. }
  1608. .blog-listing-card__title {
  1609. font-size: 1.625rem;
  1610. line-height: 1.15;
  1611. color: var(--orange);
  1612. margin-top: 0;
  1613. margin-bottom: 8px;
  1614. }
  1615. .blog-listing-card__introduction {
  1616. font-size: var(--font-sm);
  1617. line-height: 1.5;
  1618. color: var(--dark);
  1619. margin-bottom: 8px;
  1620. max-width: 530px;
  1621. }
  1622. .blog-listing-card__metadata {
  1623. font-size: 0.875rem;
  1624. line-height: 1.43;
  1625. color: var(--grey);
  1626. margin-bottom: 0;
  1627. }
  1628. .blog-listing-card__image {
  1629. width: 100%;
  1630. overflow: hidden;
  1631. margin: 0;
  1632. }
  1633. .blog-listing-card__image img {
  1634. transition: transform ease 0.2s;
  1635. }
  1636. .blog-listing-card:hover .blog-listing-card__image img {
  1637. transform: scale(1.05);
  1638. }
  1639. .blog-listing-card:hover .blog-listing-card__title {
  1640. color: var(--dark-orange);
  1641. text-decoration: underline;
  1642. }
  1643. @media (min-width: 768px) {
  1644. .blog-listing-card:last-child {
  1645. padding-bottom: 200px;
  1646. }
  1647. .blog-listing-card__link {
  1648. flex-direction: row;
  1649. }
  1650. .blog-listing-card__contents {
  1651. padding-top: 30px;
  1652. padding-left: 45px;
  1653. }
  1654. .blog-listing-card__title {
  1655. font-size: 2rem;
  1656. line-height: 1.31;
  1657. }
  1658. .blog-listing-card__introduction {
  1659. font-size: var(--font-md);
  1660. line-height: 1.55;
  1661. }
  1662. .blog-listing-card__image {
  1663. flex-shrink: 0;
  1664. overflow: hidden;
  1665. margin: 0;
  1666. width: 325px;
  1667. height: 250px;
  1668. }
  1669. }
  1670. /* #endregion */
  1671. /* #region ---- Location Card ---- */
  1672. .location-card {
  1673. display: flex;
  1674. flex-direction: column;
  1675. margin: 0 auto 50px;
  1676. text-align: left;
  1677. }
  1678. .location-card:hover .location-card__image img {
  1679. transform: scale(1.05);
  1680. }
  1681. .location-card:hover .location-card__title {
  1682. color: var(--dark-orange);
  1683. }
  1684. .location-card__image {
  1685. margin-bottom: 0;
  1686. overflow: hidden;
  1687. }
  1688. .location-card__image img {
  1689. object-fit: cover;
  1690. min-height: 210px;
  1691. transition: transform 0.2s ease;
  1692. }
  1693. .location-card__title {
  1694. color: var(--orange);
  1695. font-size: 1.625rem;
  1696. line-height: 1.15;
  1697. margin-bottom: 10px;
  1698. font-weight: 400;
  1699. width: max-content;
  1700. position: relative;
  1701. }
  1702. .location-card__title::before {
  1703. content: '';
  1704. bottom: 3px;
  1705. position: absolute;
  1706. left: 0;
  1707. right: 0;
  1708. height: 2px;
  1709. background-color: var(--dark-orange);
  1710. opacity: 0;
  1711. transition: opacity 0.3s ease;
  1712. }
  1713. .location-card:hover .location-card__title::before {
  1714. opacity: 1;
  1715. }
  1716. .location-card__text {
  1717. color: var(--dark);
  1718. font-size: var(--font-sm);
  1719. line-height: 1.5;
  1720. }
  1721. @media (min-width: 768px) {
  1722. .location-card {
  1723. margin-bottom: 0;
  1724. }
  1725. .location-card__image {
  1726. margin-bottom: 30px;
  1727. }
  1728. .location-card__image img {
  1729. min-height: 320px;
  1730. }
  1731. .location-card__title {
  1732. font-size: 2rem;
  1733. line-height: 1.31;
  1734. margin-bottom: 20px;
  1735. }
  1736. .location-card__text {
  1737. font-size: var(--font-md);
  1738. line-height: 1.55;
  1739. }
  1740. }
  1741. /* #endregion */
  1742. /* Utilities */
  1743. .u-sr-only {
  1744. position: absolute;
  1745. width: 1px;
  1746. height: 1px;
  1747. padding: 0;
  1748. margin: -1px;
  1749. overflow: hidden;
  1750. clip: rect(0, 0, 0, 0);
  1751. white-space: nowrap;
  1752. border: 0;
  1753. }