/*
Theme Name: Hello Elementor Child
Description: Hello Elementor Child Theme
Author: Gatis Pavils
Template: hello-elementor
Version: 1.0.0
*/

/* =============================================================================
   1) CSS variables 
   2) Base elements / typography
   3) Links / interactive elements
   4) Header (branding, nav, language, search)
   5) Footer
   6) Content basics (page-content, headings, tables, details, captions)
   7) Components (beginning, video, dropie, shadow family, breadcrumbs, etc.)
   8) Layouts (columns, startpage, lists, maps, etc.)
   9) Media queries
   ============================================================================= */


/* =============================================================================
   1) CSS variables
   ============================================================================= */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, avenir next, avenir,
      segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto,
      arial, sans-serif;

  --font-serif: Iowan Old Style, Apple Garamond, Baskerville,
      Times New Roman, Droid Serif, Times, Source Serif Pro, serif,
      Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;

  --c-ink: #003a45;
  --c-accent: #efc402;
  --c-link-underline: #a1d6d6;
  --c-link-underline-hover: #f7edbc;
}


/* =============================================================================
   2) Base elements / typography
   ============================================================================= */
body {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: .01rem;
}

/* Elements that should use the sans-serif UI font */
h1, h2, h3, h4, h5, h6,
.site-navigation,
.valoda,
button,
#searchsubmit,
.br,
.wm-map-btn,
.tcplace,
.tcplace2 {
  font-family: var(--font-sans);
}

p, li { font-size: 1rem; }

ul, ol { padding: 0; }


/* =============================================================================
   3) Links / interactive elements
   ============================================================================= */
/* Shared styling for summary + links */
summary,
a {
  color: var(--c-ink);
  text-decoration: none !important;
  border-bottom: 0.08em solid var(--c-link-underline);
  transition: color .2s ease-in-out, border-color .2s ease-in-out;
  line-height: 0.95;
  padding-bottom: 0;
}

summary:hover,
a:hover {
  color: var(--c-accent);
  border-bottom-color: var(--c-link-underline-hover);
}

/* Summary specifics */
summary {
  cursor: pointer;
  text-align: left;
}

/* Link specifics */
a {
  color: var(--c-ink) !important;
  font-weight: 700;
}

a:hover { color: var(--c-accent) !important; }

/* Don’t underline linked images */
a:has(> img),
a:has(> img):hover {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}


/* =============================================================================
   4) Header (branding, nav, language, search)
   ============================================================================= */

/* Utility: tags */
.tag-links { display: none; }

/* Search form (NOTE: this assumes search form is in the visible header,
   NOT inside head. If it’s still inside head, move it.) */
#searchform {
  margin: .8rem 15% 0 0;
  width: 15rem;
}

#s {
  border-color: #003A45;
  font-size: 1rem;
  line-height: 1.2;
  margin: .1rem;
  padding: .25rem;
  width: 50%;
}

#searchsubmit {
  background-color: #003A45;
  border: 0;
  border-radius: 3px;
  color: #FFF;
  cursor: pointer;
  font-size: .8rem;
  letter-spacing: .08rem;
  line-height: 1.3;
  padding: .4rem;
  text-transform: uppercase;
  width: 28%;
}

#searchsubmit:hover { background-color: var(--c-accent); }

/* Branding */
.site-branding {
  margin-left: 15%;
  transition: opacity .5s ease-in-out;
  width: 20rem;
}

.site-branding a {
  border-bottom: none !important;
  text-decoration: none !important;
}

.site-branding:hover {
  opacity: 0.75;
  transition: opacity .2s ease-in-out;
}

/* Navigation */
.site-navigation {
  display: flex;
  justify-content: right;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .05rem;
  text-transform: uppercase;
  width: 100%;
  z-index: 3;
}

.site-navigation a {
  border-bottom: none !important;
  text-decoration: none !important;
}

.site-navigation ul.menu li {
  border: 0;
  line-height: 1;
  margin: 4px 0;
}

.site-navigation ul.menu li:hover { transition: .3s ease-in-out; }

/* Language switcher text */
.valoda {
  text-align: right;
  color: #444;
  font-size: 0.6rem;
  letter-spacing: 2px;
  padding: 0 25px 2px 0;
}

