2
0

main.css 35 KB

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