/* @font-face {

    font-family: "Helvetica Now Display";

    src: url('/assets/fonts/cityofsydney/f0cbab32-010c-4ff1-8be8-7d74011f2548.woff2') format("woff2"),

        url('/assets/fonts/cityofsydney/79e75c13-a7cb-4154-83dc-4dfb2aec1b11.woff') format("woff");

    font-weight: 700;

    font-display: swap;

}

@font-face {

    font-family: "Helvetica Now Text";

    src: url('/assets/fonts/cityofsydney/46dd84ea-bb96-46da-973b-d7fcca46437e.woff2') format("woff2"),

        url('/assets/fonts/cityofsydney/0fb90058-c064-40ed-8109-d1fd8633caa2.woff') format("woff");

    font-weight: 400;

    font-display: swap;

}



@font-face {

    font-family: 'Helvetica Now Display';

    src: url('/assets/fonts/cityofsydney/284e66f2-886a-4e0f-a801-ff7b25fd52af.woff2') format('woff2'),

        url('/assets/fonts/cityofsydney/cd6178ba-ad0f-4cd3-8f0c-05b2c51b9bc7.woff') format('woff');

    font-weight: 300;

    font-display: swap;

}



@font-face {

    font-family: 'Helvetica Now Micro';

    src: url('/assets/fonts/cityofsydney/b8421fb4-cff3-4723-b650-b08140b93f9b.woff2') format('woff2'),

        url('/assets/fonts/cityofsydney/1d80ac7a-9ba4-4037-94b2-64b1ecd8ee58.woff') format('woff');

    font-weight: 400;

    font-display: swap;

}



@font-face {

    font-family: 'Helvetica Now Micro';

    src: url('/assets/fonts/cityofsydney/21dccc15-7fcb-4c2b-bc15-2ce6b1d9407b.woff2') format('woff2'),

        url('/assets/fonts/cityofsydney/dd6b493f-97c7-4d83-beb0-35ab4d4cb1d2.woff') format('woff');

    font-weight: 700;

    font-display: swap;

} */