/* Buttons (global) */
button {
  background-color: #003A45;
  border: 0;
  border-radius: 3px;
  color: #FFF;
  font-size: .8rem;
  letter-spacing: .08rem;
  line-height: 1.3;
  padding: .35rem .9rem;
  margin-left: 10px;
  text-transform: uppercase;
}

button:hover { background-color: var(--c-accent); }

/* Map button */
.wm-map-btn {
  background-color: #003A45;
  border: 0;
  border-radius: 3px;
  color: #FFF !important;
  font-size: .65rem;
  letter-spacing: .05rem;
  line-height: 1.1;
  padding: .2rem .4rem;
  margin-left: 5px;
  text-transform: uppercase;
  transition: background-color .3s ease-in-out;
  white-space: nowrap;
}

.wm-map-btn:hover {
  background-color: var(--c-accent);
  color: #FFF !important;
}


/* =============================================================================
   5) Footer
   ============================================================================= */
footer {
  background-color: var(--c-ink);
  margin-top: -35px;
  padding-left: 11%;
  transform: translateY(10px);
  width: 100%;
}

footer a {
  color: #a8d2dd !important;
  text-decoration-color: #0f9bb1;
}

footer a:hover { text-decoration-color: #5b5e07; }

/* Cookie / privacy info links */
.cc_more_info a {
  color: #61bec2 !important;
  text-decoration-color: #095c69;
}


/* =============================================================================
   6) Content basics – headings, tables, details, captions
   ============================================================================= */
.page-content { margin: 0 8%; }

h1, h2, h3, h4, h5, h6 {
  font-variant: petite-caps;
  letter-spacing: -1px;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; text-align: left; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.4rem; text-align: left; }
h5 { font-size: 1.2rem; }
h6 { font-size: .8rem; }

table { margin-top: 10px; }

th, td {
  border: 1px dotted #ddd !important;
  font-size: .9rem !important;
  padding: 1px 2px !important;
  vertical-align: middle !important;
}

th { text-align: left; }

.wp-caption-text { margin-bottom: -10px; }

details {
  background-color: #F8F8F8;
  border-bottom: 1px dashed #7A7A7A54;
  border-top: 1px dashed #7A7A7A54;
  clear: both;
  margin-top: 10px;
}

details li {
  margin: 5px 13px 0 20px;
  text-align: left;
}

p:last-child { margin-bottom: 0; }


/* =============================================================================
   7) Components
   ============================================================================= */

/* Beginning intro block */
.beginning {
  margin-bottom: 60px;
  text-align: center;
}

.beginning h1 {
  font-weight: 700;
  letter-spacing: -2px;
  margin-top: -20px;
}

.beginning h3 {
  clear: both;
  color: #444;
  font-size: 1rem;
  letter-spacing: 5px;
  margin-top: -15px;
}

.beginning img {
  border-radius: 2px;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.02),
      12px 5px 15px -12px rgba(0, 0, 0, 0.15),
      0 12px 15px -12px rgba(0, 0, 0, 0.1),
      -12px 5px 15px -12px rgba(0, 0, 0, 0.15);
  margin-top: -23px;
  position: relative;
  z-index: 1;
}

.beginning .wp-caption-text { margin: .5rem .2rem 0 .2rem; }

.beginning-border {
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 23px solid #fff;
  display: block;
  height: 0;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 0;
  z-index: 2;
}

