/* ============================================================
   GLOBAL
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

h1, h2, h3 {
    color: #369;
}


/* ============================================================
   HEADER & BRANDING
   ============================================================ */
.ds_site-header {
    border: 0;
}

.ds_site-branding__title {
    font-weight: 400;
    font-size: 1.5em;
    line-height: 1.5rem;
    padding-top: 14px;
    color: #369;
}

.custom-button-theme {
    background: #369;
}
.cookie-button-theme {
    background: #ebebeb;
}

@media (min-width: 768px) {
    .ds_site-header__navigation {
        border: 0;
    }
}


/* ============================================================
   NAVIGATION & BREADCRUMBS
   ============================================================ */
.ds_breadcrumbs__list {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

.ds_side-navigation {
    border: 0;
}

.ds_back-to-top__button {
    color: #369;
}


/* ============================================================
   SIDEBAR
   ============================================================ */
@media (min-width: 768px) {
    .ds_layout__sidebar {
        border-top: 2px solid #369;
    }
}

.ds_h3 {
    margin-top: 20px;
}


/* ============================================================
   HERO / FEATURE HEADER
   ============================================================ */
.ds_feature-header--background {
    background-color: #369;
}

.ds_feature-header__title {
    color: #fff;
}

.ds_promo-header__image {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

/* Hero buttons */
.ds_feature-header--background .ds_button--apply:not(:hover):not(:focus) {
    background-color: #0065bd;
}

.ds_feature-header--background .ds_button--pay:not(:hover):not(:focus) {
    background-color: #1a7032;
}

.ds_feature-header--background .ds_button--report:not(:hover):not(:focus) {
    background-color: #d32205;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.ds_button_darkblue {
    background-color: #369;
}
.ds_button {
    min-width: 100px;
 }

/* ============================================================
   GRIDS
   ============================================================ */

/* Two column */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .two-col {
        grid-template-columns: 1fr;
    }
}

/* Three column */
.clacks-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .clacks-grid-3col {
        grid-template-columns: 1fr;
    }
}

/* Button grid — full width buttons */
.clacks-grid-buttons .ds_button {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}


/* ============================================================
   SERVICE CARDS
   ============================================================ */
.ds_category-item__link {
    color: #369;
}

.ds_pb--background-secondary {
    background-color: #f8f8f8;
    padding-top: 32px;
    padding-bottom: 32px;
}


/* ============================================================
   TEXT SECTIONS
   ============================================================ */
.ds_pb--text {
    padding-bottom: 32px;
}

/* Removed: ds_pb--text .ds_pb__inner flex rule —
   this was forcing a min-height and conflicting with
   the two-col grid inside it, contributing to overflow */


/* ============================================================
   NEWS & EVENTS
   ============================================================ */
.news-date {
    font-size: 0.875rem;
    border-left: 3px solid #ccc;
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
}

.events-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.events-list li {
    margin-bottom: 1rem;
}

/* Removed: .two-col > section { text-align: center } —
   this was centre-aligning news/events text and buttons
   which looks wrong at desktop width */

.section-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid #005ea5;
}


/* ============================================================
   SOCIAL
   ============================================================ */
.clacks-social {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    list-style: none;
    padding-top: 12px;
    margin: 0;
}

.clacks-social li a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.clacks-social .ds_icon {
    width: 20px;
    height: 20px;
}


/* ============================================================
   FOOTER
   ============================================================ */
.ds_site-footer {
    margin-top: 40px;
}


/* ============================================================
   UTILITIES
   ============================================================ */
@media (max-width: 767px) {
    .hide-mobile {
        display: none;
    }
}
/* ============================================================
   GRID OVERRIDES — force against DS specificity
   ============================================================ */
div.clacks-grid-3col,
.ds_wrapper .clacks-grid-3col,
.ds_pb .clacks-grid-3col {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem;
}