:root {
    --body-font: Arial, Helvetica, sans-serif;
    --body-sub-fonts: Arial, Helvetica, sans-serif;
    --body-font-weight: 100;
    --body-sub-font-weight: 100;

    /* be prepared/recovery declarations */
    --bpar-prepared-bg: #faf8f0;
    --bpar-recovery-bg: #eef2f8;
    --bpar-tile-radius: 6px;
    --bpar-tile-border: 1px solid #e0e0d8;
    --bpar-tile-border-recovery: 1px solid #d4dce8;
    --bpar-navy: #0B2740;
    --bpar-white: white;
    --bpar-gap: 16px;

    /* weather obs - smart beaches */
    --sb-dark: rgba(20, 35, 48, 0.88);
    --sb-dark-solid: #152330;
    --sb-tile-bg: rgba(20, 35, 48, 0.4);
    --sb-border: rgba(255, 255, 255, 0.12);
    --sb-tab-active: #2aa8d4;
    --sb-text: #ffffff;
    --sb-muted: #a8bfce;
    --sb-gap: 10px;
    --sb-radius: 6px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
th,
td,
tr {
    font-family: Arial, Helvetica, sans-serif !important;
}

.mapboxgl-ctrl-top-right .mapboxgl-ctrl{float: left}
.mapboxgl-ctrl-top-right{
    /* right: 0; */
    left: 5px !important;
    margin-right: auto;
}

/* Map layer control: pin to the top-right corner of the map, opposite the
   top-left search bar. Randwick-only — other councils keep the default position. */
.layer-control-container {
    top: 10px;
    right: 20px;
}

body {
    background-color: #f9f9f900;
}

/* .overlay-text-subheader.randwick-dashboard{
    font-family: "Helvetica Now Text" !important;
} */

/* font weights for randwick */
.randwick-agnecyContacts-tiles-wrapper h3,
.hero-content.randwick-dashboard h2,
.randwick-radio-tiles-wrapper h3,
.randwick-social-tiles-wrapper h3,
.bpar-section-heading {
    font-weight: 700 !important;
}

/* disable uppercase for randwick */
.randwick-agnecyContacts-tiles-wrapper h3,
.randwick-radio-tiles-wrapper h3,
.randwick-social-tiles-wrapper h3,
.bpar-section-heading {
    text-transform: none;
    font-size: 38px;
    font-style: normal;
}

/* emergency contact h3 or important contacts h3 */
.randwick-agnecyContacts-tiles-wrapper.tiles_headings h3{
    padding-left:0;
}

/* make header sticky  */
.council-logo {
    position: sticky;
    top: 0;
    z-index: 9999;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.council-logo.header-hidden {
    transform: translateY(-100%);
}

.council-logo.header-scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* end of sticky */

/* hamburger menu */
.hamburger-menu-header img {
    
    width: 150px;
    padding-left: 20px;
    margin-bottom: 20px;
}

/* ── Hamburger Button ─────────────────────────────────────────────────────── */
.hamburger-btn {
    background: rgba(30, 118, 157) !important;
    border-radius: 4px;
    position: fixed;
     top: 10px;
  right: 20px;
  z-index: 9999;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;
    /* width: 40px; */
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
    flex-shrink: 0;
}


.hamburger-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
   
}

.hamburger-label{ color: white;}
/* The 3 bars */
.hamburger-line {
    
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Animate into X when open */
.hamburger-btn.open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Menu Side Panel ──────────────────────────────────────────────────────── */
.hamburger-menu {
    position: fixed;
    top: 0;
    left: unset;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 10000;
    overflow-y: auto;
    padding-top: 60px;
}

.hamburger-menu.open {
    transform: translateX(0);
}

/* ── Overlay ──────────────────────────────────────────────────────────────── */
.hamburger-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
}

.hamburger-overlay.open {
    display: block;
}

/* ── Menu List ────────────────────────────────────────────────────────────── */
.hamburger-menu-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.hamburger-menu-item {
    border-bottom: 1px solid #f0f0f0;
}

.hamburger-menu-item:last-child {
    border-bottom: none;
}

/* ── Menu Links ───────────────────────────────────────────────────────────── */
.hamburger-menu-link {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.hamburger-menu-link:hover,
.hamburger-menu-link.active {
    border-left-color: #D87E00;
    background-color: #fdfaf3;
    color: #1a1a2e;
}

/* end of hamburger menu  */


/* google translate custom */
.gt-wrapper {
    margin-left: auto;
    margin-right: 80px;
}

.VIpgJd-ZVi9od-ORHb-OEVmcd.skiptranslate {
    display: none;
}

/* .randwick-google-widget {
    /* position: sticky !important; *
    position: sticky;
  top: 0;
  margin-left: auto;

} */
.randwick-google-widget {
position: fixed;
  top: 10px;
  right: 50px;
  z-index: 9999;
}

/* ─── Hide the real Google iframe widget ─── */
#google_translate_element {
    display: none !important;
}

.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

/* ─── Trigger Button ─── */
.gt-trigger {
    
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 10px 3px 10px;
    background: rgb(236, 244, 252);
    border: 1.5px solid rgb(199, 216, 232);
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    user-select: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    transition: border-color .18s, box-shadow .18s;
    position: relative;
    min-width: 170px;
    height: 40px;
    justify-content: space-between;
}

.gt-label {
    color: rgb(13, 98, 157);
}

.gt-trigger:hover {
    border-color: #4285f4;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.18);
}

.gt-trigger.open {
    border-color: #4285f4;
    box-shadow: 0 2px 10px rgba(66, 133, 244, 0.22);
}

/* Google "G" logo */
.gt-logo {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Chevron */
.gt-chevron {
    width: 16px;
    height: 16px;
    margin-left: 2px;
    color: #5f6368;
    transition: transform .2s;
    flex-shrink: 0;
}

.gt-trigger.open .gt-chevron {
    transform: rotate(180deg);
}

/* ─── Dropdown Panel ─── */
.gt-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0px;
    min-width: 220px;
    background: rgba(42, 58, 75, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32), 0 2px 8px rgba(0, 0, 0, 0.18);
    z-index: 9999;
    animation: dropIn .18s ease;
}

.gt-dropdown.open {
    display: block;
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gt-dropdown-inner {
    max-height: 360px;
    overflow-y: auto;
    padding: 6px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.gt-dropdown-inner::-webkit-scrollbar {
    width: 4px;
}

.gt-dropdown-inner::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* Each language option */
.gt-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    transition: background .12s;
    white-space: nowrap;
}

.gt-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.gt-option.selected {
    color: #fff;
    font-weight: 500;
}

.gt-option.selected::before {
    content: '✓';
    font-size: 14px;
    color: #fff;
    min-width: 16px;
}

.gt-option:not(.selected)::before {
    content: '';
    min-width: 16px;
}

/* ─── Wrapper for positioning ─── */
/* .gt-wrapper {
    position: relative;
    display: inline-block;
} */





/* end google widget custom */

/* Hero area */
.hero-content h2 {
    text-transform: capitalize;
}


.hero-section {
    display: flex;
    align-items: center;
    min-height: 230px;
    height: 350px;
    position: relative; /* anchor for the top-left banner logo */
    background: #0B2740;
    background: url('https://data.peclet.com.au/assets/theme_image/randwick-banner-image-tinted.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Banner logo pinned to the top-left corner of the hero.
   It must anchor to the full-bleed .hero-section so it stays a fixed distance
   from the page edge at EVERY width. Bootstrap makes .col-* position:relative,
   so (together with .hero-content/.overlay below) the column is reset to static
   inside the hero — otherwise the logo anchors to the centred column and drifts
   off-page as the viewport narrows. */
.hero-section .container,
.hero-section .row,
.hero-section [class*="col-"] {
    position: static;
}

.overlay-logo {
    position: absolute;
    top: 10px;
    left: 40px;
    margin: 0;
    max-width: 170px;
    z-index: 3;
}

.hero-content.randwick-dashboard { position: static; }

.overlay {
    position: relative;
    padding: 0;
}

.randwick-dashboard .overlay {
    position: static;
    align-items: flex-start;
    gap: 24px;
}

.randwick-dashboard .overlay-text {
    font-size: 48px;
    line-height: 52px;
}



.overlay-text-subheader.randwick-dashboard {
    font-size: 18px;
    line-height: 28px;
    font-weight: 100 !important;
    text-align: left;
    text-transform: none !important;
    max-width: 900px;
    font-style: normal;
}


/* fire ban tiles */
.randwick-fire-ban-tile .emergency-area-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 24px;
}

.randwick-fire-ban-tile .text-wrapper {
    background: #EFF6FD;
    text-align: left !important;
    padding-left: 10px;
}

.randwick-fire-ban-tile .text-wrapper h5 {
    color: #041C2C;
    font-size: 22px !important;
    line-height: 28px !important;
    font-weight: 700 !important;
    letter-spacing: 0px;
}




/* 4 Emergency tiles */
.randwick-road-status-table.road_closures--table th {
    background-color: #009270;
}


.news-content-card h1,
.under-map-tiles .card-number h1 {
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
}

.randwick-content-wrapper-emergTiles .card-content h5 {
    font-weight: 700 !important;
}

.news-content-card p {
    font-size: 14px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 1.2px !important;
    /* 160% */
}

.overlay-text-subheader.randwick-dashboard {
    font-weight: 400 !important;
    letter-spacing: 1.2px !important;
    font-size: 18px;
}


/* sources underlink line */
.emerg_news_complex_details.sourceLink a,
.news-hover-content-bottom .sourceLink,
.weather-observation-only .source a {
    border-bottom: 2px solid #009270;
}



/* 4 tiles pop ups */
.news-content-title {
    padding: 24px;
}

.randwick-complex-modal-content summary p,
.randwick-weather-warning-list p,
.news-content-card.randwick-card-content h5 {
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
    font-style: normal;
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0;

}

.news-content-title h4 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    font-style: normal;
}

.news-hover-content {
    box-shadow: 0px 3px 12px 0px #00000012;
    border: 1px solid #DDDEE1
}

.news-hover-content {
    border-radius: 8px;
    padding: 16px;
}

.randwick-complex-modal-content .last-up-date,
.randwick-weather-warning-list span {
    font-size: 10px;
}

.accordion-title summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.news-hover-content-bottom-news {
    height: fit-content;
    display: flex;
    justify-content: flex-start;
    padding-bottom: 5px;
    margin-left: 10px;
}

.cross-btn span {
    padding: 8px 16px 8px 16px;
    border: 2px solid #009270;
    border-radius: 28px;
    font-size: 18px;
    color: #009270;
    font-weight: 700;
}

.news-hover-content-bottom-news {
    padding-bottom: 20px;
}

.randwick-weather-warning-list .news-hover-content a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-hover-content-bottom .cross-btn {
    padding-bottom: 20px;
    position: static;
}

div:has(> .randwick-road-status-table) {
    border: none;
    box-shadow: none;
}

.randwick-road-status-table tbody tr {
    padding: 8px 16px 16px 16px;
    border: 1px solid #DDDEE1;
    border-radius: 8px;
    box-shadow: 0px 3px 12px 0px #00000012;
}


.card-content-wrapper.randwick-content-wrapper,
.card-content-wrapper.randwick-content-wrapper-emergTiles {
    align-items: flex-start;
    height: 100%;
}

.card-content-wrapper.randwick-content-wrapper .card-content,
.card-content-wrapper.randwick-content-wrapper-emergTiles .card-content {
    text-align: left;
}

.randwick-content-wrapper-emergTiles .card-content h5 {
    font-size: 28px;
    line-height: 36px;
}

.randwick-content-wrapper p {
    letter-spacing: 0.96px;
}

.news-content-card.randwick-card-content {
    align-items: flex-start;
}

.news-content-card.randwick-news-content-emergTiles {
    justify-content: flex-start;
}

.news-content-card.randwick-card-content h5 {
    color: #041C2C;
}

.news-content-card.randwick-card-content p {
    color: #4E5A5F;
    font-size: 12px;
}



.randwick-weather-warning-list span {
    position: static;
    font-size: 12px;
    color: #4E5A5F;
}

.randwick-weather-warning-list p {
    margin-bottom: 0;
    padding-bottom: 1px;
    color: #041C2C;
    font-weight: 700;
}

.randwick-neighbouring-popup .cross-btn {
    position: static;
    left: 20px;
    padding: 10px 5px 20px 10px;
}


/* map */
.layer-control__list ul li {
    padding: 4px 16px 4px 16px;
    text-align: left;
    letter-spacing: 1.2px !important;
}


/* weather observation */

/* override default */
#weatherObservation-component {
box-shadow: none;
}
.weather-card.weather-observation-only:after{
    background-color: #f9f9f900;
}

.weather-card.weather-observation-only {
    background-color: #f9f9f900;
    background: #f9f9f900;
    padding: 0;
    /* background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 6px; */
}
.randwick-fire-rating-background{
    background: url('https://data.peclet.com.au/assets/theme_image/randwick-weather-observe-img.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0px 3px 12px #00000012;
    margin-bottom: 20px;
}

 
/* https://peclet-public.s3.ap-southeast-2.amazonaws.com/images/disaster-dashboards/randwick-weather-observe-img.png */
/* update */
/* .weather-card.weather-observation-only::before {
    position: relative;
    content: '';
    position: absolute;
    inset: 0;
    background: url(https://data.peclet.com.au/assets/theme_image/randwick-weather-obsrv-disaster-dashboard.jpg);
    background-size: cover;
    background-position: center;
    z-index: 0;
    border-radius: 6px;
   
}

.randwick-observe-wrapper,
.randwick-sb-wrap {
    position: relative;
    z-index: 1;
} */

.randwick-observe-wrapper, .randwick-fire-rating-wrap {
    background: rgba(255, 255, 255, 0.08);
    /* transparent */
    backdrop-filter: blur(3px);
    /* blur what's behind */
    -webkit-backdrop-filter: blur(3px);
    /* Safari */
    border: 0.3px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--bpar-tile-radius);
    padding: 16px;
}

.weather-card.weather-observation-only .grid-item, .fire-danger-bottom-card .card-content {
    background: #0000009C !important;
}



/* fire danger */
 
.weather-cards-fire-danger-flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.randwick-observe-wrapper , .randwick-fire-rating-wrap{
    width: 49.2%;
}

.fire-danger-bottom-content{
    background: transparent;
    backdrop-filter: none;
}

.weather-card.weather-observation-only h2 {font-weight: 600 !important;}

.weather-card.weather-observation-only .grid-item h3, .fire-danger-bottom-card .card-content h3 {font-size: 22px;}

.fire-danger-bottom-card .card-content{border-radius: 8px; width: 100%;}

.fire-danger-bottom-card .card-content h6{opacity: 0.8; font-size: 0.9rem;}

.weather-card.weather-observation-only .grid-item span, .fire-danger-bottom-card .card-content h6 {font-size: 18px;}

.fire-danger-bottom-card .card-content h6,  .fire-danger-bottom-card .card-content h3{
    color: white ;
    text-transform: none;
 }

.fire-danger-bottom-content .nsw-content{
    margin-top: 25px;
    
 }

.fire-danger-bottom-content .nsw-content p{
font-size: 0.85rem;
opacity: 0.7;
 }
/* .weather-card.weather-observation-only h2, .weather-card.weather-observation-only p, .source{
    color: var(--bpar-navy);
} */

/* under map tiles */
.randwick-under-map-tiles {
    margin: 25px 0;
}

.randwick-undermapTiles-Text,
.news-content-card .randwick-content-wrapper p {
    font-size: 16px !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 24px;
    margin: 5px 0 0 0;
    /* 150% */
}

.news-area-heading,
.randwick-under-map-tiles .light-background,
.randwick-under-map-tiles .light-background-blue {
    border-radius: 8px;
}

.randwick-under-map-tiles .col-lg-4:nth-child(1),
.randwick-under-map-tiles .col-md-4:nth-child(1),
.randwick-under-map-tiles .col-lg-4:nth-child(2),
.randwick-under-map-tiles .col-md-4:nth-child(2) {
    padding-right: 0;
    padding-left: 0;
}

.randwick-under-map-tiles .col-lg-4:nth-child(2),
.randwick-under-map-tiles .col-md-4:nth-child(2),
.randwick-under-map-tiles .col-lg-4:nth-child(4),
.randwick-under-map-tiles .col-md-4:nth-child(4) {
    padding-left: 0;
    padding-right: 0;
}


.randwick-under-map-tiles .col-lg-4:nth-child(3),
.randwick-under-map-tiles .col-md-4:nth-child(3) {
    padding-right: 0;
}


.randwick-under-map-tiles {
    justify-content: space-between;
}

.randwick-under-map-tiles .tile-wrapper {
    flex: 0 0 24.333333%;
}

.randwick-under-map-tiles .light-background,
.randwick-under-map-tiles .light-background-blue {
    border: none;
    background: #FFFFFF;
}

.randwick-under-map-tiles .news-area-heading h5 {
    color: #041C2C;
    text-align: left;
    font-weight: 700 !important;
    font-size: 22px;
    line-height: 28px;
}


.randwick-under-map-tiles .news-content-title.active-center-section,
.randwick-neighbouring-popup .news-content-title.active-center-section {
    background-color: #0b3c90;
}

.randwick-neighbouring-popup .news-hover-content p {
    color: #041C2C;
    font-weight: bold;
}


.randwick-complex-modal-content summary p {
    font-weight: 700;
    padding-right: 0;
}

.randwick-complex-modal-content p,
.randwick-complex-modal-content .titleArr {
    color: #041C2C;
}

.randwick-complex-modal-content .last-up-date {
    font-size: 12px;
    color: #4E5A5F;
}




/* weather observation section */
/* .weather-card.weather-observation-only p,
.weather-card.weather-observation-only .grid-item span,
.weather-card.weather-observation-only .source {
    letter-spacing: 1.2px !important;
}
 */



/* agency contacts tiles */
.card-content-icon img {
    height: auto;
    width: 100%;
}

.agency-contacts-tiles {
    gap: 24px;
}

/* .agency-contacts-link-wrapper,
#radioTilesContainer .keep-content {
    border: 1px solid #9095A1
} */

.otherTiles .health.tile .card-content-icon img,
.otherTiles .ambo.tile .card-content-icon img,
.otherTiles .nationalSec.tile .card-content-icon img {
    width: 100%;
}


.otherTiles .tile:nth-child(8) .card-content-icon img {
    width: 200px;
}

.service-card-content p {
    letter-spacing: 1.2px !important;
}


/* Be prepared and recovery sectinos */

/* ── Section heading ── */
.bpar-section-heading {
    /* font-size: 1.75rem;
    font-weight: 700; */
    color: var(--bpar-navy);
    margin-bottom: 20px;
}

/* ── Info banner (Understanding your risks) ── */
.bpar-info-banner {
    display: block;
    background: var(--bpar-prepared-bg);
    /* border: var(--bpar-tile-border); */
    border-radius: var(--bpar-tile-radius);
    text-align: center;
    padding: 28px 24px;
    margin-bottom: var(--bpar-gap);
    box-shadow: 0px 3px 12px #00000012;

}

.bpar-info-banner h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--bpar-white);
    margin-bottom: 8px;
}

