/* ─────────────── GENERAL ─────────────── */

/* 💬 Hide author box */
.author-box {
  display: none;
}

/* 📄 White container with spacing below the menu bar (home page only) */
.home .site-main {
  background-color: #ffffffff;
  margin-top: 15px; /* shows the background image */
  padding-top: 0;
}

/* 🖼️ First article: no double spacing + white above the image */
.home .inside-article:first-of-type,
.home .inside-article:first-of-type .entry-header {
  margin-top: 0;
  padding-top: 4px;
  background-color: #ffffffff;
}

/* 🧼 Hide empty H1 on the home page */
.home .page-title {
  display: none;
  margin: 0;
  padding: 0;
}

/* 📚 Standard spacing for articles */
.inside-article {
  margin: 30px 0;
}

.inside-article h2 {
  margin: 50px 0 30px;
}

.single .inside-article {
  margin: 40px 0 50px;
}

/* ─────────────── photo ─────────────── */

.inside-article figure.wp-block-image {
  margin-top: 45px;
  margin-bottom: 40px;
}

.inside-article figure.wp-block-image img {
  margin-top: 0;
  margin-bottom: 0;
  display: block;
}

.inside-article figure.wp-block-image figcaption {
  margin-top: 5px; /* narrow distance to the caption */
}


/* ─────────────── BUTTON STYLING ─────────────── */

/* 🟦 Button (e.g. "Load more posts") */
.wp-block-button__link {
  background-color: #384b0c !important; /* Dark blue */
  colour: #ffffff !important; /* White text */
  padding: 10px 25px !important;
  border-radius: 30px !important;
  font-size: 15px;
  width: 50% !important; /* 50 % width */
  margin: 30px auto !important; /* centred */
  text-align: centre;
  display: block !important;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

/* hover state */
.wp-block-button__link:hover {
  background-color: #f4e7c4 !important; /* Light blue on hover */
  colour: #384b0c !important; /* Dark blue font */
}


/* ─────────────── MENU STYLING ─────────────── */

.main-navigation li a {
  border: 1px solid #ffffffff; /* white border around all menu links */
  font-size: 168x;
	padding: 6px 12px;
  margin: 0 4px;
  border-radius: 4px;
  display: inline-block;
  colour: #ffffffff; /* default text colour: white */
  text-decoration: none;
  transition: all 0.3s ease; /* smooth transition on hover */
}

.main-navigation li a:hover {
  background-color: #ffffff; /* Hover background: white */
  color: #cc0000; /* hover-font: italian-red */
  border-color: #cc0000; /* red border on hover */
}
.main-navigation .sub-menu a {
  font-size: 18px !important;
}

/* ─────────────── EXCERPT ─────────────── */

/* 🧩 Newspack article preview: Font smaller + narrower */
.wp-block-newspack-blocks-homepage-articles p {
  font-size: 0.85em !important;
  line-height: 1.3 !important;
  colour: #333333 !important;
  margin-bottom: 0.5em !important;
}

@media screen and (max-width: 768px) {
  .wp-block-newspack-blocks-homepage-articles p {
    font-size: 0.9em !important;
    line-height: 1.35 !important;
  }
}



/* Date in white in the highlighted articles */
.wp-block-newspack-blocks-homepage-articles:first-of-type article:nth-of-type(-n+3) .entry-meta,
.wp-block-newspack-blocks-homepage-articles:first-of-type article:nth-of-type(-n+3) .entry-meta a,
.wp-block-newspack-blocks-homepage-articles:first-of-type article:nth-of-type(-n+3) time {
  colour: #ffffff !important;
}

.main-navigation .main-nav ul ul li {
  margin-bottom: 6px; /* space between dropdown menu items */
}

.main-navigation .main-nav &gt; ul &gt; li {
  margin-bottom: 8px; /* spacing between main menu items */
}

.wp-block-gallery,
.gallery
{
  margin-top: 40px;
  margin-bottom: 35px;
}

h3 {
  margin-top: 40px;
  margin-bottom: 20px;
}

/* grey lines above the quiz button */
.qsm-quiz-container .qsm-question-container &gt; hr {
    display: none !important;
}

.qsm-quiz-container hr {
    display: none !important;
}

/* ✅ start-button (#384b0c) */
.qsm-start-button {
    background-color: #384b0c !important;
    colour: #ffffff !important;
    font-family: 'Libre Franklin', sans-serif !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 8px !important;
    display: block;
    margin: 0 auto;
}

.qsm-main {
    margin-top: 20px !important;
}
.qsm-quiz-container {
    padding-top: 10px !important;
}

.inside-article .qsm-question-answers label,
.inside-article .qsm-question-answers label span,
.inside-article .qsm-question-answers input[type="radio"] + label span,
.inside-article .qsm-question-answers input[type="checkbox"] + label span {
    font-size: 20px !important;
    line-height: 1.6 !important;
    display: inline-block !important;
    colour: #222 !important;
}

.qsm-input-label {
    font-size: 20px !important;
    line-height: 1.6 !important;
    colour: #222 !important;
    display: inline-block;
}

a.cover-full-link {
  display: block;
  position: relative;
  text-decoration: none;
}

a.cover-full-link::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}

.map-square,
.map-square .leaflet-container,
.leaflet-container[style] {
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.leaflet-map + script + p {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.leaflet-map + script + br {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Vote button horizontal, centre, normal */
.crowdsignal-forms-poll__block-button .wp-block-button__link {
    writing-mode: horizontal-tb !important;
    transform: none !important;
    padding: 10px 20px !important;
    height: auto !important;
    width: auto !important;
    white-space: nowrap !important;
    display: inline-block !important;
    font-size: 16px !important;
    text-align: centre !important;
}

/* Button container centred, horizontally aligned */
.crowdsignal-forms-poll__actions {
    display: flex !important;
    justify-content: centre !important;
    align-items: centre !important;
    flex-direction: row !important;
}

/* Hide branding text (crowdsignal link) */
.crowdsignal-forms-poll__vote-branding {
    display: none !important;
}

.crowdsignal-forms-poll__vote-branding,
.crowdsignal-forms__footer-branding {
    font-size: 11px !important;
    opacity: 0.4 !important;
    text-align: centre !important;
    margin-top: 10px;
}

a.customise-unpreviewable {
    display: block;
    margin-top: 35px;
    margin-bottom: 35px;
}

.wp-block-embed,
.wp-block-embed-youtube,
iframe[src*="youtube"],
iframe[src*="skylinewebcams"] {
  display: block;
  margin-top: 35px;
  margin-bottom: 35px;
}

.wp-block-embed img,
.wp-block-image img {
  margin-top: 35px;
  margin-bottom: 35px;
  display: block;
}

a[href*="skylinewebcams"] img {
  display: block;
  margin-top: 50px;
  margin-bottom: 50px;
}