/* ==========================================================================
   Bednesti Lake Resort — Concrete 9 theme
   Recreates the 5.6 site's "Tiger Theme" look (charcoal + orange, 948px
   two-column layout). Everything is scoped under .site so the Concrete
   editing UI is left alone.
   ========================================================================== */

/* Open Sans (400/600/700) is loaded from Google Fonts in elements/header.php. */

:root {
    --ink: #2e2e2e;
    --accent: #fd4c02;
    --rule: #f4f4f4;
    --hover: #e8e8e8;
    --footer: #2e2e2e;
    --footer-bottom: #525252;
    --footer-text: #d7d7d7;
    --width: 948px;
    --gutter: 24px;
}

html { -webkit-text-size-adjust: 100%; }
body { margin: 0; padding: 0; background: #fff; -webkit-font-smoothing: antialiased; }

.site { font-family: 'Open Sans', Arial, sans-serif; font-weight: 400; color: var(--ink); line-height: 1; word-wrap: break-word; }
.site *, .site *::before, .site *::after { box-sizing: border-box; }
.site img { max-width: 100%; height: auto; border: 0; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; }
.skip-link:focus { left: 8px; top: 8px; }

/* Typography -------------------------------------------------------------- */
.site h1, .site h2, .site h3, .site h4, .site h5 { margin: 14px 0 12px; padding: 0; line-height: 1.1; font-weight: 400; text-rendering: optimizeLegibility; }
.site h1 { font-size: 30px; }
.site h2 { font-size: 23px; }
.site h3 { font-size: 22px; }
.site h4 { font-size: 20px; }
.site h5 { font-size: 18px; }
.site p { margin: 14px 0 0; padding: 0; font-size: 15px; line-height: 26px; }
.site ul, .site ol { margin: 14px 0 0; padding: 0; list-style-position: inside; line-height: 1.6; font-size: 15px; }
.site ul { list-style-type: square; }
.site ol { list-style-type: decimal; }

.site a { color: var(--accent); text-decoration: none; }
.site a:hover { border-bottom: 1px dashed var(--accent); }
.site a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.site a.ctaLink { display: block; width: 100%; padding: 6px 0; border: 1px solid var(--hover); border-left: 0; border-right: 0; transition: .4s ease; }
.site a.ctaLink:hover { margin-left: 4px; color: #282828; }
.site a.ctaLink::after { content: "\00a0 \2192"; }

.site .side-block-title { color: #fff; background: var(--accent); padding: 8px 12px; }
.site .side-block-title a { color: #fff; }
.site .big { font-size: 32px; line-height: 1.3; }

/* Header ------------------------------------------------------------------ */
.site-header { border-top: 10px solid var(--ink); }
.site-header__inner {
    max-width: var(--width); margin: 0 auto 24px; padding: 0 var(--gutter);
    min-height: 130px; display: flex; justify-content: space-between; align-items: flex-start;
    border-bottom: 1px solid var(--rule);
}
.logo { display: block; width: 200px; margin: 10px 0; }
.logo:hover { border: 0 !important; }
.logo img { display: block; width: 200px; height: auto; }

.site-nav ul { display: flex; margin: -10px 0 0; padding: 0; list-style: none; }
.site-nav li {
    margin: 0; position: relative; font-size: 16px; line-height: 28px; font-weight: 600;
    border-top: 10px solid var(--ink); transition: background 1s ease-in-out;
}
.site-nav li a { display: inline-block; padding: 40px 18px; color: var(--ink); text-transform: uppercase; transition: color 1s ease-in-out; }
.site-nav li a:hover { color: var(--accent); border-bottom: 0; }
.site-nav li:hover { background-color: var(--hover); }
.site-nav li.nav-selected a { color: var(--accent); }
.site-nav li.nav-path-selected { border-top-color: var(--accent); background-image: url('../images/bg-stripe.png'); }
.site-nav li.nav-path-selected:hover { background-color: #fff; }
.site-nav li ul { display: none; }

/* Layout ------------------------------------------------------------------ */
.site-main { max-width: var(--width); margin: 0 auto; padding: 0 var(--gutter); }
/* Old Foundation eight/four columns: 584px + 268px with a 48px gutter. */
.layout { display: grid; grid-template-columns: minmax(0, 584fr) minmax(0, 268fr); column-gap: 48px; }
.layout--full { grid-template-columns: 1fr; }
.layout__main { margin-bottom: 24px; min-width: 0; }
.layout__sidebar { margin-bottom: 24px; min-width: 0; }
.layout__main > :first-child > :first-child,
.layout__sidebar > :first-child > :first-child { margin-top: 14px; }

@media (min-width: 948px) {
    .layout__main { min-height: 560px; }
}

/* Slideshow (application/blocks/image_slider/view.php) ---------------------- */
.slider {
    margin-bottom: 12px; padding-bottom: 2.5%;
    background: url('../images/slider-shadow.png') no-repeat bottom center; background-size: 100%;
}
.slideshow { position: relative; height: clamp(240px, 45vw, 400px); overflow: hidden; background: #e8e8e8; }
.slideshow__slide { position: absolute; inset: 0; margin: 0; opacity: 0; z-index: 1; }
.slideshow__slide.is-active { opacity: 1; z-index: 2; }
.slideshow.is-animated .slideshow__slide { transition: opacity var(--fade, 2000ms) ease; }
.slideshow__slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; max-width: none; }
.slideshow__slide a:hover { border: 0; }
@media (prefers-reduced-motion: reduce) {
    .slideshow.is-animated .slideshow__slide { transition: none; }
}

/* Maps -------------------------------------------------------------------- */
.map-embed { position: relative; height: 400px; margin-top: 0; background: #e8e8e8; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Footer ------------------------------------------------------------------ */
.site-footer { margin-top: 48px; padding-top: 48px; background: var(--footer); color: var(--footer-text); }
.site-footer__columns {
    max-width: var(--width); margin: 0 auto; padding: 0 var(--gutter);
    display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 48px;
}
.site-footer__column > :first-child > :first-child { margin-top: 0; }
.site-footer h2, .site-footer h3 { color: var(--footer-text); }
.site-footer p { font-size: 14px; }
.site-footer__bottom { margin-top: 48px; padding: 12px; background: var(--footer-bottom); }

.site-footer__credit { max-width: var(--width); margin: 0 auto; padding: 5px var(--gutter); display: flex; justify-content: flex-end; align-items: center; height: 40px; }
.site-footer__credit a { display: block; height: 30px; padding: 0 9.9px; opacity: .6; }
.site-footer__credit a:hover, .site-footer__credit a:focus-visible { opacity: .9; border: 0; }
.site-footer__credit img { height: 30px; width: auto; display: block; filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, .35)); }
/* admin.svg is a sprite: white play button below, green above. */
.site-footer__credit #Admin { width: 40px; overflow: hidden; position: relative; padding: 0; margin-left: 9.9px; }
.site-footer__credit #Admin img { height: 60px; max-width: none; position: absolute; left: 0; top: -30px; }
.site-footer__credit #Admin:hover img, .site-footer__credit #Admin:focus-visible img { top: 0; }

/* Under 948px: centred header, stacked nav --------------------------------- */
@media (max-width: 947px) {
    .site-header__inner { flex-direction: column; align-items: center; min-height: 0; text-align: center; }
    .logo { width: auto; margin: 25px auto; }
    .logo img { width: 437px; max-width: 100%; }
    .site-nav ul { margin: 0 0 12px; justify-content: center; flex-wrap: wrap; }
    .site-nav li, .site-nav li.nav-path-selected { border-top: 0; }
    .site-nav li a { padding: 12px 25px; font-size: 14px; }
}

/* Under 768px: single column ---------------------------------------------- */
@media (max-width: 767px) {
    .logo { margin: 25px auto 10px; }
    .site-header__inner { border-bottom: 0; }
    .layout, .site-footer__columns { grid-template-columns: 1fr; }
    .site-footer__column + .site-footer__column > :first-child > :first-child { margin-top: 24px; }
    .site-footer__credit { justify-content: center; }
}

@media print {
    .site-nav, .slider, .site-footer__bottom { display: none; }
}