.bpar-info-banner p {
    font-size: 16px;
    color: var(--bpar-white);
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ── Tile grid ── */
.bpar-tile-grid {
    display: grid;
    gap: var(--bpar-gap);
    grid-template-columns: repeat(4, 1fr);
}

/* ── Individual tile ── */
.bpar-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 16px;
    border-radius: var(--bpar-tile-radius);
    text-decoration: none;
    color: var(--bpar-navy);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
    cursor: pointer;
    box-shadow: 0px 3px 12px #00000012;
    color: white;
    /* transition: box-shadow 0.2s ease, transform 0.15s ease; */
}

.bpar-tile--prepared {
    background: var(--bpar-prepared-bg);
    /* border: var(--bpar-tile-border); */
}

.bpar-tile--recovery {
    background: var(--bpar-recovery-bg);
    /* border: var(--bpar-tile-border-recovery); */
}

.bpar-tile:hover {
    color: var(--bpar-white);
}

.bpar-tile:focus-visible {
    outline: 3px solid #4a90d9;
    outline-offset: 2px;
}

/* ── Icon placeholder ── */
.bpar-tile-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Replace contents with your <img> or <svg> */
    /* background: rgba(26, 46, 68, 0.08); */
    border-radius: 8px;
    color: var(--bpar-navy);
    font-size: 1.25rem;
}

