@charset "utf-8";
/*
Template Name: Boguco
Author: <a href="http://www.os-templates.com/">OS Templates</a>
Author URI: http://www.os-templates.com/
Licence: Free to use under our free template licence terms
Licence URI: http://www.os-templates.com/template-terms
File: Layout CSS
*/

@import url("custom.flexslider.css");
@import url("framework.css?0108200252050");

/* Rows
--------------------------------------------------------------------------------------------------------------- */
.row0, .row0 a{}
.row1{}
.row2{border-bottom: none;}
.row3, .row3 a{}
.row4, .row4 a{}
.row5, .row5 a{}

/* Top Bar
--------------------------------------------------------------------------------------------------------------- */
#topbar{padding:15px 0; font-size:.8rem; text-transform:uppercase;}

#topbar *{margin:0;}
#topbar ul li{display:inline-block; margin-right:10px; padding-right:15px; border-right:1px solid;}
#topbar ul li:last-child{margin-right:0; padding-right:0; border-right:none;}
#topbar i{margin:0 5px 0 0; line-height:normal;}

/* Center the bell + avatar/alias vertically */
#mainav .nav-user > a,
#mainav .nav-bell > a {
  display: flex;
  align-items: center;
  line-height: 1;
}

/* Tidy the avatar */
#mainav .nav-user img {
  display: block;           /* no baseline gap */
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 8px;
}

/* Optional: nudge the red count bubble a hair down */
#mainav .badge {
  display: inline-block;
  line-height: 18px;
  border-radius: 12px;
  padding: 0 6px;
  transform: translateY(1px);
}


/* Header
--------------------------------------------------------------------------------------------------------------- */
#header{}

#header #logo{margin:21px 30px 0px 0px;}
#header #logo h1{margin:0; padding:0; font-size:22px; text-transform:uppercase;}

/* Page Intro
--------------------------------------------------------------------------------------------------------------- */
#pageintro{padding:0px 0px 66px 0px}

#pageintro li article{display:block; max-width:75%; margin:0 auto; text-align:center;}
#pageintro li article *{margin:0;}
#pageintro li p:first-of-type{margin-bottom:10px; font-style:italic;}
#pageintro li .heading{margin-bottom:30px; font-size:3rem; word-wrap:break-word;}
#pageintro li p:nth-of-type(2){line-height:1.5rem;}
#pageintro li footer{margin-top:40px;}

/* Content Area
--------------------------------------------------------------------------------------------------------------- */
.container{padding:80px 0;}

/* Content */
.container .content{}

.services li:nth-child(-n+3){margin-bottom:30px;}/* Adds bottom margin to the first three elements only */
.services > li:last-child{margin-bottom:0;}/* Used when elements stack in small viewports */
.services article{display:block; position:relative; min-height:80px; padding:0 0 0 70px;}
.services article::before, .services article::after{display:table; content:"";}
.services article::after{clear:both;}
.services article *{margin:0 0 15px 0;}
.services article > :last-child{margin-bottom:0;}
.services article i{display:block; position:absolute; top:0; left:0; width:50px; height:50px; line-height:48px; margin:0; border:1px solid; text-align:center; font-size:24px;}
.services article .heading{font-size:1.2rem;}

.excerpt{display:inline-block; width:100%; max-width:320px; padding-bottom:20px;}
.excerpt img{}
.excerpt .excerpttxt{display:block; position:relative; max-width:84%; margin:-40px auto; padding:20px; text-align:center;}
.excerpt .excerpttxt > ul{margin:0 0 15px 0; padding:0; font-size:.8rem;}
.excerpt .excerpttxt > ul li{display:inline-block; margin-right:8px;}
.excerpt .excerpttxt > ul li:first-child::after{margin-left:10px; content:"|";}
.excerpt .excerpttxt > ul li:last-child{margin-right:0;}
.excerpt .heading{margin:0 0 30px 0;}
.excerpt p:last-of-type{margin:0; padding:0;}

/* Comments */
#comments ul{margin:0 0 40px 0; padding:0; list-style:none;}
#comments li{margin:0 0 10px 0; padding:15px;}
#comments .avatar{float:right; margin:0 0 10px 10px; padding:3px; border:1px solid;}
#comments address{font-weight:bold;}
#comments time{font-size:smaller;}
#comments .comcont{display:block; margin:0; padding:0;}
#comments .comcont p{margin:10px 5px 10px 0; padding:0;}

#comments form{display:block; width:100%;}
#comments input, #comments textarea{width:100%; padding:10px; border:1px solid;}
#comments textarea{overflow:auto;}
#comments div{margin-bottom:15px;}
#comments input[type="submit"], #comments input[type="reset"]{display:inline-block; width:auto; min-width:150px; margin:0; padding:8px 5px; cursor:pointer;}

/* Sidebar */
.container .sidebar{}

.sidebar .sdb_holder{margin-bottom:50px;}
.sidebar .sdb_holder:last-child{margin-bottom:0;}

/* Footer
--------------------------------------------------------------------------------------------------------------- */
#footer{padding:80px 0;}

#footer ul{}
#footer ul li{padding:25px 0 0 0; text-align:center;}
#footer ul li:last-child{margin-bottom:0;}/* Used when elements stack in small viewports */
#footer ul li *{margin:0; padding:0; line-height:1.6;}
#footer ul li .infobox{display:block; position:relative; padding:35px 20px 25px 20px; border:1px solid;}
#footer ul li .infobox i{display:inline-block; position:absolute; top:0; left:50%; width:50px; height:50px; line-height:50px; margin:-25px 0 0 -25px; font-size:18px; z-index:1;}
#footer ul li .infobox i::after{position:absolute; top:5px; right:5px; bottom:5px; left:5px; border:1px solid; content:""; z-index:-1;}
#footer ul li .infobox .fa{font-size:18px;}
#footer i, #footer i::after{border-radius:50%;}