div.two-col,
.ds_wrapper .two-col,
.ds_pb .two-col,
.ds_pb__inner .two-col {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem;
}

@media (max-width: 768px) {
    div.clacks-grid-3col,
    .ds_wrapper .clacks-grid-3col,
    .ds_pb .clacks-grid-3col {
        grid-template-columns: 1fr !important;
    }

    div.two-col,
    .ds_wrapper .two-col,
    .ds_pb .two-col,
    .ds_pb__inner .two-col {
        grid-template-columns: 1fr !important;
    }
}
.two-col > section {
    text-align: center;
}

.two-col > section .ds_button {
    margin: 0 auto;
}
@media (max-width: 768px) {
    .two-col > div,
    .two-col > section,
    .clacks-grid-3col > div {
        text-align: center;
    }

    .two-col .ds_button,
    .clacks-grid-3col .ds_button {
        margin: 0 auto;
    }

    .two-col .service-links ul {
        list-style: none;
        padding-left: 0;
        margin-left: 0;
    }
}

.clacks-col-panel {
    background-color: #f8f8f8;
    padding: 1.25rem;
}

/* ============================================================
   Set H3 Size for News and Events
   ============================================================ */
.news-title {
    font-size: 1.2rem;
}
.right {
    float: right;
    margin: 8px 12px 12px 18px;
}
/* ============================================================
  Custom List Item
   ============================================================ */
.clacks-list-group {
    margin: 2rem 0;
    padding: 0;
}

.clacks-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 1rem 1.25rem;
    margin-bottom: 0.5rem;

    border: 1px solid #b3b3b3;
    border-radius: 4px;

    background: #ffffff;

    text-decoration: none;
    color: #0065bd;

    transition: background-color 0.15s ease;
}

.clacks-list-item:hover {
    background-color: #f8f8f8;
    text-decoration: none;
}

.clacks-list-item strong {
    font-size: 1.125rem;
    font-weight: 700;
}

.clacks-list-item .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    border-radius: 999px;
    background: #0065bd;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
}
.calltoaction {
    float: right;
    padding: 7px;
    text-align: center;
    height: 157px;
    width: 157px;
    background-color: #eee;
    color: #000;
    margin: 10px;
    -moz-border-radius: 7px 7px 7px 7px;
    -webkit-border-radius: 7px 7px 7px 7px;
    border-radius: 7px 7px 7px 7px;
}
@media (min-width: 768px) {
    .ds_button {
        margin-bottom: 1.5rem;
    }
}

.service-links {
    text-align: left !important;
}

@media (max-width: 767px) {
    .service-links {
    text-align: center !important;
    }
}
.meeting-agenda dt {
	border-top: 1px solid #b3b3b3;
	padding-top: 1rem;
	margin-top: 1rem;
	font-weight: 700;
}

.meeting-agenda dd {
	margin: 0 0 1rem 0;
	padding-bottom: 1rem;
}

.meeting-agenda dt:first-child {
	border-top: 0;
	padding-top: 0;
	margin-top: 0;
}
@media (max-width: 767px) {
    .ds_h3 {
    font-size: 1.375rem;
    line-height: 1.4545454545;
    margin-bottom: 1rem;
    font-weight: 700;
    }
}
@media screen and (max-width: 767px) {
    .ds_layout__sidebar > h2.ds_h3 {
        display: none !important;
    }
}
/* ============================================================
   ACCESSIBLE LINK FOCUS
   Remove SGDS text/box shadow effect while retaining
   a clear visible keyboard focus indicator.
   ============================================================ */

a:focus,
a:focus-visible,
.ds_link:focus,
.ds_link:focus-visible {
    background-color: #fdd522;
    color: #1a1a1a;
    text-decoration: none;
    transition-duration: 0s;

    /* Clean visible focus indicator */
    outline: 3px solid #1a1a1a;
    outline-offset: 2px;

    /* Prevent SGDS shadow/filter from creating ghosted text */
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
}