/* ── Section spacing ── */
.bpar-section+.bpar-section {
    margin-top: 48px;
}



/* social media section */
.slider-controls.randwick button {
    background: transparent;
}

.slider-controls button {
    padding: 0;
    border-radius: 0;
}

.slider-controls.randwick button:hover {
    border-radius: 50%;
    background: #009270;
    backdrop-filter: blur(6px);
    border-color: 1.5px solid rgba(255, 255, 255, 0.7);
    transform: scale(1.08);
    transition: background 0.2s, transform 0.2s, border 0.2s;
}

.randwick-radio-tiles-wrapper .radio_name a,
.randwick-radio-tiles-wrapper .station_freq i,
.randwick-radio-tiles-wrapper .station_freq p {
    color: #041C2C;
}


.randwick-radio-tiles-wrapper .tiles_headings,
.randwick-agnecyContacts-tiles-wrapper.tiles_headings,
.randwick-social-tiles-wrapper .tiles_headings {
    text-align: left !important;
}



/* Footer */
.randwick.versionStyle-two.footer {
    background: #0B2740;
}

.randwick.versionStyle-two .acknowledgement {
    background: #0078AE;
    padding: 32px 100px 32px 100px;
}

.randwick.versionStyle-two .acknowledgement p {
    font-size: 18px;
}



