/* Add your css code here */
/*
Variable Definitions:
  --r-bg: Region background color. Sets the overall background color of the region wrapper.
  --r-tx: Region text color. Sets the default text color for all paragraph and inline text within the region.
  --r-h1: Region heading color. Specifically sets the color for headings (h1, h2, h3) within the region, allowing heading color control independently from body text.
  --r-lk: Region link color. Sets the color for anchor (<a>) links within the region in their normal (non-hover) state.
  --r-lk-h: Region link hover color. Sets the color of links within the region when hovered or focused, providing clear interactive feedback.
  --r-br: Region border color. Sets the border color for the region, useful for visual separation of sections.
  --r-bg-fr: Form background color within the region. Sets the background color specifically for input forms (e.g., login forms, search bars) within the region, enabling clear visual separation of form areas.
  --r-tx-lk: Menu link text color within the region. Sets the text color for menu links in navigation blocks or region-based menus, ensuring consistency with your theme’s navigation design.
  --r-tx-lk-h: Menu link hover text color within the region. Sets the hover or focus color for menu link text, aiding in clear navigation feedback for users.
  --r-bg-lk: Menu link background color within the region. Sets the background color of menu links in their normal state within the region for better menu styling control.
  --r-bg-lk-h: Menu link background hover color within the region. Sets the background color for menu links on hover/focus, ensuring clear user interaction indication.
  --r-tx-bt:  Button text color within the region. Sets the text color for buttons within the region (e.g., call-to-action buttons, form submit buttons).
  --r-tx-bt-h: Button text hover color within the region. Sets the text color for buttons when hovered/focused, providing interactive feedback.
  --r-bg-bt: Button background color within the region. Sets the background color for buttons in their normal state, aligning them visually with your design system.
  --r-bg-bt-h:  Button background hover color within the region. Sets the background color for buttons on hover/focus, improving interactivity and user experience.
*/

/*
Regions Names, each region has an ID and a Class with the same name.
You can use .page-wrapper or #page-wrapper
#page-wrapper {}
#primary-sidebar-menu {}
#fixed-search-block {}
#popup-login-block {}
#header {}
#primary-menu {}
#welcome-text {}

#top-container {}
#top-box-first {}
#top-box-second {}
#top-box-third {}

#system-messages {}
#breadcrumb {}
#page-title {}

#main-container {}
#sidebar-box-first {}
#sidebar-box-main {}
#sidebar-box-second {}

#bottom-container {}
#bottom-box-first {}
#bottom-box-second {}
#bottom-box-third {}
#bottom-box-fourth {}

#footer-container {}
#footer-box-first {}
#footer-box-second {}
#footer-box-third {}

#footer-menu {}
#copyright {}

Examples:

#page-wrapper {
  background-color: var(--r-bg);
  color: var(--r-tx);
  border-color: var(--r-br);
}

h1, h2, h3 {
  color: var(--r-h1);
}

a:not(li.nav__menu-item a) {
  color: var(--r-lk);
  color: var(--r-lk-h);
}

input:not(.button) {
  background-color: var(--r-bg-fr);
}

li.nav__menu-item a {
  color: var(--r-tx-lk);
  background-color: var(--r-bg-lk);
}

li.nav__menu-item a:hover {
  color: var(--r-tx-lk-h);
  background-color: var(--r-bg-lk-h);
}

button:not(li.nav__menu-item button) {
  color: var(--r-tx-bt);
  background-color: var(--r-bg-bt);
}

button:not(li.nav__menu-item button):hover {
  color: var(--r-tx-bt-h);
  background-color: var(--r-bg-bt-h);
}
https://www.drupal.org/docs/extending-drupal/themes/contributed-themes/solo/instructions-for-developers-on-using-colors-in-solo-theme
*/
#block-solo-subtheme-exposedformferries-timetablespage-1 {
    margin-bottom: 20px;
}
.ferry-departure-card {
  width: 100%;
  box-sizing: border-box;
  /*padding: 12px;*/
  margin-bottom: 15px;
  background: #f9f9f9;
  border: 1px solid #dde9ff;
  border-radius: 10px;
  box-shadow: 0px 3px 7px #ddd;
}
.ferry-header {
  display: flex;
  align-items: center;
  gap: 12px;
  /*margin-bottom: 15px;*/
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid #ddd;
  padding: 5px 10px;
  width: 100%
}
.ferry-operator-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.ferry-operator-name {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}
.ferry-columns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 2vw, 24px);
  background: white;
  padding: 12px;
}
.ferry-left,
.ferry-middle,
.ferry-right {
  flex: 1 1 0;
  min-width: 0;
}

.ferry-left,
.ferry-middle,
.ferry-right {
  display: flex;
  flex-direction: column;
}

.ferry-left {
  align-items: flex-start;
  gap: 6px;
}

.ferry-middle {
  align-items: center;
  text-align: center;
  gap: 8px;
}

.ferry-right {
  align-items: flex-end;
  gap: 6px;
}

.ferry-time,
.ferry-arrival {
  font-size: 25px;
  font-weight: 700;
  color: #000;
}

.ferry-origin,
.ferry-destination {
  font-size: clamp(12px, 1.5vw, 15px);
  overflow-wrap: anywhere;
  text-transform: capitalize;
}
.ferry-origin {
    background: #aee0ff;
    padding: 1px 5px;
    border-radius: 6px;
}
.ferry-origin a {
    display: block;
}
.ferry-destination {
    background: gold;
    padding: 1px 5px;
    border-radius: 6px;
}
.ferry-destination a {
    display: block;
}    
.ferry-arrow {
  width: 100%;
  text-align: center;
  font-size: 30px;
  line-height: 1;
  color: #2583c5;
  font-weight: 400;
}

.ferry-duration {
  font-size: 13px;
}

.ferry-vessel {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.ferry-duration {
  color: #687386;
}

.ferry-departure-card a {
  color: #000;
  text-decoration: none;
}
label, .field__label {
    font-weight: bold;
    font-size: 18px;
}
h1.page-title-text {
    padding-block: 0px;
}
@media (max-width: 480px) {

form.views-exposed-form.form--inline .form-actions input {
    width: 100%;
}
  .ferry-header {
  }
  .ferry-columns {
    gap: 8px;
  }

  .ferry-time {
    font-size: 21px;
  }

  .ferry-origin,
  .ferry-destination {
    font-size: 11px;
  }
  .ferry-vessel,
  .ferry-duration {
    font-size: 11px;
  }
}