/* Video embeds */
.video-container {
  position: relative;
  margin-top: -23px;
  padding-bottom: 56.25%;
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* Drop-image layout */
.dropie { text-align: justify; }

.dropie img {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.dropie h6 {
  font-size: 1rem;
  margin: 40px 40px 0 1% !important;
}

.dropieimg {
  border: solid 1px #0000000D;
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  float: right;
  margin: 10px 5% 10px 30px;
  padding: 0;
  width: 50%;
}

li .dropieimg {
  float: right;
  margin: 10px 0 10px 30px;
  padding: 0;
  width: 60%;
}

.dropieimg img,
.dropienarr img { margin: 0 !important; }

.dropieimg figcaption,
.dropienarr figcaption {
  font-size: .9em;
  margin-left: 10px;
  padding: 9px 55px 0 0;
  text-align: left;
}

.dropienarr {
  border: solid 1px #0000000D;
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  float: left;
  margin: 10px 10px 10px 37px;
  padding: 0;
  width: 26%;
}

/* Inner-column container */
.insidecolumn { padding: 42px 10% 0 10%; }
.insidecolumn p { margin: 15px 0; }

/* Shadow blocks */
.shadow {
  clear: both;
  border: solid 1px #0000000D;
  border-bottom: none;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  box-shadow: 0 -12px 15px -12px rgba(0, 0, 0, 0.02),
      12px 1px 15px -12px rgba(0, 0, 0, 0.08),
      0 0 0 0 rgba(0, 0, 0, 0.05),
      -12px -1px 15px -12px rgba(0, 0, 0, 0.08);
  margin-top: 50px;
  padding: 40px 10% 20px 10%;
}

/* Drop cap */
.shadow p:first-of-type:first-letter,
.dropie p:first-of-type:first-letter,
.insidecolumn p:first-of-type:first-letter,
.drop {
  color: var(--c-accent);
  float: left;
  font-size: 3rem;
  line-height: 35px;
  margin: 0 3px 0 -5px;
  padding: 5px;
}

.shadowfull {
  border: solid 1px #0000000D;
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
  padding: 70px 10% 50px 10%;
}

/* Left/right shadow blocks */
.shadowleft {
  border: solid 1px #0000000D;
  border-bottom-left-radius: 8px;
  border-top-left-radius: 8px;
  box-shadow: -1px -12px 25px -12px rgba(0, 0, 0, 0.02),
      -5px -3px 18px -23px rgba(0, 0, 0, 0.01),
      1px 12px 25px -15px rgba(0, 0, 0, 0.05),
      -12px -3px 25px -2px rgba(0, 0, 0, 0.02);
  margin: 0 0 30px 0;
  text-align: justify;
}

.shadowleft h2 { margin: 0; }

.shadowleft h4 {
  font-size: 1.3rem;
  margin: 20px 0 10px 0;
}

.shadowright,
.shadowright2 {
  border: solid 1px #0000000D;
  border-bottom-right-radius: 8px;
  border-left: none;
  border-top-right-radius: 8px;
  box-shadow: -1px -12px 25px -12px rgba(0, 0, 0, 0.02),
      12px -3px 25px -2px rgba(0, 0, 0, 0.02),
      1px 12px 25px -15px rgba(0, 0, 0, 0.05),
      -5px -3px 18px -23px rgba(0, 0, 0, 0.01);
  margin: 0 0 30px -1px !important;
  text-align: justify;
}

.shadowright h4 {
  margin-top: 55px;
  padding: 0 10px 10px 30px;
}

.shadowright p { padding: 0 20px 0 40px; }

.shadowright2 h2 {
  font-size: 1.6rem;
  margin: -8px 0 0 0;
}

.shadowright2 h4 {
  font-size: 1.3rem;
  margin: 20px 0 10px 0;
}

/* Two-sided blocks in Gutenberg columns */
.wp-block-columns:has(> .wp-block-column.shadowleft):has(> .wp-block-column.shadowright) {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
}

.wp-block-columns:has(> .wp-block-column.shadowleft):has(> .wp-block-column.shadowright)
> .wp-block-column {
  flex: 0 0 50%;
  max-width: 50%;
}

/* Linked-articles header */
.shadowtop { display: inline; }
.shadowtop img { margin: 0 20px 0 -30px; }
.shadowtop h2 { float: left; margin: 0 10% 30px 0; width: 100%; }
.shadowtop p { margin: 20px 5% 0 5%; text-align: justify; }
.shadowtop h4 { margin: 40px 40px 0 1%; }

.shadowtop h5, .shadowtop h6 { margin: 40px 40px 0 5%; }

.shadowtop ul, .shadowtop ol { margin: 1rem 5% 0 12%; }

/* Shadowdown */
.shadowdown {
  border: solid 1px #0000000D;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top: none;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.05),
      12px 3px 15px -12px rgba(0, 0, 0, 0.08),
      0 18px 15px -12px rgba(0, 0, 0, 0.02),
      -12px 3px 15px -12px rgba(0, 0, 0, 0.08);
  margin: -50px 0 50px 0;
  padding: 0 12px 20px 12px !important;
  text-align: center;
}

.shadowdown:not(:first-child) { margin-left: 4%; }

/* Linked-articles cards */
.shadowdown2 {
  border: solid 1px #0000000D;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top: none;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.05),
      12px 3px 15px -12px rgba(0, 0, 0, 0.08),
      0 18px 15px -12px rgba(0, 0, 0, 0.02),
      -12px 3px 15px -12px rgba(0, 0, 0, 0.08);
  display: inline-block !important;
  vertical-align: top;
  box-sizing: border-box;
  width: 31.3%;
  margin: -15px 3% 50px 0;
  padding: 0 0 10px 0 !important;
  text-align: center;
  font-size: 1rem;
}

.shadowdown2:last-of-type { margin-right: 0; }

.wp-block-columns:has(> .shadowdown2) { font-size: 0; }

.shadowdown2 img { width: 100%; }
.shadowdown2 p, .shadowdown2 h3, .shadowdown2 h4 { padding: 0 20px; }

.shadowdown2 h4,
.shadowdown h4 {
  font-size: 1.2rem;
  text-align: center;
}

.shadowdown2 figcaption {
  font-size: .75rem;
  padding: 0 3%;
}

.shadowdownfull {
  box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.05),
      12px 3px 15px -14px rgba(0, 0, 0, 0.1),
      0 18px 15px -14px rgba(0, 0, 0, 0.05),
      -12px 3px 15px -14px rgba(0, 0, 0, 0.1);
  padding: 0 10% 50px 10%;
}

/* Detail blocks */
.detail {
  border-top: 1px dashed #7A7A7A54;
  clear: both;
  margin-bottom: 0;
}

.detailleft {
  background-color: #F8F8F8;
  padding: 0 !important;
}

.detailleft h5, .detailleft h6 {
  margin: 0 !important;
  padding: 0 0 0 20px !important;
}

.detailleft img { padding: 5px 0; }

.detailright {
  float: right;
  padding-top: 5px;
  text-align: center;
}

/* Breadcrumbs */
.breadcr {
  border-radius: 8px;
  border-top: solid 1px #0000000D;
  box-shadow: 0 -12px 15px -12px rgba(0, 0, 0, 0.02),
      12px -3px 15px -12px rgba(0, 0, 0, 0.09),
      0 0 0 0 rgba(0, 0, 0, 0.05),
      -12px -3px 15px -12px rgba(0, 0, 0, 0.09);
  padding: 14px 1% 50px 1%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.breadcr .br {
  color: #333;
  font-size: .55em;
  font-weight: 500;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
}

.breadcr .br a,
.breadcr .br span {
  display: inline-flex;
  align-items: baseline;
  margin: 0;
}

.breadcr .br a {
  border-bottom: 0.08em solid var(--c-link-underline) !important;
  padding: 0 1px;
}

.breadcr .brleft { justify-content: flex-start; }
.breadcr .brright { justify-content: flex-end; text-align: right; }

.breadcr .brleft > * + *::before {
  content: "›";
  display: inline-block;
  padding: 0 0.5em;
}

.breadcr .brright > *:not(:last-child)::after {
  content: "‹";
  display: inline-block;
  padding: 0 0.5em;
}


/* =============================================================================
   8) Layouts (startpage, lists, columns, maps, ratings)
   ============================================================================= */

/* Startpage */
.startpage {
  clear: both;
  display: flex;
  margin: 40px 0 80px 0;
}

.startmap {
  clear: both;
  margin: 0 7% 30px 0;
  text-align: center;
}

.startmap h1 { font-size: 1.4em; }

.introleft { float: left; width: 66%; }
.introright { float: left; width: 33%; }

/* Latest / News / Shadowlist */
.latest,
.news,
.shadowlist {
  border: solid 1px #0000000D;
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
}

.latest {
  max-width: 300px;
  padding: 15px 0 30px 0;
}

.latest h2 {
  font-size: 1.2em;
  margin: 0 3% 15px 5%;
  width: 100%;
}

.latestarticle {
  border-top: 1px dashed #7A7A7A54;
  clear: both;
  margin: 0 !important;
}

.latestarticle img { margin: 0 !important; }

.latestarticle figcaption {
  font-size: .75rem;
  padding: 0 3% 0 6%;
}

.latestarticle h5 {
  font-size: 1em;
  margin: 15px 3% 10px 6%;
}

.latestarticle h6 {
  color: #444;
  font-style: italic;
  text-align: left;
  margin-left: 6%;
}

.latesttext {
  font-size: .9em;
  line-height: 1.2;
  padding: 7px 6% 0 6%;
  text-align: justify;
}

.news {
  margin-right: 7%;
  padding: 15px 0 30px 0;
}

.news h2 {
  font-size: 1.2em;
  margin: 0 3% 20px 5%;
  width: 100%;
}

.shadowlist {
  margin: 40px 0 50px 0;
  padding: 70px 0 0 0;
}

.shadowlist h4 {
  clear: both;
  font-size: 1.6rem;
  font-weight: 900;
  margin: 50px 0 30px;
  text-align: center;
}

.shadowlisttop { clear: both; display: inline; }
.shadowlisttop img { margin: 0 20px 0 -30px; }
.shadowlisttop h2 { float: left; margin: 0 10% 30px 10%; }

/* Multi-column content layouts */
.threecolumns {
  border-top: 1px dashed #7A7A7A54;
  clear: both;
  display: flex;
  margin: 0 !important;
}

.threecolumns1 { width: 10%; padding-left: 6px; }
.threecolumns2 { padding: 0 20px 30px 0; text-align: justify; width: 50%; }
.threecolumns3 { width: 40%; }

.threecolumns1 h6 { color: #dc4848; font-size: 3em; }
.threecolumns2 h4 { margin: 15px 0; text-align: left; }

.threecolumns3 img,
.onecolumn img,
.newscol2 img,
.twocolumns2 img {
  box-shadow: 0 -12px 15px -12px rgba(0, 0, 0, 0.1),
      12px -3px 15px -12px rgba(0, 0, 0, 0.2),
      0 12px 15px -12px rgba(0, 0, 0, 0.1),
      -12px -3px 15px -12px rgba(0, 0, 0, 0.2);
}

.threecolumns3 img {
  float: right;
  margin-top: -1px;
  padding-bottom: 1px;
  vertical-align: top;
}

.threecolumns3 figcaption,
.twocolumns2 figcaption {
  font-size: .75rem;
  padding: 0 3% 0 1%;
}

.twocolumns {
  border-top: 1px dashed #7A7A7A54;
  clear: both;
  display: flex;
  margin: 0 !important;
}

.twocolumns h5 { margin: 0; text-align: left; }

.onecolumn {
  clear: both;
  display: flex;
  margin: 0 !important;
}

.onecolumn p { padding: 10px 25px 5px 10%; }

.onecolumn img {
  float: right;
  margin-top: -1px;
  vertical-align: top;
}

.onecolumn table {
  clear: both;
  margin: 20px 5px 10px 5px;
  border-style: hidden;
  box-shadow: 0 -12px 15px -12px rgba(0, 0, 0, 0.04),
      12px -3px 15px -12px rgba(0, 0, 0, 0.04),
      0 12px 15px -12px rgba(0, 0, 0, 0),
      -12px -3px 15px -12px rgba(0, 0, 0, 0.04);
}

.onecolumn tr { border-top: 1px dashed #7A7A7A54 !important; }

.onecolumn td {
  padding: 0 5px 5px 5px !important;
  border-left: 1px solid white !important;
  border-right: 1px solid white !important;
}

.onecolumn th {
  border: 1px solid white !important;
  border-radius: 3px;
  padding: 0 5px 5px 5px !important;
  background-color: #29a1a544;
  font-variant: small-caps;
  letter-spacing: 1px;
}

.onecolumn .tcp {
  margin-top: -10px;
  color: black;
  font-size: .8rem;
}

/* News columns */
.newscol {
  border-top: 1px dashed #7A7A7A54;
  display: flex;
  margin: 0 !important;
}

.newscol1 { float: left; padding: 10px 25px 5px 10%; width: 50%; }
.newscol1 p { line-height: 1.3; text-align: justify; }

.newscol2 { float: right; width: 50%; }
.newscol2 figcaption { font-size: .75rem; padding: 0 3% 0 1%; }

/* Two-column layout */
.twocolumns1 { float: left; padding: 10px 25px 5px 10%; width: 65%; }
.twocolumns1 p { line-height: 1.3; text-align: justify; }

.twocolumns2 { float: right; width: 35%; }

/* Tc place lines */
.tcp {
  color: #777;
  padding-left: 120px;
  margin-top: -15px;
  margin-bottom: 0 !important;
}

.tcplace {
  color: #444;
  font-size: .9em;
  font-style: italic;
  font-variant: all-small-caps;
  font-weight: 600;
  letter-spacing: -1px;
  margin-top: 5px !important;
}

.tcplace2 {
  color: #444;
  font-size: .7em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: .5em;
  margin-top: -2px !important;
}

/* Rate bar */
.rateBar { margin: 10px 0 0 0; }

.rateBarContainer {
  width: 100%;
  max-width: 110px;
  height: 6px;
  background: #29a1a599;
  overflow: hidden;
  border-radius: 5px;
}

.rateBarValue {
  height: 100%;
  background: #0c6768;
  transform: scaleX(calc(var(--rating, 0) / 100));
  transform-origin: left center;
  animation: rateFill 900ms ease-out both;
  will-change: transform;
}

@keyframes rateFill {
  from { transform: scaleX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .rateBarValue { animation: none; }
}


/* W-columns & category map */
.wcolumns {
  border-top: 1px dashed #7A7A7A54;
  clear: both;
  display: grid;
  grid-template-columns: 3fr 5fr 0;
  margin: 0 !important;
}

.wcolumns1 {
  background-color: #F8F8F8;
  padding: 8px 10% 5px 5%;
}

.wcolumns1 h6 { text-align: left; }

.wcolumns2 {
  font-size: .95rem;
  line-height: 1.4;
  padding: 11px 8% 5px 5%;
  text-align: justify;
}

.categorymap {
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.05),
      12px 3px 15px -12px rgba(0, 0, 0, 0.2),
      0 18px 15px -12px rgba(0, 0, 0, 0.1),
      -12px 3px 15px -12px rgba(0, 0, 0, 0.2);
  margin: -85px 0 50px 0;
  padding: 0 !important;
}

.categorymap img { width: 100%; }

/* Route columns & maps */
.mcolumns {
  border-top: 1px dashed #7A7A7A54;
  clear: both;
  display: grid;
  grid-template-columns: 3fr 5fr 0;
  margin: 0 !important;
}

.mcolumns1 {
  background-color: #F8F8F8;
  padding: 11px 10% 7px 31%;
}

.mcolumns1 h6 {
  font-size: 0.95rem;
  text-align: left;
}

.mcolumns2 {
  font-size: .95rem;
  padding: 11px 8% 7px 5%;
  text-align: justify;
}

.routemap {
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.05),
      12px 3px 15px -12px rgba(0, 0, 0, 0.2),
      0 18px 15px -12px rgba(0, 0, 0, 0.1),
      -12px 3px 15px -12px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  margin: -32px 0 50px 0;
  padding: 0;
}

/* OpenLayers attribution */
.ol-attribution * {
  font-size: 10px !important;
  font-family: Arial, sans-serif !important;
  color: #555 !important;
}


/* =============================================================================
   9) Media queries
   ============================================================================= */

/* Two-sided blocks: stack on mobile */
@media (max-width: 768px) {
  .wp-block-columns:has(> .wp-block-column.shadowleft):has(> .wp-block-column.shadowright) {
    display: block;
  }

  .wp-block-columns:has(> .wp-block-column.shadowleft):has(> .wp-block-column.shadowright)
  > .wp-block-column {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .shadowdown2 {
    width: 100%;
    margin: 0 0 30px 0;
    padding: 0 0 10px 0 !important;
  }

  .wp-block-columns:has(> .shadowdown2) {
    font-size: 1rem;
  }
}

/* max 1560px */
@media only screen and (max-width: 1560px) {
  .site-branding { margin: -4.2rem 0 0 0; }

  .site-navigation {
    font-size: 1rem;
    margin-right: 20% !important;
  }

  .onecolumn th {
    letter-spacing: 0;
    font-size: .9rem !important;
  }
}

/* max 1200px */
@media only screen and (max-width: 1200px) {
  .site-branding { width: 17rem; }

  .site-navigation {
    font-size: 1rem;
    margin-right: 20% !important;
  }

  .threecolumns1 h6 { font-size: 2.5em; }
  .threecolumns1 h4 { font-size: .6em; }

  .onecolumn th {
    letter-spacing: -1px;
    font-size: .85rem !important;
  }
}

/* max 1000px */
@media only screen and (max-width: 1000px) {
  .site-branding { width: 15rem; }

  .site-navigation {
    font-size: .9rem;
    margin-right: 10% !important;
    margin-top: -1rem !important;
  }

  .startpage {
    display: inherit;
    margin: 60px 0 80px 0;
  }

  .startmap { margin: 0; }
  .news { margin: 0 0 20px 0; }
  .latest { max-width: 100%; }

  .latesttop h2 { font-size: 1em; }
  .latestarticle h6 { margin-left: 3% !important; }

  .page-content { margin: 0; }

  .introleft, .introright {
    float: none;
    width: 100%;
  }

  .onecolumn th { font-size: .8rem !important; }

  /* Breadcrumbs: stack */
  .breadcr {
    flex-direction: column;
    align-items: flex-start;
  }

  .breadcr .br {
    font-size: .5em;
    flex-wrap: wrap;
    white-space: normal;
  }

  .breadcr .brright {
    margin-top: 10px;
    justify-content: flex-start;
    text-align: left;
    padding-bottom: 20px;
  }
}

/* max 760px */
@media only screen and (max-width: 760px) {
  .site-navigation {
    font-size: .75rem;
    margin-right: 7% !important;
  }

  .wp-block-column.shadowright,
  .wp-block-column.shadowleft {
    display: flow-root;
  }

  .travmap {
    float: none !important;
    width: 100% !important;
  }

  .shadowdown2:not(:first-child) { margin-left: 0; }

  .shadowdown:not(:first-child) {
    margin-left: 0;
    margin-top: -10px;
  }

  .threecolumns2 {
    float: left;
    line-height: 20px;
    width: 40%;
  }

  .rateBarContainer { width: 80%; }
  .tcp { padding-left: 120px; }

  .wm-map-btn { margin: 0; }
}

/* max 600px */
@media only screen and (max-width: 600px) {
  #searchform {
    margin-right: 4%;
    width: 14rem;
  }

  #s {
    font-size: .7rem;
    line-height: 1;
    padding: .18rem;
  }

  #searchsubmit {
    font-size: .6rem;
    line-height: 1;
    padding: .3rem;
    width: 28%;
  }

  .site-branding {
    margin: -3.7rem 0 0 5%;
    width: 12rem;
  }

  .site-navigation { margin-right: 11% !important; }

  .site-navigation ul.menu li {
    font-size: .9rem;
    padding: 2px 0 5px 0;
  }

  .beginning h1 { font-size: 1.5rem; }
  .beginning-border { opacity: 0; }

  .dropieimg { width: 92%; }

  .shadowdown { margin-top: -45px; }

  .travmap { float: right; width: 87%; }

  .shadowtop h4, .shadowtop h5, .shadowtop h6 { margin: 20px 2% 0 0; }

  .shadowlist h4 { font-size: 1.4rem; }

  .onecolumn { display: block; }

  .onecolumn p {
    font-size: .9em;
    line-height: 1.2em;
  }

  .onecolumn img {
    margin-top: 10px;
    width: 100%;
  }

  .twocolumns { display: block; }

  .twocolumns1 {
    display: block;
    float: none;
    width: 100%;
    padding-top: 20px;
  }

  .twocolumns1 p {
    font-size: .9em;
    line-height: 1.2em;
  }

  .twocolumns img {
    margin-top: 10px;
    width: 100%;
  }

  .twocolumns figcaption { padding: 0 2%; }

  .twocolumns2 {
    display: block;
    float: none;
    width: 82%;
    margin-left: 34px;
  }

  .threecolumns figcaption { padding: 0; }

  .threecolumns1 h6 {
    font-size: 1.6em;
    margin-top: 9px !important;
  }

  .threecolumns2 h4 { font-size: 1em; }

  .threecolumns3 { float: right; width: 50%; }

  .page-content { margin: 0 4% 0 0; }
}

/* max 480px */
@media only screen and (max-width: 480px) {
  #searchform {
    margin: 1rem auto 0 auto;
    width: 90%;
  }

  #searchsubmit {
    font-size: .7rem;
    margin-bottom: 14px;
    padding: .3rem 0 .4rem 0;
  }

  .site-branding {
    width: 80%;
  }

  .site-navigation {
    font-size: .75rem;
    letter-spacing: .04rem;
    margin-right: 1% !important;
  }
}