/* ── Disclaimer dialog — all IDs prefixed with disc- ── */
#disc-dialog {
    border: none;
    border-radius: 0;
    padding: 0;
    width: min(860px, 95vw);
    background: var(--bpar-navy);
    color: #d0d8e4;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
}

#disc-dialog::backdrop {
    background: rgba(0, 0, 0, 0.75);
}

/* In the iframe/embed version, pin the disclaimer to the TOP of the frame
   (a centred modal reads as "the dashboard isn't loading"). Only applies when
   embedded — app.js adds .is-embedded to <html>. A native showModal() dialog is
   centred by the UA via margin:auto; fixing margin-top + margin-bottom:auto
   moves it to the top while keeping it horizontally centred. */
.is-embedded #disc-dialog {
    margin-top: 16px;
    margin-bottom: auto;
}

#disc-body {
    padding: 36px 40px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#disc-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #d0d8e4;
    margin: 0;
}

#disc-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

#disc-body p {
    margin: 0;
    color: #c0ccd8;
}

#disc-terms-link {
    color: #3db8e8;
    text-decoration: underline;
}

#disc-footer {
    padding: 20px 40px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: var(--bpar-navy);
}

#disc-leave {
    background: transparent;
    color: #FFFBEC;
    border: 2px solid #FFFBEC;
    padding: 10px 28px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