/* Quick Links
--------------------------------------------------------------------------------------------------------------- */
.quicklinks{padding:30px 0; text-align:center; text-transform:uppercase;}

.quicklinks ul{padding:0; list-style:none;}
.quicklinks ul li{display:inline-block; margin-right:10px;}
.quicklinks ul li::after{margin-left:10px; content:"|";}
.quicklinks ul li:last-child::after{margin-left:0; content:"";}

/* Copyright
--------------------------------------------------------------------------------------------------------------- */
#copyright{padding:20px 0;}
#copyright *{margin:0; padding:0;}

/* Transition Fade
--------------------------------------------------------------------------------------------------------------- */
*, *::before, *::after{transition:all .3s ease-in-out;}
#mainav form *{transition:none !important;}

/* Navigation
--------------------------------------------------------------------------------------------------------------- */
nav ul, nav ol{margin:0; padding:0; list-style:none;}

#mainav, #breadcrumb, .sidebar nav{line-height:normal;}
#mainav .drop::after, #mainav li li .drop::after, #breadcrumb li a::after, .sidebar nav a::after{position:absolute; font-family:"FontAwesome"; font-size:10px; line-height:10px;}

/* Top Navigation */
#mainav{}
#mainav ul.clear{margin-top:3px;}
#mainav ul{text-transform:uppercase;}
#mainav ul ul{z-index:9999; position:absolute; width:180px; text-transform:none;}
#mainav ul ul ul{left:180px; top:0;}
#mainav li{display:inline-block; position:relative; margin:0 15px 0 0; padding:0;}
#mainav li:last-child{margin-right:0;}
#mainav li li{width:100%; margin:0;}
#mainav li a{display:block; padding:30px 0;}
#mainav li li a{border:solid; border-width:0 0 1px 0;}
#mainav .drop{padding-left:15px;}
#mainav li li a, #mainav li li .drop{display:block; margin:0; padding:10px 15px;}
#mainav .drop::after{top:35px; left:5px;}
#mainav li li .drop::after{top:15px; left:5px;}
#mainav ul ul{visibility:hidden; opacity:0;}
#mainav ul li:hover > ul{visibility:visible; opacity:1;}

#mainav form{display:none; margin:0; padding:0;}
#mainav form select, #mainav form select option{display:block; cursor:pointer; outline:none;}
#mainav form select{width:100%; padding:5px; border:1px solid;}
#mainav form select option{margin:5px; padding:0; border:none;}

/* Breadcrumb */
#breadcrumb{padding:10px 0; text-align:left; background:transparent !important;}
#breadcrumb ul{margin:0; padding:0 10px; list-style:none; text-transform:uppercase;}
#breadcrumb li{display:inline-block; margin:0 6px 0 0; padding:0;}
#breadcrumb li a{display:block; position:relative; margin:0; padding:0 12px 0 0; font-size:12px;}
#breadcrumb li a::after{top:3px; right:0; content:"\f101";}
#breadcrumb li:last-child a{margin:0; padding:0;}
#breadcrumb li:last-child a::after{display:none;}

/* Sidebar Navigation */
.sidebar nav{display:block; width:100%;}
.sidebar nav li{margin:0 0 3px 0; padding:0;}
.sidebar nav a{display:block; position:relative; margin:0; padding:5px 10px 5px 15px; text-decoration:none; border:solid; border-width:0 0 1px 0;}
.sidebar nav a::after{top:9px; left:5px; content:"\f101";}
.sidebar nav ul ul a{padding-left:35px;}
.sidebar nav ul ul a::after{left:25px;}
.sidebar nav ul ul ul a{padding-left:55px;}
.sidebar nav ul ul ul a::after{left:45px;}

/* Pagination */
.pagination{display:block; width:100%; text-align:center; clear:both;}
.pagination li{display:inline-block; margin:0 2px 0 0;}
.pagination li:last-child{margin-right:0;}
.pagination a, .pagination strong{display:block; padding:8px 11px; border:1px solid; background-clip:padding-box; font-weight:normal;}

/* Back to Top */
#backtotop{z-index:999; display:inline-block; position:fixed; visibility:hidden; bottom:20px; right:20px; width:36px; height:36px; line-height:36px; font-size:16px; text-align:center; opacity:.2;}
#backtotop i{display:block; width:100%; height:100%; line-height:inherit;}
#backtotop.visible{visibility:visible; opacity:.5;}
#backtotop:hover{opacity:1;}

/* Tables
--------------------------------------------------------------------------------------------------------------- */
table, th, td{border:1px solid; border-collapse:collapse; vertical-align:top;}
table, th{table-layout:auto;}
table{width:100%; margin-bottom:15px;}
th, td{padding:5px 8px;}
td{border-width:0 1px;}

/* Gallery
--------------------------------------------------------------------------------------------------------------- */
#gallery{display:block; width:100%; margin-bottom:50px;}
#gallery figure figcaption{display:block; width:100%; clear:both;}
#gallery li{margin-bottom:30px;}

