/* Site footer (inc/footer.php): light, the person first, links to the right.
   Palette and type of the mega menu. */
.ft { background: #f4f1ea; color: #14272c; border-top: 1px solid #e6e1d6; font-family: "Cabin", sans-serif; font-size: 16px; line-height: 24px; }
.ft a { color: #14272c; text-decoration: none; transition: color 0.2s ease, background-color 0.2s ease; }
.ft a:hover { color: #206c83; }
.ft p { margin: 0; }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { padding: 0; margin: 0; }
.ft li::before, .ft li::after { content: none !important; display: none !important; }
.ft svg { display: inline-block; flex: none; vertical-align: middle; }
.ft-wrap { max-width: 1360px; margin: 0 auto; padding: 64px 40px 36px; }

.ft-top { display: grid; grid-template-columns: 1.5fr 2fr; gap: 56px; padding-bottom: 44px; border-bottom: 1px solid #e6e1d6; }
.ft-logo { display: block; width: 220px; height: auto; margin-bottom: 26px; }
.ft-card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 22px 22px 22px 6px; background: #fff; box-shadow: 0 10px 30px rgba(20, 39, 44, 0.06); }
.ft-face { position: relative; flex: none; width: 64px; height: 64px; }
.ft-face img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 50%; }
.ft-status { position: absolute; right: 1px; bottom: 1px; width: 13px; height: 13px; border-radius: 50%; background: #4f7f25; box-shadow: 0 0 0 3px #fff; }
.ft-title { margin: 0 0 10px !important; font-family: "Bubblegum Sans", cursive; font-size: 24px; line-height: 1.1; color: #14272c; }
.ft-lines { display: grid; gap: 6px; }
.ft-line { display: flex; align-items: flex-start; gap: 10px; margin: 0 !important; line-height: 24px; font-weight: 700; }
.ft-line svg { width: 20px; height: 20px; margin-top: 2px; color: #206c83; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ft-line small { font-size: 15px; font-weight: 400; color: #5f6e6f; white-space: nowrap; }
.ft-line small::before { content: "\00b7\00a0"; color: #5f6e6f; }
.ft-line small.ft-hl { color: #f37720; font-weight: 700; }

.ft-links { display: grid; grid-template-columns: repeat(3, auto); gap: 32px; align-content: start; }
/* Trustpilot rating under the three columns: the hero template with the footer's own styles */
.ft-trustpilot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 8px; text-decoration: none; }
.ft-trustpilot .tp-row { display: flex; align-items: center; }
.ft-trustpilot .tp-logo { display: block; width: 96px; height: auto; filter: brightness(0); opacity: 0.92; }
.ft-trustpilot .tp-score { margin: 0 14px 0 8px; font-family: "Bubblegum Sans", cursive; font-size: 30px; line-height: 1; color: #14272c; }
.ft-trustpilot .tp-stars { display: flex; gap: 4px; }
.ft-trustpilot .tp-stars svg { display: block; width: 21px; height: 21px; }
.ft-trustpilot .tp-text { font: 700 17px/24px "Cabin", sans-serif; color: #3d4c50; }
.ft-trustpilot .tp-text .tp-years { color: #f37720; font-size: 24px; }
.ft-trustpilot .tp-link { display: block; line-height: 0; }
.ft-trustpilot .tp-link:hover .tp-logo { opacity: 1; }
.ft-h { margin: 0 0 16px !important; white-space: nowrap; font-family: "Bubblegum Sans", cursive; font-size: 22px; line-height: 1.1; color: #14272c; }
.ft-col li + li { margin-top: 8px; }
.ft-social { display: flex; gap: 10px; margin-top: 18px; }
.ft-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #206c83; box-shadow: 0 2px 8px rgba(20, 39, 44, 0.08); }
.ft-social a:hover { background: #f37720; color: #fff; }

.ft-trust { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; padding: 28px 0; border-bottom: 1px solid #e6e1d6; }
.ft-partners { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.ft-partners img { height: auto; max-height: 40px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.6; transition: opacity 0.2s ease, filter 0.2s ease; }
.ft-partners img:hover { filter: none; opacity: 1; }
.ft-cards { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ft-cards img { height: auto; border-radius: 6px; background: #fff; box-shadow: 0 1px 3px rgba(20, 39, 44, 0.12); }

.ft-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 24px; font-size: 14px; line-height: 20px; color: #5f6e6f; }
.ft-legal p { margin: 0 !important; }
.ft-legal-links { display: flex; gap: 20px; }
.ft-legal a { color: #3d4c50; }
.ft-legal a:hover { color: #206c83; }

@media only screen and (max-width: 1199px) {
  .ft-top { grid-template-columns: 1fr; gap: 40px; }
}
@media only screen and (max-width: 767px) {
  .ft-wrap { padding: 44px 20px 32px; }
  .ft-links { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ft-h { white-space: normal; } /* a heading may wrap rather than push the page wider than the phone */
  .ft-card { flex-direction: column; align-items: flex-start; }
  .ft-line small { display: block; white-space: normal; }
  .ft-line small::before { content: none; }
  .ft-trust { justify-content: flex-start; }
}
/* narrow phones: two columns of «Plan your trip» / «Campervan Iceland» / «Need something else?» no longer fit, one column */
@media only screen and (max-width: 399px) {
  .ft-links { grid-template-columns: 1fr; gap: 28px; }
}