#disc-leave:hover {
    background: #FFFBEC;
    color: var(--bpar-navy);
}

#disc-accept {
    background: #2aa8d4;
    color: #ffffff;
    border: 2px solid #2aa8d4;
    padding: 10px 28px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s ease;
}

#disc-accept:hover {
    background: #1d8fb5;
    border-color: #1d8fb5;
}


/* smart beache display - weather observ */

.randwick-sb-wrap {
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: var(--bpar-tile-radius);
    border: 0.3px solid rgba(255, 255, 255, 0.3);

    font-family: Arial, Helvetica, sans-serif;
    color: var(--sb-text);
    padding: 16px;

    /* max-width: 1200px; */
    /* margin: 0 auto; */
}

.randwick-sb-wrap-background{
    padding-top: 25px;
    padding: 16px;
    background-image: linear-gradient(rgb(78, 157, 250) 0%, rgb(28, 70, 68) 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 6px;
    box-shadow: 0px 3px 12px #00000012;
}

/* ── Heading ── */
.randwick-sb-wrap .sb-heading {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 16px;
    /* text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); */
}

/* ── Beach tabs ── */
.randwick-sb-wrap .sb-tabs {
    display: flex;
    gap: var(--sb-gap);
    margin-bottom: var(--sb-gap);
}

.randwick-sb-wrap .sb-tab {
    flex: 1;
    padding: 12px 16px;
    background: var(--sb-tab-active);
    border: none;
    border-radius: var(--sb-radius);
    color: var(--sb-text);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}

.randwick-sb-wrap .sb-tab:not(.sb-tab--active) {
    background: #0078AE;
}

.randwick-sb-wrap .sb-tab--active {
    background: #EFF6FD;
    color: #0078AE;
    text-decoration: underline;
}

.randwick-sb-wrap .sb-tab:hover:not(.sb-tab--active) {
    background: rgba(42, 168, 212, 0.8);
}

/* ── Data tiles row ── */
.randwick-sb-wrap .sb-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sb-gap);
    margin-bottom: var(--sb-gap);
}

.randwick-sb-wrap .sb-tile {
    background: var(--sb-tile-bg);
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    padding: 16px;
    overflow: hidden;
}

.randwick-sb-wrap .sb-tile-title {
    /* background: rgba(10, 20, 30, 0.85); */
    font-size: 22px !important;
    font-weight: 700;
    margin: 0 0 14px !important;
    background: #000000bc !important;
    margin: -16px -16px 14px -16px !important;
    padding: 12px 16px;
    border-radius: 6px 6px 0 0;
}

/* UV tile */
.randwick-sb-wrap .sb-uv-body {
    display: flex;
    align-items: center;
    gap: 14px;
}

.randwick-sb-wrap .sb-uv-bar {
    width: 14px;
    height: 80px;
    border-radius: 4px;
    /* background: linear-gradient(to bottom, #9b2226, #e85d04, #f9c74f, #90be6d); */
    position: relative;
    flex-shrink: 0;
}

.randwick-sb-wrap .sb-uv-bar img {
    height: 100%;
}

.randwick-sb-wrap .sb-uv-bar-marker {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid #fff;
    margin-left: 10px;
}

.randwick-sb-wrap .sb-uv-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.randwick-sb-wrap .sb-uv-label {
    font-size: 0.85rem;
    color: white;
}

.randwick-sb-wrap .sb-uv-warning {
    margin-left: auto;
    text-align: center;
    font-size: 16px;
    color: white;
    line-height: 1.4;
}

.randwick-sb-wrap .sb-uv-warning-icon {
    width: 28px;
    height: 28px;
    margin: 0 auto 6px;

    /* background: rgba(255, 255, 255, 0.15); */
    border-radius: 4px;
}

/* Water tile */
.randwick-sb-wrap .sb-water-cols {
    display: flex;
    gap: 20px;
}

.randwick-sb-wrap .sb-water-col {
    flex: 1;
}

.randwick-sb-wrap .sb-water-col-label {
    font-size: 18px;
    color: white;
    margin-bottom: 10px;
}

.randwick-sb-wrap .sb-water-temp {
    font-size: 1.8rem;
    font-weight: 700;
}

.randwick-sb-wrap .sb-water-temp sup {
    font-size: 1rem;
}

.randwick-sb-wrap .sb-pollution-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #578A07;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.randwick-sb-wrap .sb-pollution-icon-placeholder {
    /* width: 20px; */
    /* height: 20px; */
    /* background: rgba(255, 255, 255, 0.3); */
    border-radius: 3px;
}

.randwick-sb-wrap .sb-pollution-status {
    font-size: 16px;
    font-weight: 700;
    /* color: #6fcf60; */
}

/* Tide tile */
.randwick-sb-wrap .sb-tide-cols {
    display: flex;
    gap: 16px;
}