/* Colours
--------------------------------------------------------------------------------------------------------------- */
body{color:#676767; background-color:#fff;}
a{color:#0077c2;}
a:active, a:focus{background:transparent;}/* IE10 + 11 Bugfix - prevents grey background */
hr, .borderedbox{border-color:#D7D7D7;}
label span{color:#FF0000; background-color:inherit;}
input:focus, textarea:focus, *:required:focus{border-color:#0077c2;}
.overlay{color:#0077c2; background-color:#0077c2;}
.overlay::after{color:inherit; background-color:rgba(0,0,0,.55);}

.btn, .btn.inverse:hover{color:#FFFFFF; background-color:#0077c2; border-color:#0077c2;}
.btn:hover, .btn.inverse{color:inherit; background-color:transparent; border-color:inherit;}

blockquote::before{color:rgba(0,0,0,.05);}

/* Rows */
.row0, .row0 a{color:#474747; background-color:#FFFFFF;}
.row1{color:#FFFFFF; border-color:transparent;}
.row2{color:#474747; background-color:#FFFFFF; border-color:transparent;}
.row3{color:#474747; background-color:#FFFFFF;}
.row4{color:#CBCBCB;}
.row5, .row5 a{color:#CBCBCB;}

/* Top Bar */
#topbar ul li{border-color:rgba(255,255,255,.2);}
#topbar > div:last-of-type li:first-child a{color:#0077c2;}

/* Header */
#header #logo a{color:inherit;}

/* Content Area */
.services article i{color:#0077c2; border-color:#D7D7D7;}
.services article:hover i{color:#FFFFFF; background-color:#0077c2; border-color:#0077c2;}

.excerpt .excerpttxt{color:inherit; background-color:#FFFFFF;}

/* Footer */
#footer .heading{color:#FFFFFF;}
#footer ul li .infobox{color:inherit; background-color:rgba(0,0,0,.5); border-color:rgba(255,255,255,.3);}
#footer ul li .infobox i{color:#FFFFFF; background:linear-gradient(to top right, #000000, #666666);}
#footer ul li .infobox i::after{border-color:rgba(255,255,255,.3);}

/* Quick Links */
.quicklinks{background-color:rgba(0,0,0,.5);}
.quicklinks a{color:inherit;}
.quicklinks ul li::after{color:rgba(255,255,255,.3);}

/* Navigation */
#mainav li a{color:inherit;}
#mainav .active a, #mainav a:hover, #mainav li:hover > a{color:#0077c2; background-color:inherit;}
#mainav li li a, #mainav .active li a{color:#FFFFFF; background-color:rgba(0,0,0,.6); border-color:rgba(0,0,0,.6);}
#mainav li li:hover > a, #mainav .active .active > a{color:#FFFFFF; background-color:#0077c2;}
#mainav form select{color:#FFFFFF; background-color:#000000; border-color:rgba(136,136,136,.5);/* #888888 */}

#breadcrumb a{color:#FFFFFF; background-color:transparent;}
#breadcrumb li:last-child a{color:#0077c2;}

.container .sidebar nav a{color:inherit; border-color:#D7D7D7;}
.container .sidebar nav a:hover{color:#0077c2;}

.pagination a, .pagination strong{border-color:#D7D7D7;}
.pagination .current *{color:#FFFFFF; background-color:#0077c2;}

#backtotop{color:#FFFFFF; background-color:#0077c2;}

/* Tables + Comments */
table, th, td, #comments .avatar, #comments input, #comments textarea{border-color:#D7D7D7;}
#comments input:focus, #comments textarea:focus, #comments *:required:focus{border-color:#0077c2;}
th{color:#FFFFFF; background-color:#373737;}
tr, #comments li, #comments input[type="submit"], #comments input[type="reset"]{color:inherit; background-color:#FBFBFB;}
tr:nth-child(even), #comments li:nth-child(even){color:inherit; background-color:#F7F7F7;}
table a, #comments a{background-color:inherit;}

/* Media Queries
--------------------------------------------------------------------------------------------------------------- */
@-ms-viewport{width:device-width;}

/* Max Wrapper Width - Laptop, Desktop etc.
--------------------------------------------------------------------------------------------------------------- */
@media screen and (min-width:978px){
    .hoc{max-width:978px;}
}

/* Mobile Devices
--------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width:900px){
    .hoc{max-width:90%;}

    #topbar{}

    #header{padding:30px 0 15px;}
    #header #logo{margin:0;}

    #mainav{}
    #mainav ul{display:none;}
    #mainav form{display:none;}

    #breadcrumb{}

    .container{}
    #comments input[type="reset"]{margin-top:10px;}
    .pagination li{display:inline-block; margin:0 5px 5px 0;}

    #footer{}

    #copyright{}
    #copyright p:first-of-type{margin-bottom:10px;}
}

@media screen and (max-width:750px){
    .imgl, .imgr{display:inline-block; float:none; margin:0 0 10px 0;}
    .fl_left, .fl_right{display:block; float:none;}
    .one_half, .one_third, .two_third, .one_quarter, .two_quarter, .three_quarter{display:block; float:none; width:auto; margin:0 0 30px 0; padding:0;}

    #topbar{padding-top:15px; text-align:center;}
    #topbar ul{margin:0 0 15px 0; line-height:normal;}

    #header{text-align:center;}
    #header #logo{margin-bottom:15px;}
}

@media screen and (max-width:450px){
    #topbar ul li{margin-bottom:2px; padding-right:0; border-right:none;}
}

/* Other
--------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width:650px){
    .scrollable{display:block; width:100%; margin:0 0 30px 0; padding:0 0 15px 0; overflow:auto; overflow-x:scroll;}
    .scrollable table{margin:0; padding:0; white-space:nowrap;}

    .inline li{display:block; margin-bottom:10px;}
    .pushright li{margin-right:0;}

    .font-x2{font-size:1.4rem;}
    .font-x3{font-size:1.6rem;}

    #pageintro li article{max-width:none; width:100%;}
    #pageintro li .heading{font-size:1.6rem;}
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* Slider styling */
.heading-slider {
    width: 100%;
    height: 160px;
    position: relative;
    overflow: hidden;
}

.slider-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.slide-text {
    position: relative;
    z-index: 2;

    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;

    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;

    text-shadow: 0 2px 6px rgba(0,0,0,0.8);

    max-width: 700px;
    margin: 0 auto;

    line-height: 1.35;
}

.slide-text a {
    color: #fff;
}

.slide:nth-child(1) { background: #f6f1e8; }
.slide:nth-child(2) { background: #f6f1e8; }
.slide:nth-child(3) { background: #f6f1e8; }

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: -1;
}

.slider-btn {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease;
}

.slider-btn:hover {
    background: #0077c2;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    z-index: 3;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #bbb;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background: #fff;
}

/* Contents bar styling */
.contents-bar {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    border: none !important;
    border-bottom: 1px solid #214245; /* Restores the desired line color */
}

.contents-nav {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.contents-item {
    position: relative;
    padding: 4px 10px 4px 10px;
    font-size: 14px;
    margin-right:5px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contents-item:hover {
    background: #f0f0f0;
    color: #007bff;
}

.contents-item.active {
    background: #0077c2;
    color: #fff;
    border-radius: 20px;
}

.person-card {
    border: 2px solid #e0e8eb;
    background: #f9faff;
    padding: 20px;
    margin: 0 auto 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 600px;
    font-size: 16px;
}
.person-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    color: #0077c2;
    font-weight: bold;
}
.person-card p {
    margin: 0 0 12px;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 10;
    border-radius: 4px;
    top: 100%;
    left: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.dropdown-content a:hover {
    background: #f0f0f0;
    color: #007bff;
}

/* Hamburger menu styling */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px 20px;
    background: #fff;
    border: none;
}

/* Responsive contents bar */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        left: 80%;
        position: relative;
    }

    .contents-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 10;
        text-align:right;
    }

    .contents-nav.active {
        display: flex;
    }

    .contents-item {
        padding: 4px 10px 4px 10px;
        font-size: 14px;
        margin-right:5px;
        width: 100%;
        text-align: left;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        min-width: 100%;
        background: #f8f8f8;
        padding-left: 20px;
    }

    .dropdown:hover .dropdown-content {
        display: none; /* Disable hover on mobile */
    }

    .dropdown.active .dropdown-content {
        display: block; /* Show when active class is toggled */
    }

    .dropdown-content a {
        padding: 10px 16px;
    }
}

/* Breadcrumbs styling */
.breadcrumbs {
    font-family: 'Times New Roman', serif;
    font-size: 14px;
    color: #fff;
    margin: 10px 0 0 10px;
    padding: 0;
    text-align: left;
    background: transparent !important;
    border: none !important;
    display: block;
}

.breadcrumbs ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-transform: uppercase;
}

.breadcrumbs li {
    display: inline-block;
    margin: 0 6px 0 0;
    padding: 0;
}

.breadcrumbs li a {
    display: block;
    position: relative;
    margin: 0;
    padding: 0 12px 0 0;
    font-size: 12px;
    color: #fff;
    text-decoration: none;
    background: transparent;
}

.breadcrumbs li a::after {
    top: 3px;
    right: 0;
    content: "\f101";
    font-family: "FontAwesome";
    font-size: 10px;
    line-height: 10px;
}

.breadcrumbs li:last-child a {
    margin: 0;
    padding: 0;
}

.breadcrumbs li:last-child a::after {
    display: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .breadcrumbs {
        margin: 5px 0 5px 5px;
        font-size: 12px;
    }
}

/* Sidebar styling */
.sidebar {
    background: linear-gradient(180deg, #0077c2, #007bff);
    border-radius: 10px;
    padding: 20px;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.sidebar h2 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
}

.sidebar a {
    color: #2d3748; /* dark readable text */
    text-decoration: none;
    transition: color 0.3s ease;
}
}

.sidebar a:hover {
    color: #005fa3; /* strong blue on hover */
    text-decoration: underline;
}

.sidebar .sdb_holder {
    margin-bottom: 20px;
}

.sidebar address {
    font-size: 14px;
    line-height: 1.6;
}

.sidebar article p {
    font-size: 14px;
    line-height: 1.6;
}

.sidebar .more a {
    color: #005fa3;
    font-weight: bold;
}

.sidebar .more a:hover {
    color: #003f6b;
}

/* Daily quote styling */
.daily-quote {
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 12px;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px;
}

.daily-quote p {
    margin-bottom: 6px;
    font-style: italic;
}

.daily-quote a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.daily-quote a:hover {
    text-decoration: underline;
}

/* Wrapper styling */
.wrapper {
    border: none !important;
}

/* Wrapper row1 styling */
.wrapper.row1 {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: block !important;
    background: #f3e6d8 !important;
}

/* Main body background tint */
.wrapper.row3 {
    background-color: #f4f6f8;
}

@media (max-width: 768px) {
    .slide {
        font-size: 20px;
    }

    .slide-text {
        font-size: 24px;
        padding: 10px 20px;
    }

    .sidebar {
        padding: 15px;
    }

    .wrapper.row1 {
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
    }
}

.content {
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow-x: hidden;
}

.content p {
    margin-bottom: 1em;
    white-space: normal;
}

.imgr {
    float: right;
    margin-left: 10px;
}

.imgl {
    float: left;
    margin-right: 10px;
}

.borderedbox {
    border: 1px solid #ddd;
    padding: 5px;
}

.inspace-5 {
    margin: 5px;
}

.clear::after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width: 768px) {
    .imgr, .imgl {
        float: none;
        width: 100%;
        max-width: 150px;
        margin: 10px 0;
    }
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 2px solid #fff;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 2em;
    cursor: pointer;
    text-decoration: none;
}

/* Login & status messages */
.message {
  text-align: center;
  padding: 12px 16px;
  margin: 15px auto;
  border-radius: 6px;
  font-size: 1rem;
  max-width: 500px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}


.content img.lightbox-image {
    cursor: pointer;
    max-width: 150px;
    max-height: 150px;
    width: 50%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.content img.lightbox-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 119, 194, 0.5);
}

@media (max-width: 768px) {
    .lightbox img {
        max-width: 95%;
        max-height: 95%;
    }
}

/* === Nav readability upgrade (paste at end) ========================= */
#mainav li a{
  /* make labels larger + thicker + wider click target */
  font-size:16px;                /* bump from ~14px */
  font-weight:600;               /* thicker */
  letter-spacing:.2px;
  color:#0f1e33;                 /* darker on white */
  padding:16px 12px !important;  /* shorter height, more side padding */
  border-radius:8px;
  border:1px solid transparent;
  line-height:1.25;
}
#mainav li a:hover,
#mainav li:hover > a{
  background:#eef5ff;            /* subtle hover bg */
  color:#003b73;
  border-color:#3b4354;
  text-decoration:none;
}
#mainav .active > a{
  background:#0077c2 !important; /* brand blue for current page */
  color:#fff !important;
  border-color:#0077c2;
  border-radius:8px;
}

/* dropdown items a touch larger + clearer */
#mainav li li a{
  font-size:15px;
  padding:10px 14px;
  border-radius:6px;
}
#mainav ul ul{
  box-shadow:0 8px 20px rgba(0,0,0,.15);
  background:#fff;
}

/* Contents bar / Community menu (your custom nav) */
.contents-item,
.dropdown-content a{
  font-size:16px;
  font-weight:600;
  letter-spacing:.2px;
  color:#0f1e33;
  padding:8px 12px;
  border-radius:8px;
  border:1px solid transparent;
}
.contents-item:hover,
.dropdown-content a:hover{
  background:#eef5ff;
  color:#003b73;
  border-color:#3b4354;
}
.contents-item.active{
  background:#0077c2;
  color:#fff;
}

/* keyboard focus ring (accessibility) */
#mainav li a:focus-visible,
.contents-item:focus-visible,
.dropdown-content a:focus-visible{
  outline:none;
  box-shadow:0 0 0 2px rgba(143,180,255,.28);
  border-color:#3b4354;
}

/* Mobile: keep it comfy */
@media (max-width:768px){
  #mainav li a,
  .contents-item,
  .dropdown-content a{
    font-size:17px;
    padding:10px 12px;
  }
}

.banner-btn {
    display: inline-block;
    background: #0077c2;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.banner-btn:hover {
    background: #005fa3;
}

/* existing styles... */


.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.article-card {
    display: block;
    background: #f5f7fa;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #0f1e33;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.article-grid {
    margin-top: 20px;
}

.article-card p {
    margin: 0;
    color: #444;
    font-size: 15px;
}

.article-card h3 {
    font-size: 18px;
}

@media (max-width: 700px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
}

.sidebar {
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    padding: 10px;
    font-size: 13px;
}

.sidebar-section {
    margin-bottom: 15px;
}

.sidebar-section h3 {
    font-size: 15px;
    margin: 0 0 6px 0;
    font-weight: 600;
    color: #0f1e33;
}

.sidebar-section p,
.sidebar-section li {
    font-size: 13px;
    margin: 2px 0;
    line-height: 1.4;
    color: #333;
}

.sidebar-section ul {
    padding-left: 14px;
    margin: 5px 0;
}

.sidebar-section a {
    color: #0077c2;
    text-decoration: none;
}

.sidebar-section a:hover {
    text-decoration: underline;
}
.content h2 {
    margin-top: 30px;
}

.content p {
    margin-bottom: 15px;
}
.content ul {
    margin: 10px 0 20px 20px;
}
.content {
    line-height: 1.6;
}

.resource-section {
    background: #eef7f7 !important;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.content .resource-section,
main .resource-section,
.resource-section {
    background-color: #eef7f7 !important;
}

/* === SITE STANDARD STYLES ================================= */

/* Content spacing */
.content{
    line-height:1.6;
}

.content h1{
    margin:20px 0 15px;
    font-size:26px;
    color:#0f1e33;
}

.content h2{
    margin-top:25px;
    font-size:20px;
    color:#0f1e33;
}

.content p{
    margin-bottom:12px;
    color:#444;
}

/* Lists */
.content ul{
    margin:10px 0 20px 20px;
}

/* Buttons (global) */
.btn-primary,
.btn-secondary{
    display:inline-block;
    padding:6px 10px;
    font-size:13px;
    border-radius:6px;
    text-decoration:none;
    font-weight:600;
}

.btn-primary{
    background:#0077c2;
    color:#fff;
}

.btn-primary:hover{
    background:#005fa3;
}

.btn-secondary{
    border:1px solid #ddd;
    color:#333;
}

.btn-secondary:hover{
    background:#f5f5f5;
}

/* Card style (used everywhere) */
.card{
    background:#f9fbfd;
    border:1px solid #e3e8ee;
    border-radius:8px;
    padding:15px;
    margin-bottom:15px;
}

/* Hover effect */
.card:hover{
    background:#f1f6fb;
    border-color:#d6e2f0;
}
.card.no-hover:hover {
    background: #f9fbfd;
    border-color: #e3e8ee;
}

/* === FINAL STANDARD SITE NAVIGATION ======================= */

.site-nav{
    background:#214245 !important;
    padding:12px 0;
    text-align:center;
    width:100%;
    display:block;
    border-bottom:1px solid rgba(255,255,255,.15);
}

.site-nav a{
    display:inline-block;
    color:#ffffff !important;
    margin:0 4px;
    padding:8px 14px;
    text-decoration:none;
    font-weight:600;
    font-size:15px;
    border-radius:6px;
    line-height:1.2;
}

.site-nav a:hover{
    background:rgba(255,255,255,.14);
    color:#ffffff !important;
    text-decoration:none;
}

.site-nav a.active{
    background:#0077c2;
    color:#ffffff !important;
}

@media screen and (max-width:700px){
    .site-nav{
        padding:8px 0;
    }

    .site-nav a{
        display:block;
        margin:4px 12px;
        padding:10px;
        font-size:15px;
    }
}

body {
    background-color: #f4f6f8;
}

/* Remove white gap between banner and page content */
.heading-slider,
.slider-container,
.slide,
#pageintro {
    margin-bottom: 0 !important;
}

.wrapper.row3 {
    margin-top: 0 !important;
    background-color: #f4f6f8 !important;
}

.wrapper.row3 .container {
    padding-top: 40px;
}

.row2 {
    background-color: #f4f6f8 !important;
    border-bottom: none !important;
}

/* === COMMUNITY SUPPORT FORUM ============================ */

.forum-page .forum-kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #667085;
    margin-bottom: 10px;
}

.forum-page .forum-lead {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.forum-page .forum-guidance ul {
    margin: 12px 0 16px 20px;
}

.forum-page .forum-guidance li {
    margin-bottom: 6px;
}

.forum-page .search-bar {
    margin: 16px 0 0;
}

.forum-page .search-bar input[type="text"],
.forum-page .mag-form input[type="text"],
.forum-page .mag-form textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 10px;
}

.forum-page .mag-form textarea {
    min-height: 150px;
    resize: vertical;
}

.forum-page .topic-list {
    margin-top: 16px;
}

.forum-page .topic-item {
    background: #fff;
    border: 1px solid #e3e8ee;
    border-left: 4px solid #e6eef3;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.forum-page .topic-item:hover {
    border-left-color: #214245;
    background: #f9fcff;
}

.forum-page .topic-item .meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.forum-page .topic-item .body a {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #0077c2;
    margin-bottom: 6px;
}

.forum-page .topic-item .body p {
    margin: 8px 0 0;
    color: #444;
}

.forum-page .forum-pagination {
    margin-top: 20px;
    text-align: center;
}

.forum-page .forum-pagination a {
    display: inline-block;
    padding: 6px 10px;
    margin: 0 3px;
    border: 1px solid #e3e8ee;
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
    text-decoration: none;
}

.forum-page .forum-pagination a.active {
    background: #214245;
    color: #fff;
    border-color: #214245;
}

/* === SUPPORT / NEXT STEP BOX ============================= */

.support-choice-box {
    text-align: center;
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 14px;
    padding: 22px;
    margin-top: 25px;
}

.support-choice-links {
    margin-top: 14px;
}

.support-choice-links a {
    display: inline-block;
    padding: 8px 12px;
    margin: 6px 10px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #d8e0e8;
    background: #ffffff;
    color: #333;
}

.support-choice-links a:first-child {
    background: #0077c2;
    color: #ffffff;
    border-color: #0077c2;
}
/* Support card tweak */
.card.support-card {
    background: #f4f8fb;   /* subtle tint */
    border-color: #d6e2f0;
}

.card.support-card p strong {
    color: #0f1e33;
    font-weight: 600;
}
/* === SUPPORT NOTE (default yellow) ===================== */

.content .card.support-note {
    background-color: #fff8e5;
    border: 1px solid #f0d98c;
    border-left: 4px solid #e0b84c;
    border-radius: 8px;
    transition: all 0.2s ease;
}

/* === HOVER STATE (blue highlight) ====================== */

.content .card.support-note:hover {
    background-color: #f1f6fb;
    border-color: #d6e2f0;
    border-left-color: #0077c2;
    transition: background 0.2s ease, border 0.2s ease;
}
.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.back-link:hover {
    color: #007BFF;
}
.advice-question {
    margin-bottom: 25px;
}

.advice-question-text {
    margin: 10px 0 15px;
    line-height: 1.6;
}

.advice-answers {
    margin-top: 18px;
}

.advice-answer {
    margin-top: 10px;
    background: #f7f7f7;
}

.advice-reply-form {
    margin-top: 18px;
}

.meta {
    color: #666;
    font-size: 0.9rem;
}
/* === FINAL COLOUR STRUCTURE ============================== */

/* 1. Header / logo background (dark fawn) */
.wrapper.row1 {
    background: #f3e6d8 !important;
}



#mainav {
    background: transparent !important;
}

/* Make nav text readable */
#mainav li a {
    color: #ffffff !important;
}

#mainav li a:hover,
#mainav li:hover > a {
    background: rgba(255,255,255,0.12);
    color: #ffffff !important;
}

/* 3. Main content background (soft grey) */
.wrapper.row3 {
    background: #f4f6f8 !important;
}
/* Header (logo area) */
.wrapper.row1 {
    background: #f3e6d8 !important;
}




}

/* Main page background */
.wrapper.row3 {
    background: #f4f6f8 !important;
}
/* === HEADER REFINEMENT ================================== */

/* Slim green navigation bar */
/* Clean navigation bar */
.site-nav {
    background: #214245 !important;
    padding: 6px 0 !important;
    text-align: center;
}

.site-nav a {
    display: inline-block;
    color: #ffffff !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    text-decoration: none;
}

/* Logo band */
.wrapper.row1 {
    background: #f3e6d8 !important;
    padding: 0 !important;
}

#header {
    padding: 8px 0 !important;
}

#header #logo {
    margin: 0 !important;
}

/* Site name */
#header #logo h1 {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

#header #logo h1 a {
    font-family: Georgia, serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #2c2c2c !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
}
/* Force slimmer navigation bar */
#mainav li a {
    padding: 10px 12px !important;
}
body {
    background: #f7f9fc;
    color: #2d3748;
    font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

a {
    color: #0077c2;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
.home-hero {
    background: #ffffff;
    padding: 24px;
    border-left: 5px solid #214245;
}

.home-kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #667085;
    margin-bottom: 10px;
}

.home-hero h1 {
    font-size: 30px;
    line-height: 1.25;
    margin-bottom: 15px;
}

.home-lead {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.home-action {
    margin-top: 22px;
}
.home-understanding {
    background: #f9fbfd;
    border: 1px solid #e3e8ee;
}

.home-understanding ul {
    margin: 12px 0 16px 20px;
}

.home-understanding li {
    margin-bottom: 6px;
}
/* Homepage cards */
.home-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.home-card {
    display: block;
    background: rgba(255,255,255,0.72);
    border: none;
    border-radius: 14px;
    padding: 16px;
    text-decoration: none;
    color: #0f1e33;
    transition: all 0.2s ease;
}

.home-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
}

.home-card span {
    font-size: 13px;
    color: #0077c2;
}

.home-card:hover {
    background: #f1f6fb;
    border-color: #d6e2f0;
    transform: translateY(-2px);
}
.advice-question {
  background: #ffffff;
  border: 1px solid #d8e6dd;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 28px;
}

.advice-question-text {
  background: #f3f8f5;
  border-left: 4px solid #6a9c78;
  padding: 16px;
  margin: 12px 0 20px;
  font-size: 1.05em;
}

.advice-answers {
  margin-top: 20px;
}

.advice-answer {
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-left: 4px solid #8aa6c1;
  padding: 16px;
  margin-top: 12px;
}

.advice-answer h4,
.advice-answers h4 {
  margin-top: 0;
}
.sidebar-section {
  margin-bottom: 20px;
  padding: 18px;
}

.sidebar-section h3 {
  margin-top: 0;
}


/* ARTICLE PAGE TEMPLATE - CARD STYLE */

.article-page .article-breadcrumb {
    max-width: 1060px;
    margin: 18px auto 8px;
    padding: 0 12px;
    font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

.article-page .article-breadcrumb a {
    color: #0077c2;
    text-decoration: none;
}

.article-page .article-page-card {
    padding: 16px;
}

.article-page .article-intro-card {
    padding: 16px 18px;
    margin-bottom: 14px;
}

.article-page .article-intro-card h1 {
    font-size: 1.3rem;
    line-height: 1.25;
    margin: 6px 0 8px;
}

.article-page .article-intro-card .small,
.article-page .small {
    font-size: 0.88rem;
    color: #666;
}

.article-page .article-thumb-card {
    padding: 8px;
    margin-bottom: 14px;
    max-width: 260px;
}

.article-page .article-thumb-card img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.article-page .article-content-card {
    margin-bottom: 16px;
}

.article-page .article-body {
    font-size: 0.96rem;
    line-height: 1.65;
}

.article-page .article-body p {
    background: #fff;
    border: 1px solid #e0e8eb;
    border-radius: 12px;
    padding: 12px 14px;
    margin: 0 0 12px;
}

.article-page .article-body h2,
.article-page .article-body h3 {
    background: #f7fbff;
    border: 1px solid #d6e9f4;
    border-radius: 12px;
    padding: 10px 14px;
    margin: 18px 0 10px;
    font-size: 1.08rem;
    line-height: 1.35;
}

/* Small extra info cards */
.article-page .info-card,
.article-page .famous-card {
    background: #fff;
    border: 1px solid #e0e8eb;
    border-radius: 12px;
    padding: 10px 12px;
    margin: 8px 0;
    font-size: 0.88rem;
    line-height: 1.5;
}

.article-page .info-card strong,
.article-page .famous-card strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 3px;
}


.article-page .article-body img,
.article-page .article-body table,
.article-page .article-body iframe {
    max-width: 100%;
}

.article-page .article-nav {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.article-page .article-image-card {
    background: #fff;
    border: 1px solid #e0e8eb;
    border-radius: 12px;
    padding: 6px;
    margin: 12px 0;
    max-width: 220px;   /* 👈 controls size */
}

.article-page .article-image-card img {
    width: 100%;
    height: 120px;      /* 👈 fixed height */
    object-fit: cover;  /* 👈 crops nicely */
    border-radius: 10px;
    display: block;
}
/* PUBLIC ARTICLES PAGE */

.public-articles-page .home-hero h1 {
    font-size: 1.45rem;
    line-height: 1.25;
}

.public-articles-page .searchbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 16px 0;
}

.public-articles-page .searchbar .input {
    flex: 1;
    min-width: 220px;
    padding: 10px 12px;
    border: 1px solid #ccd8dd;
    border-radius: 10px;
}

.public-articles-page .article-list-card {
    padding: 12px;
    margin-bottom: 14px;
}

.public-articles-page .article-list-inner {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.public-articles-page .mag-thumb {
    width: 120px;
    height: 86px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.public-articles-page .mag-head h2 {
    font-size: 1.08rem;
    line-height: 1.3;
    margin: 0 0 6px;
}

.public-articles-page .mag-body p {
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0 0 10px;
}

.public-articles-page .actions {
    margin-top: 8px;
}

@media (max-width: 700px) {
    .public-articles-page .article-list-inner {
        display: block;
    }

    .public-articles-page .mag-thumb {
        width: 100%;
        height: 130px;
        margin-bottom: 10px;
    }
}
/* ARTICLE PAGE BUTTONS */

.article-page .article-nav {
    margin-top: 22px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.article-page .article-nav .btn {
    display: inline-block;
    background: #0077c2;
    color: #fff !important;
    border: 1px solid #0077c2;
    border-radius: 8px;
    padding: 7px 11px;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: none;
}

.article-page .article-nav .btn:hover {
    background: #005fa3;
    border-color: #005fa3;
    color: #fff !important;
    text-decoration: none !important;
}

.article-page .article-nav .btn:nth-child(2) {
    background: #f7fbff;
    color: #24566b !important;
    border-color: #c8e2ec;
}

.article-page .article-nav .btn:nth-child(2):hover {
    background: #eaf5fb;
    color: #24566b !important;
}
/* FORM IMPROVEMENTS - PRIVATE MESSAGES + GENERAL FORMS */

.mag-form input,
.mag-form textarea {
    width: 100%;
    font-size: 15px;
    padding: 10px 12px;
    border: 1px solid #ccd8dd;
    border-radius: 10px;
    background: #fff;
    color: #2d3748;
    box-sizing: border-box;
}

.mag-form textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.5;
}

.mag-form input:focus,
.mag-form textarea:focus {
    outline: none;
    border-color: #0077c2;
    box-shadow: 0 0 0 2px rgba(0,119,194,0.08);
}


/* Private messaging*/
.private-message-page .mag-form textarea {
    min-height: 200px;
    height: 200px;
}
.dictionary-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.dictionary-entry {
    background: #fff;
    border: 1px solid #e0e8eb;
    border-radius: 12px;
    padding: 14px 16px;
}

.dictionary-entry h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0077c2;
}

.dictionary-entry p {
    margin: 0;
    line-height: 1.6;
    color: #444;
}
.dictionary-entry {
    background: #fff;
    border: 1px solid #e0e8eb;
    border-radius: 12px;
    padding: 16px 18px;
    transition: all 0.2s ease;
}

.dictionary-entry:hover {
    background: #fff !important;
    border-color: #d6e2f0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
    .article-list-card {
    position: relative;
}

.featured-tab {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;

    background: #e63946;
    color: #fff;
    font-size: 12px;
    font-weight: bold;

    padding: 6px 12px;
    border-radius: 999px; /* makes it pill-shaped */

    line-height: 1;
}
/* === WARMER, LESS CLINICAL COLOUR OVERRIDE =============== */

/* Main page background: warm, soft, less medical */
body,
.wrapper.row3 {
    background: #fbf8f4 !important;
    color: #302b26;
}

/* Cards: softer warm white */
.card,
.home-card,
.advice-question,
.advice-answer {
    background: rgba(255,255,252,0.88) !important;
    border: none !important;
    box-shadow: 0 10px 28px rgba(60,40,20,0.05);
}

/* Main accent colour: deep green instead of blue */
a,
.home-card span,
.back-link:hover,
.sidebar-section a {
    color: #3f6f58 !important;
    font-weight: 600;
}

a:hover,
.sidebar-section a:hover {
    color: #214245 !important;
    text-decoration: underline;
}

/* Hero card: keep the green accent */
.home-hero {
    background: #fffaf3 !important;
    border-left: 5px solid #214245 !important;
}

/* Softer homepage cards */
.home-card:hover {
    background: #f8f0e6 !important;
    border-color: #214245 !important;
    transform: translateY(-1px);
}

/* Buttons / primary actions */
.btn-primary,
.support-choice-links a:first-child {
    background: #214245 !important;
    border-color: #214245 !important;
    color: #ffffff !important;
}

/* Secondary buttons / soft links */
.btn-secondary,
.support-choice-links a {
    background: #fffaf3 !important;
    border-color: #d8c7b3 !important;
    color: #214245 !important;
}

/* Remove blue hover from support note */
.content .card.support-note:hover {
    background-color: #f8f0e6 !important;
    border-color: #d8c7b3 !important;
    border-left-color: #214245 !important;
}

/* Softer small text */
.home-kicker,
.meta {
    color: #6f6257 !important;
}
/* Stop single banner from visually jumping */
.heading-slider,
.slider-container,
.slide {
    transform: none !important;
    transition: none !important;
}

.slider-container {
    width: 100% !important;
}
/* Lock banner size so images cannot make it jump */
.heading-slider {
    height: 140px !important;
    overflow: hidden !important;
}

.slider-container,
.slide {
    height: 140px !important;
}

.slide img {
    width: 100% !important;
    height: 140px !important;
    object-fit: cover !important;
    display: block !important;
}