.randwick-sb-wrap .sb-tide-col {
    flex: 1;
}

.randwick-sb-wrap .sb-tide-col-label {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.randwick-sb-wrap .sb-tide-value {
    font-size: 18px;
    margin-bottom: 4px;
}

.randwick-sb-wrap .sb-tide-time {
    font-size: 18px;
    color: white;
}

/* Wave tile */
.randwick-sb-wrap .sb-wave-cols {
    display: flex;
    gap: 16px;
}

.randwick-sb-wrap .sb-wave-col {
    flex: 1;
}

.randwick-sb-wrap .sb-wave-col-label {
    font-size: 18px;
    color: white;
    margin-bottom: 8px;
}

.randwick-sb-wrap .sb-wave-height {
    font-size: 20px;
    font-weight: 700;
}

.randwick-sb-wrap .sb-wave-direction {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

/* ── Lifeguard report ── */
.randwick-sb-wrap .sb-report {
    background: var(--sb-tile-bg);
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    overflow: hidden;
}

.randwick-sb-wrap .sb-report-header {
    background: #0000009C !important;
    padding: 14px 18px;
}

.randwick-sb-wrap .sb-report-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.randwick-sb-wrap .sb-report-body {
    padding: 16px 18px;
}

.randwick-sb-wrap .sb-report-summary {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    color: white;
    margin-bottom: 20px;
    min-height: 55px;
}

.randwick-sb-wrap .sb-report-summary-icon {
    width: 20px;
    /* height: 20px; */
    flex-shrink: 0;

    /* background: rgba(255, 255, 255, 0.2); */
    border-radius: 50%;
    /* margin-top: 1px; */
}

/* Hazard warnings */
.randwick-sb-wrap .sb-hazards {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.randwick-sb-wrap .sb-hazard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.randwick-sb-wrap .sb-hazard-icon {
    width: 64px;
    height: 64px;

    /* background: rgba(255, 255, 255, 0.1); */
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.randwick-sb-wrap .sb-hazard-icon-placeholder {
    width: 56px;
    height: 56px;
    /* background: rgba(255, 220, 0, 0.3); */
    border-radius: 2px;
}

.randwick-sb-wrap .sb-hazard-icon-placeholder img {
    width: 100%;
}

.randwick-sb-wrap .sb-hazard-label {
    font-size: 16px;
    /* font-weight: 700; */
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-transform: uppercase;
}


/* Top alert strip */

.alrt-strip {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #FFCD00;
    color: #0B2740;
    padding: 18px 24px;
    width: 100%;
    box-sizing: border-box;
}

/* .alrt-strip { display: none; } */

.alrt-strip:hover {
    color: #0B2740;
}

.alrt-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: rgba(0, 0, 0, 0.12); */
    border-radius: 3px;
}

.alrt-text {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
}



@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .otherTiles .tile:nth-child(8) .card-content-icon img {
        width: 170px;
    }

    /* fire danger boxes */
    .fire-danger-bottom-card{
        flex-direction: column;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {

        /* .overlay-logo{
    
        top: 16px;
        left: 16px;
        } */

    .news-content-card.randwick-news-content-emergTiles {
        padding-top: 20px;
    }


    .randwick-content-wrapper-emergTiles .card-content h5 {
        font-size: 20px;
        margin-bottom: 0;
    }

    .randwick-under-map-tiles .news-area-heading h5 {
        font-size: 18px;
    }

    .randwick-fire-ban-tile .text-wrapper h5 {
        font-size: 18px !important;
        letter-spacing: 0px;
    }
}

@media only screen and (min-width: 1100px) {
    .news-hover-content-wrapper {
        width: 1000px;
    }
}

@media (max-width: 767px) {

    /* hero content */
    .hero-content.randwick-dashboard{
        margin-top: 25%
    }
    /* menu to be on top right  */
    .randwick-google-widget {
        position: absolute;
        top: 60px;
        right: 20px;
    }

    /* .council-logo {
        position: relative;
    } */

    /* end of menu  */

    /* map layers conainer  */
    .layer-control-container {
    top: 70px;
    right: 20px;
    }

    /* disable google translate to be close to menu */
    .gt-wrapper {
        margin-left: 0;
        margin-right: 0;
    }


    .hero-section {
        height: fit-content;
    }

    .hero-content.randwick-dashboard h2 {
        font-size: 32px;
        line-height: 32px;
    }

    .overlay-text-subheader.randwick-dashboard {
        font-size: 18px !important;
    }

    .randwick-dashboard .overlay {
        gap: 16px;
    }

    .randwick-dashboard .overlay-text {
        line-height: 40px;
    }

    .emergency-area-heading img {
        max-width: 20px !important;
    }

    .randwick-content-wrapper-emergTiles .card-content h5 {
        font-size: 20px;
    }

    .randwick-fire-ban-tile .text-wrapper h5 {
        font-size: 18px !important;
        letter-spacing: 0px;
    }

    .overlay-text-subheader.randwick-dashboard {
        font-size: 15px !important;
    }

    /* 4 tiles */
    .randwick-content-wrapper-emergTiles .card-content h5 {
        line-height: 24px !important;
    }

    .news-content-title h4,
    .randwick-complex-modal-content summary p,
    .randwick-weather-warning-list p,
    .news-content-card.randwick-card-content h5,
    .bpar-info-banner h2,
    .bpar-tile {
        font-size: 18px;
    }

    .cross-btn span {
        padding: 10px 16px 10px 16px;
        font-size: 16px;
    }

    div:has(> .randwick-road-status-table) {
        padding: 0;
        margin: 0;
    }

    /* under map tiles */
    .randwick-undermapTiles-Text,
    .news-content-card .randwick-content-wrapper p,
    .bpar-info-banner p {
        font-size: 14px !important;

        font-style: normal;

        font-weight: 400 !important;

        line-height: 18px;
        /* 150% */
    }

    .randwick-under-map-tiles .news-area-heading h5 {
        font-size: 18px;
    }

    .agency-contacts-tiles {
        gap: 16px;
    }

    .randwick-under-map-tiles {
        flex-direction: column;
        gap: 16px;
    }

    /* weather observation */
    /* .randwick-sb-wrap .sb-wave-direction{
        font-size: 16px;
    } */

    /* social */
    .randwick-agnecyContacts-tiles-wrapper h3,
    .randwick-radio-tiles-wrapper h3,
    .randwick-social-tiles-wrapper h3,
    .hero-content.randwick-dashboard h2 {
        text-transform: none;
        font-size: 24px;
        font-style: normal;
    }

    .randwick-under-map-tiles .col-lg-4:nth-child(1),
    .randwick-under-map-tiles .col-md-4:nth-child(1),
    .randwick-under-map-tiles .col-lg-4:nth-child(2),
    .randwick-under-map-tiles .col-md-4:nth-child(2) {
        /* padding-right: 15px; */
        padding: 0;
    }

    .randwick-under-map-tiles .col-lg-4:nth-child(4),
    .randwick-under-map-tiles .col-md-4:nth-child(4),
    .randwick-under-map-tiles .col-lg-4:nth-child(2),
    .randwick-under-map-tiles .col-md-4:nth-child(2) {
        /* padding-left: 15px; */
        padding: 0;
    }

    .randwick-under-map-tiles .col-lg-4:nth-child(3),
    .randwick-under-map-tiles .col-md-4:nth-child(3) {
        /* padding-right: 15px; */
        padding: 0;
    }

    .fire-danger-bottom-card {
        flex-direction: column;
    }

}


@media (max-width: 991px) {

    .weather-card.weather-observation-only h2,
    .randwick-agnecyContacts-tiles-wrapper h3,
    .randwick-radio-tiles-wrapper h3,
    .randwick-social-tiles-wrapper h3,
    .bpar-section-heading {
        font-size: 24px;
    }

    /* be prepared/recovery */
    .bpar-tile-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .randwick-sb-wrap .sb-tiles {
        grid-template-columns: repeat(2, 1fr);
    }

    /* fire danger/weather info flex box */
    .randwick-observe-wrapper, .randwick-fire-rating-wrap{width: 100%;}
    .weather-cards-fire-danger-flex{
        gap: 15px;
    }
}

@media (max-width: 575px) {
    .overlay-logo{ max-width: 110px; top: 16px; left: 16px; }
    .randwick-fire-ban-tile .emergency-area-heading {
        display: flex;
        flex-direction: column;
        align-items: flex-start
    }

    /* be prepared/recovery */
    .bpar-tile-grid {
        grid-template-columns: 1fr;
    }


    #disc-body {
        padding: 24px 20px 20px;
    }

    #disc-footer {
        padding: 16px 20px;
    }

    #disc-title {
        font-size: 1.1rem;
    }

    /* .bpar-tile {
        padding: 20px 16px;
        font-size: 0.875rem;
    }

    .bpar-section-heading {
        font-size: 1.4rem;
    } */

    /* smart beaches */
    .randwick-sb-wrap .sb-tabs {
        flex-direction: column;
    }

    .randwick-sb-wrap .sb-tiles {
        grid-template-columns: 1fr;
    }

    .randwick-sb-wrap .sb-heading {
        font-size: 1.4rem;
    }

    .randwick-sb-wrap .sb-hazards {
        gap: 20px;
    }

    .randwick.versionStyle-two .acknowledgement {
        padding: 32px 50px 32px 50px !important;

    }

    /* alert stip */
    .alrt-strip {
        padding: 14px 16px;
        justify-content: flex-start;
    }

    .alrt-text {
        font-size: 0.9rem;
    }

}

@media (max-width: 315px) {

       /* hero content */
    .hero-content.randwick-dashboard{
        margin-top: 45%
    }

    .hero-section {
        height: fit-content;
    }

    #disc-footer {
        flex-direction: column;
    }

    /* smart beaches */
    .randwick-sb-wrap .sb-water-cols {
        flex-direction: column;
    }

    .randwick-sb-wrap .sb-hazards {
        justify-content: center;
    }

}