:root { 
  --white-color: #ffffff; 
  --default-color: #1A347F;
  --accent-color: #1463a2;
  --gray-color: #8F958E;
  --light-gray-color:  #f8f8f8;
  --black-color: #000000;	
}


body{
    margin:0;
	padding: 0;
	color: var(--black-color);
    font-family: "Inter", sans-serif;
}

h1, h2, h3, h4, h5 {
   font-family: "Inter", sans-serif;
   font-weight:800;
}

ul.nav.navbar-nav.mtmg_nav {
    margin-top: 30px;
}

a{
    color: var(--default-color);
	text-decoration:none;
	transition: all 1s ease;
}

a:hover, a:focus{
	text-decoration:none;
	color:var(--black-color);
}

.background-blue {
    background-color: var(--default-color);
}
span.event-btn-label {
    float: left;
    margin-right: 10px;
}


.btn-blue {
    background-color: var(--default-color);
    color: var(--white-color);
    padding: 11px 15px;
    transition: background-color 0.3s ease;
}
.btn-blue:hover
{
    background-color: var(--accent-color);
    box-shadow: 0px 0px 5px 0px var(--black-color);
    color: #e9e9e9;
}
.btn-blue-outline {
    background: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color) !important;
    padding: 11px 15px;
    transition: background-color 0.3s ease;
}
.btn-blue-outline:hover {
    background-color: #3b93d9;
    border: 2px solid var(--white-color) !important;
}
.btn-blue:hover
{
    background-color: #1463a2;
    box-shadow: 0px 0px 5px 0px var(--black-color);
    color: #e9e9e9;
}
.text-blue {
    color: var(--default-color) ;
}
.guidance-description {
    font-size: 12px;
    color: #6a6a6a;
}

.hero-area-block {
    overflow: hidden;
}

.hero-area-block-home {
    overflow: hidden;
}

.hero-blue {
    width: 60%;
    position: absolute;
    top: 0%;
    height: 42vh;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
}
.hero-blue-home {
    width: 60%;
    position: absolute;
    top: 0%;
    min-height: 65vh;
    height: 100%;
    padding-right: 10px;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
} 

.hero-blue-sub {
    width: 60%;
    position: absolute;
    top: 0%;
    height: 42vh;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
}

section.head-strip img.logo {
    width: 140px;
}
.navbar-header.hd {
    height: 105px;
}

.x-item {
    display: block;
    font-size: 1.5em;
    height: 1em;
    width: 1em;
    text-align: center;
    line-height: 1;
    border-radius: 100%;
    color: red !important;
    text-decoration: none;
    font-weight: 700;
    border: 0;
}
.x-item:hover {
    height: 1em;
    width: 1em;
    text-align: center;
    line-height: 1;
    border-radius: 100%;
    color: #fff !important;
    background-color:red;
    font-weight: 700;
    cursor:pointer;
}

section.head-strip ul#menu-main-menu a {
    font-size: 13px;
    text-transform: capitilized;
    color: var(--black-color);
    padding: 10px 20px;
}

.navbar {
    margin-bottom: 0px;
    border-radius:0px;
}
button.navbar-toggle {
    border: 0px solid;
    margin-top: 40px;
    margin-right: 30px;
    background-color:var(--white-color);
}

span.icon-bar {
    color: var(--default-color);
    border-width: 2px;
    border-style: solid;
    border-image: initial;
}
.navbar-nav>li>a {
	letter-spacing: 1px;
	font-weight:600;
}
.normal-space {
   padding: 70px 0px 70px 0px;
}

.normal-space-half {
   padding: 100px 0px 40px 0px;
}

.info-vale-content {
    background: var(--light-gray-color);
    font-size: 10px;
    color: #666666;
    padding: 10px;
    /* Adds alignment rules */
    display: flex;
    align-items: center; 
    gap: 8px; /* Adjust this value for more or less space between icon and text */
}

.mgtop30 {
    margin-top: 30px;
}
.mgtop60 {
    margin-top: 60px;
}

.mg-top70 {
 margin-top: -70px;
}
.mgbot10px {
    margin-bottom: 10px;
}
.mgbot30px {
    margin-bottom: 30px;
}

.breadcrumbs a
 {
    margin-right: 15px;
}
img.icon-home-image {
    width: 95%;
    margin: auto;
}

.quick-view-box {
    padding: 25px;
    text-align: center;
}

.title-home-layer-1 {
    text-align: center;
    font-weight: 600;
    padding: 10px;
    font-size: 20px;
    display: inline-table;
}
.title-home-layer-2 {
    text-align: center;
    font-weight: 600;
    font-size: 20px;
    display: inline-table;
}
img.custom-bg-card {
    height: 150px;
    width: 150px;
}
.text-white {
    color:var(--white-color)
}
.title-box {
    vertical-align: middle;
    color: var(--white-color);
    font-size: 16px;
    text-align: center;
}
.image-icon-card {
    padding:10px;
    display:block;
    position:relative;
    background: var(--white-color);
}
.image-icon-card img.icon-image {
    width: 50px;
    display: block;
    margin: auto;
    height: 50px;
}
.image-icon-card {
    padding: 10px;
    display: block;
    position: relative;
    background: var(--white-color);
    width: 75px;
    margin: auto;
    height: 75px;
    border-radius: 50%;
}
.guidance-card-white .title-box {
   color: var(--default-color); 
   font-size:11px;
   font-weight:600;
   margin-bottom: 11px;
}


.guidance-card-white {
    text-align: center;
    padding: 30px 15px;
    width: 300px;
    background: #fff;
    border-radius: 10px;
    margin: auto;
}
.white-block-info
 {
    background: var(--white-color);
    padding: 10px 20px;
    color: var(--default-color);
    border-radius: 5px;
    width: fit-content;
    margin: 20px auto;
}

.phone-link-white {
    color: var(--white-color);
}
.phone-link-white:hover {
    color: var(--accent-color);
}


.quick-view-item {
    padding: 25px 40px;
    margin-bottom: 20px;
}
.card-item {
    background: var(--gray-color);
    padding:30px;
    border-radius:20px;
}

.title-section-light {
    color: #ffffff; 
    /* color: var(--default-color); */
    /* margin-bottom:25px; */
}
.center-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title-section-dark {
    color: #000000; 
    width: 447;
    height: 68;
    /* color: var(--default-color); */
    /* margin-bottom:25px; */
    display: flex;
}
.btn-second:hover {
    background: #ffc2b2;
}
/*********
    Card articles 
*******/
.card-articles {
    padding: 35px;
    border-radius: 0px;
    background-size: cover;
    height: 230px;
    color: #fff;
}
.article-head {
    font-size: 45px;
    padding: 10px 0px;
    font-weight: 700;
    line-height: 45px;
}
.date-pst {
    font-size: 19px;
    margin-bottom: 15px;
}
/*******/
/*************************/
.card-events {
    padding: 35px;
    border-radius: 0px;
    height: 230px;
    color: #fff;
    background: var(--default-color);
    
}
.event-head {
    font-size: 40px;
    padding: 5px 0px;
    font-weight: 700;
    line-height: 35px;
}
.right-event-content {
    width: 300px;
    position: absolute;
    right: 40px;
    bottom: 10px;
    font-size: 15px;
    color: var(--white-color);
    text-align: right;
    font-weight: 100;
    font-style: italic;
}
/************************/
h3.title-section-dark span {
  text-decoration: underline;
  text-decoration-color: #1A347F;
  text-underline-offset: 5px; /* Adjust this value as needed */
}
h3.title-section-light span {
  text-decoration: underline;
  text-underline-offset: 5px; /* Adjust this value as needed */
}
.n2-ss-layer.n2-ow.btn-slider-bottom {
    position: absolute !important;
    bottom: -20px !important;
}

.btn-second {
    background: var(--accent-color);
    font-size: 14px;
    border-radius: 30px;
    color: var(--white-color);
    padding: 10px 16px;
    position: relative;
}
span.rt-part {
    margin-left: 2px;
    position: absolute;
    margin-top: -3px;
}
.btn-addetive {
    height: 43px;
    width: 120px;
}
.menu-footer-menue-container ul.menu li a {
    color: #fff;
    letter-spacing: 1px;
    padding: 3px 0px;
    display: block;
}
.map-box {
    background: #9ad141;
    height: 370px;
    width: 100%;
}
img.img-foot-person {
    position: absolute;
    bottom: 0px;
    right: 10%;
    width: 500px;
}
.position-pre-home-foot {
    position: relative;
    min-height: 450px;
    background-attachment: fixed;
    background-size: cover;
    margin-top:80px;
}
.space-left-fade {
    background: #ffffffd9;
    height: 270px;
    width: 99%;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: anchor-center;
    padding-top: 25px;
}
.sp-left-content {
    text-align: center;
    height: 140px;
    font-size:22px;
}
.sp-left-content h4 {
    font-size:30px;
}
.sp-left-content p {
    color:var(--gray-color);
}
.subscribe-news input.wpcf7-form-control.wpcf7-email.form-control {
    width: 293px;
    border: 1px solid #e3e0e0;
    margin-left: 25px;
}
.subscribe-news {
       display: flex;
    align-items: baseline;
    justify-content: center;
}
.small-copyline aside.widget.widget_nav_menu {
    display: inline-flex;
    margin-right: 10px;
}
ul#menu-foot-policies {
    display: flex;
    list-style: none;
}
.menu-foot-policies-container ul#menu-foot-policies li.menu-item.menu-item-type-post_type.menu-item-object-page {
    border-right: 1px solid;
    padding-right: 9px;
    padding-left: 9px;
}
.menu-foot-policies-container ul#menu-foot-policies li.menu-item.menu-item-type-post_type.menu-item-object-page a {
    color: var(--white-color);
}
a.strong-white {
    color: #ffff;
    font-weight: 900;
    font-size: 17px;
    letter-spacing: 2px;
}
span.mid-rotater {
    border: 2px solid;
    padding: 7px 5px 5px 7px;
    border-radius: 50%;
    font-size: 10px;
    rotate: 335deg;
    display: inline-flex;
}
span.mg-space1 {
    margin-right: 6px;
}
img.card-img-top.wp-post-image {
    width: 100%;
    height: auto;
}
.archive-box-area .card.h-100 {
    padding: 0px;
    border: 1px solid #f8f8f8;
}
.archive-box-area .card-body.rotate-body {
    padding: 15px 12px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    margin-top: -15px;
    background: #fff;
    position: relative;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.cat-size-letter {
    text-align: center;
    height: 260px;
    font-size: 160px;
    background: var(--accent-color);
    color: var(--white-color);
}
.achive-address-pt {
    color: var(--gray-color);
    height: 40px;
    font-size: 12px;
}

h1.advanced-heading {
    padding-top: 15%;
    color: #fff;
    position: absolute;
    font-size: 140px;
    z-index: 100;
    width: 100%;
    text-align: center;
}

.inn-hero-pharm {
    object-fit: fill;
    width: 100%;
}
img.back-item {
    width: 100px;
    position: absolute;
    opacity: 0.2;
}


.breadcrumbs {
    background: var(--light-gray-color);
    padding: 6px 20px;
    font-size: 12px;
    color: var(--gray-color);
    margin-bottom: 10px;
    border-radius: 10px;
}
.staff-row {
   padding:5px 0px;
}
img.staff-image-profile {
    display: block; /* Makes it easier to control width/height */
    width: 100%; 
    filter: grayscale(90%); 
    transition: filter 0.5s ease-in-out; 
    object-fit: fill;
}

img.staff-image-profile:hover {
    filter: grayscale(0%); /* Or remove the filter: none; */
}
.staff-card {
    position: relative;
    height: 380px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    overflow:hidden;
    background: var(--accent-color);
    margin-bottom: 30px;
}
.title-box-bar {
    background: var(--white-color);
    padding: 20px;
    position: absolute;
    width: 100%;
    bottom: 0px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}
.title-box-bar h6 {
    font-weight:800;
}
.ab-address-title {
    font-size: 29px;
    font-weight: 900;
    text-transform: uppercase;
}
.ab-address-content {
    font-size: 40px;
}



.back-light {
    background-color:var(--light-gray-color);
}
.layer-featured {
    width: 100%;
    height: 300px;
    margin-top: -50px;
    border-radius: 30px;
    background-size: cover;
    background-attachment: fixed;

}
.featured-box-space {
    margin-top: -50px;
    height:300px;
    position:relative;
}

.date-promotion {
    display: flex;
    padding: 5px 0px 10px 0px;
}
.card-day-pt {
    position: relative;
    background: #ffffff5c;
    padding: 15px 18px;
    margin-right: 6px;
    color: var(--white-color);
    font-weight: 800;
    border-radius: 2px;
}
.featured-box-space.full-featured-image {
    height:500px;
    width:100%;
    padding:25px;
}
ul.foot-box-widget {
    list-style: none;
    padding: 0px;
    display: inline-flex;
}

.content-event-title {
    color: #fff;
    
}
.blog-info {
    margin-bottom:30px;
}
.event-info:hover {
    background: var(--accent-color);
}
.date-promotion.lower-bottom {
    position: absolute;
    bottom: 25px;
}
.staff-desc-box {
    position:relative;
}
.staff-desc-box {
    position: relative;
    font-size: 12px;
    padding: 5px 0px;
    color: var(--accent-color);
}
button.btn-animate {
    border: 0px;
    background: #fff;
    float:right;
}
.pd-content {
    padding-top: 10px;
}
button.btn-close.b-rad {
    border-radius: 50%;
    border: 0px;
    padding: 7px 12px;
    margin-bottom: 10px;
    font-weight: 800;
}
.about-contact {
    font-size: 17px;
    padding: 30px;
    background-color: var(--light-gray-color);
}
.about-address {
    padding: 40px;
}
h1.advanced-heading.m-h.align-part {
    text-align: right;
    font-size: 100px;
    width: 50%;
    right: 2px;
    padding-right: 20px;
}



footer {
	padding:40px 0px;
	background-size:cover;
	border-top: 1px solid #e3e3e3;
}
footer ul.menu.menu-social {
	display:flex;
	margin-top:30px;
}
footer ul.menu.menu-social a {
    margin-right: 9px;
    display: block;
    font-size: 23px;
    background: var(--white-color);
    padding: 10px 15px;
    color: var(--default-color);
    border-radius: 6px;
}
footer ul.menu.menu-social a:hover {
    background: var(--default-color);
    color: var(--white-color);
}
footer aside.widget.widget_media_image {
    margin-top: 20px;
}
footer h2.widget-title {   
    font-size: 16px;
    letter-spacing: 1px;
    color: var(--default-color);
}
footer ul.menu {
    list-style: none;
    padding: 0px;
}
footer ul.menu li a {
    display: block;
    margin-bottom: 5px;
    color: var(--black-color);
    font-size: 12px;
    margin-top: 5px;
}

footer a:hover{
    color:var(--accent-color);
}
.footer-level-2 {
    width: 100%;
    background-color: #fffff; /* Matches your brand deep blue */
    padding: 20px 0;
    color: #4A5565;
    box-sizing: border-box;
}
.asset-widgets2 {
    text-align:center;
    padding:10px;
    font-size:12px;
    color: #4A5565;
}
.card-gray-box {
    padding:30px;
    background-color:var(--light-gray-color);
}
h4.cont-title-phase {
    border-bottom: 1px solid var(--gray-color);
    padding-bottom: 13px;
    margin-bottom: 20px;
}
iframe.contact-form-map 
 {
    margin-top:40px;
    width: 100%;
    height: 380px;
    border-radius: 20px;
}
.card-item.service-pt {
    height: 140px;
    margin-bottom: 33px;
}
p.product.woocommerce.add_to_cart_inline
 {
    display: none;
}
.sp-wps-product-image-area a{ 
    pointer-events: none;
    cursor: default; /* Change cursor back from a hand icon */
}
a.lik-social:hover {
    background: var(--light-gray-color);
}

@media only screen and (max-width:1099px) {
  
    h1.advanced-heading.m-h.align-part {
        font-size: 80px;
    }
}
@media only screen and (min-width: 681px) {

    
    nav li.menu-item.dropdown.dropitems:hover ul.dropdown-menu {
        display: block;
    }
    .dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
        color: #fff;
        text-decoration: none;
        background-color: #444444;
        outline: 0;
    }
    
}
@media only screen and (max-width: 992px) {
    .card-events, .card-articles {
        margin-bottom:15px;
        padding: 20px;
        height: 280px;
    }
    img.img-foot-person {
        display: none;
    }
    h1.advanced-heading {
        font-size: 75px;
    }
    h1.advanced-heading.m-h.align-part {
        font-size: 60px;
    }
    .navbar-nav>li>a
     {
        background: var(--light-gray-color);
    }
}
@media only screen and (max-width: 680px) {

    
    ul li ul.dropdown-menu {
        display: block;
        width: 100%;
        padding-left: 17px;
        font-style: italic;
        background-color: #717171;
        box-shadow: none;
        border-radius: 0px;
        font-size: 10px;
        position: relative;
    }
	.imagery-box.imagery-box-4 img {
		width: 100%;
	}
	.space-left-fade {
        width: 100%;
        padding:5px;
    }
    .subscribe-news input.wpcf7-form-control.wpcf7-email.form-control {
        width: 270px;
        margin-left: 7px;
    }
    h1.advanced-heading {
        padding-top: 15%;
        font-size: 70px;
    }
    .list-of-maps {
        margin-top: 30px;
    }
    .side-block-container
     {
        width: 70%;
        height: 60%;
        overflow: hidden;
    }
    h1.advanced-heading.m-h.align-part {
        width: 90%;
    }
}
@media only screen and (max-width: 480px) {
  

    h1.advanced-heading {
        padding-top: 75%;
        font-size: 45px;
    }
    .side-block-container
     {
        width: 100%;
        height: 50%;
    }
    .full-v-area {
        height: 80vh;
    }
    .ab-address-content {
        font-size: 20px;
        padding: 8px 0px;
    }
    
    .content-event-container {
        bottom: 20px;
        left: 8%;
        padding: 5px 15px;
        width: 80%;
    }
    .subscribe-news input.wpcf7-form-control.wpcf7-email.form-control {
        width: 250px;
        margin-left: 2px;
    }
    .sp-left-content h4 {
        font-size: 22px;
    }
    .sp-left-content {
        font-size: 18px;
    }
    
    .head-amplify h3.widget-title {
        font-size:40px;
    }
}

.contact-menu li a{
    background:black;
    color:white !important;
    padding:10px 20px;
    border-radius:5px;
}

.contact-menu li a:hover{
background:#333;
}

/* Hero section wrapper */
.hero-section{
position:relative;
}

/* Floating card */
.hero-card{
position:absolute;
top:50%;
right:0;
transform:translateY(-50%);
width:350px;
background:#2b6cb0;
color:white;
padding:30px;
border-radius:8px;
z-index:10;
box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

/* Mobile: move card below slider */
@media (max-width:768px){
.hero-card{
position:relative;
transform:none;
width:90%;
margin:20px auto 0 auto;
}
}

/* default card */
.card-item{
padding:25px;
border-radius:0px;
height:100%;
color: #000000;
}

/* alternating styles */
.service-light{
/* background:transparent; */
background-color: rgba(36, 208, 255, 0.13);
color: #ffffff;
border:0px solid #ddd;
}

.service-dark{
background:#1A347F;
color:rgb(255, 255, 255);
}

/* spacing */
.service-description{
    margin-top:10px;
    text-align: center;
    font-size:12px;
}

/* Mobile Horizontal Scroll Logic */
@media (max-width: 767px) {
    .mobile-scroll-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 25px; /* Extra room for scroll gesture */
        scrollbar-width: none; /* Hides scrollbar on Firefox */
    }

    /* Hide scrollbar for Chrome, Safari and Opera */
    .mobile-scroll-row::-webkit-scrollbar {
        display: none;
    }

    .mobile-scroll-row .service-item {
        flex: 0 0 80%; /* Show 80% of the service card */
        max-width: 80%;
    }
    
    /* Optional: Ensures cards in the scroll have equal height */
    .mobile-scroll-row .card-item {
        height: 100%;
    }
}
/* Vertical spacing for Bootstrap 3 rows */
.service-gutter-fix .service-item {
    margin-bottom: 30px; /* This replaces the 'g-4' vertical spacing */
}



@media (max-width: 767px) {
/* Prevent row wrap and horizontal scrolling page cracks */
    .mobile-slider-row {
        display: block !important;
        overflow: hidden;
        position: relative;
    }

    /* Hide all service/guidance items by default on mobile */
    .mobile-slider-row .service-item {
        display: none;
        width: 100% !important;
        animation: fadeInSlide 0.3s ease-in-out;
    }

    /* Only show the item marked as active */
    .mobile-slider-row .service-item.active-slide {
        display: block !important;
    }

    /* Unhide the action controls on mobile layouts */
    .custom-slider-container .custom-slider-controls {
        display: block !important;
    }
    .mobile-slider-row .guidance-item {
        display: none;
        width: 100% !important;
        animation: fadeInSlide 0.3s ease-in-out;
    }
    .mobile-slider-row .guidance-item.active-slide {
        display: block !important;
    }
}
.custom-icon-box {
    font-size: 40px;
    color: var(--default-color);
}
.btn-read-guidance {
    background: #1A347F;
    font-size: 14px;
    border-radius: 30px;
    color: var(--white-color);
    padding: 10px 16px;
    position: relative;
    display: inline-block;
    margin-top: 15px;
}
/* WhatsApp Specific Green */
.thumbnail-whatsapp {
    background-color: #07983D !important; /* WhatsApp Green */
    border-color: #07983D;
    color: white; /* Optional: makes text white for better contrast */
}

.thumbnail-whatsapp i {
    font-size: 3rem;
    color: white;
    padding-top: 15px;
    display: block;
    text-align: center;
}

/* Email Specific Blue */
.thumbnail-email {
    background-color: #1A347F !important; /* Outlook/Email Blue */
    border-color: #1A347F;
    color: white;
    padding: 15px; /* Added because thumbnail-email was missing standard padding */
    border: 1px solid #ddd;
    border-radius: 4px;
}

.thumbnail-email i {
    font-size: 3rem;
    color: white;
    padding-top: 15px;
    display: block;
    text-align: center;
}

/* .icon-prescription-caption{
    height: 58px;
    width: 58px;
} */

/* 1. Add vertical padding to the section */
.prescription-section {
    padding: 60px 0; /* Adjust the 60px to your preferred gap size */
}

/* 2. Set specific dimensions and center content */
.custom-prescription-card {
    width: 100%;
    max-width: 408px;
    height: 421px;
    margin: 0 auto 30px; /* Centers the card in its column and adds bottom spacing */

    /* Flexbox for vertical and horizontal centering of content */
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    text-align: center;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px; /* Optional: cleaner look */
    overflow: hidden;
}
.heading-prescription-card {
    width: 100%;
    max-width: 408px;
    height: 421px;
    margin: 0 auto 30px; /* Centers the card in its column and adds bottom spacing */

    /* Flexbox for vertical and horizontal centering of content */
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    text-align: left;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px; /* Optional: cleaner look */
    overflow: hidden;
    padding-left: 20px;
}

.custom-pharmacy-card{
    width: 100%;
    /*width: 351px;*/
    /*height: 408px;*/
    display: flex;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 10px;
    border-radius: 8px; /* Optional: cleaner look */
    overflow: hidden;
}

/* Remove the dot before 'a' */
.custom-pharmacy-card a {
    color: #1A347F;
    text-decoration: none; /* Optional: removes underline */
    font-weight: bold;    /* Optional: makes it pop more */
}

/* Good practice: Add a hover state */
.custom-pharmacy-card a:hover {
    color: #12245a; /* A slightly darker blue for when you hover */
}

.custom-pharmacy-card img {
    width: 351px;
    height: 286px;
}

/* IMAGE WRAPPER */
.pharmacy-image {
    width: 100%;
    height: 286px;

    overflow: hidden;
}

/* IMAGE */
.pharmacy-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

/* CONTENT */
.pharmacy-content {
    flex: 1;

    padding: 24px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.desktop-hide {
    display:block;
}

/* HEADING */
.pharmacy-content h3 {
    font-size: 24px;
    font-weight: 600;

    color: #111;

    margin: 0 0 20px;
}

/* LINK */
.pharmacy-content a {
    color: #1A347F;

    text-decoration: none;

    font-size: 18px;
    font-weight: 500;

    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ICON */
.pharmacy-content a i {
    font-size: 18px;
}

/* 3. Adjusting the Icons inside the fixed-size cards */
.custom-prescription-card i {
    font-size: 80px; /* Makes the icons large and prominent */
    margin-bottom: 20px;
}

/* 4. Fix for text inside the colored thumbnails */
.thumbnail-whatsapp, .thumbnail-email {
    color: #ffffff !important;
}

.thumbnail-whatsapp h3, .thumbnail-email h3 {
    color: #ffffff;
    font-weight: bold;
}

/* Make paragraphs white in the colored cards */
.thumbnail-whatsapp p , 
.thumbnail-email p {
    color: #ffffff !important;
    opacity: 0.9; /* Optional: slightly softens the white so it's easier to read */
}

/* Optional: If you want the 'Contact Us' button text to stay white too */
.btn-default {
    color: #333 !important; /* Keeps button text dark for contrast against the light button */
    background-color: #ffffff;
    border: none;
    padding:11px 15px;
}
.btn-default:hover
{
    background-color: #ffffff;
    box-shadow: 0px 0px 5px 0px var(--black-color);
}
/* Ensure the hamburger icon is visible */
.navbar-toggler {
    border-color: rgba(0,0,0,0.1);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-text .navbar-nav {
    flex-direction: row; /* Keeps contact links side-by-side even on mobile if needed */
}

.navbar-text .nav-link {
    padding-left: 1rem !important;
    padding-right: 0;
}
.navbar-brand img.logo {
    display: block;
}

.card-announcements {
    background-color: #f9f9f9; /* The subtle shading */
    opacity: 0.95; /* Slightly transparent for a softer look */
    border-left: 5px solid #25D366 !important; /* Your specific green */
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Soft shadow */
    border-radius: 4px; /* Optional: rounds the right corners slightly */
    height: 100%; /* Ensures all cards in a row are the same height */
    color: black;
}

/* Hover effect to make it feel interactive */
.link-card-articles:hover .card-announcements {
    background-color: #f1f1f1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Ensure the title and text look clean */
.announcement-head h5 {
    margin-top: 0;
    color: #333;
}

.contact-section {
    /* Creates the 75% Blue / 25% White background split */
    background: linear-gradient(to right, #1A347F 75%, #ffffff 25%);
    padding: 80px 0;
    position: relative;
}

.contact-container {
    background: #ffffff;
    border-radius: 8px;
    /* overflow: hidden; */
    display: flex;
    flex-wrap: wrap;
}

.contact-info-side {
    background-color: #1A347F;
    color: white;
    padding: 40px;
    
    /* Change: Allow shrinking and set a flexible basis */
    flex: 1 1 60%; 
    
    /* Ensure long text doesn't break the container */
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-width: 0; /* Important: Allows flex items to shrink below their content size */
}
.head-amplify h3.widget-title {
    font-size:90px;
    color:var(--default-color);
}
.promo-title {
    display:none;
}
@media (max-width: 768px) {
    .contact-info-side {
        flex: 0 0 100%; /* Take up full width on mobile */
        padding: 20px;
    }
}

.contact-form-side {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 40px;
    flex: 0 0 40%;
}

/* Responsive fix for mobile */
@media (max-width: 991px) {
    .contact-section {
        background: #1A347F; /* Solid blue on mobile */
    }
    .contact-info-side, .contact-form-side {
        flex: 0 0 100%;
    }
}
.card-times {
    background-color: #1C398E;
    opacity: 0.95;
    border-left: 5px solid #ffffff !important;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    height: fit-content;
    
    /* FIX: Remove fixed width and use these instead */
    width: 100%;        /* Allow it to take up available space */
    max-width: 460px;   /* ...but never let it get larger than 460px */
    box-sizing: border-box; /* Ensures padding doesn't add to the width */
    
    color: white;
}
.clinic-section {
    position: relative;
    background-color: #ffffff; /* The white background where the photo doesn't stretch */
    min-height: 500px; /* Adjust based on your needs */
    overflow: hidden;
}

/* Positioning the plugged-in image */
.clinic-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    /* Set width to something like 55% so it covers the left 1/3 (33.3%) 
       and extends into the 2/3 area, but stops, leaving the far right white */
    width: 55%; 
    object-fit: cover;
    z-index: 0;
}

/* Ensure the Bootstrap grid sits on top of the absolute image */
.clinic-section .container-fluid,
.clinic-section .row {
    position: relative;
    z-index: 1;
    min-height: inherit; /* Inherits the 500px minimum height */
}

/* The 2/3 Blurred Container */
.blurred-zone {
    background: rgb(255 255 255 / 56%);
    backdrop-filter: blur(12px); /* Blurs BOTH the image underneath and the white background */
    -webkit-backdrop-filter: blur(12px); /* Safari support */
    border-left: 1px solid rgba(255, 255, 255, 0.4); /* Optional: Gives a sharp glass-edge effect separating it from the 1/3 clear side */
    display: flex;
    align-items: center; /* Centers the text vertically */
    padding: 60px 5%; /* Adds breathing room around the text */
}

.glossy-content {
    max-width: 600px; /* Prevents text from stretching too far on very wide screens */
    /* If you want an extra card around the text inside the blur, add background/padding here */
}

.p-promo-sction .newsletter-banner-inner-layout {
    height: 340px;
}
.event-single-grid-framework {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 992px) {
    .event-single-grid-framework {
        grid-template-columns: 7fr 3fr; /* 70% content area / 30% logistics sidebar */
    }
}

/* Image containment */
.event-single-hero-image-box {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}
.event-single-img-element {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 500px;
}

/* Sidebar Logistics styling */
.event-logistics-sidebar-card {
    background-color: #f9f9f9; /* or match your project theme palette */
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    align-self: start;
}
@media (min-width: 992px) {
    .event-sidebar-sticky-wrapper {
        position: sticky;
        top: 2rem; /* Anchors the card nicely when scrolling down long content fields */
    }
}

.event-meta-logistics-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.event-meta-logistics-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.event-logistics-icon-frame {
    font-size: 1.25rem;
    color: #4a4a4a; /* Adjust matching your primary highlight colors */
}
.event-logistics-text-data {
    display: flex;
    flex-direction: column;
}
.event-logistics-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
}
.event-logistics-value {
    font-size: 1rem;
    font-weight: 500;
}





/* Dropdown Positioning Base */
.event-calendar-dropdown-wrapper {
    position: relative;
    width: 100%;
}

/* Hidden state by default */
.event-calendar-dropdown-menu {
    display: none;
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    z-index: 99;
}

/* Active state triggered by our JavaScript function toggle */
.event-calendar-dropdown-menu.show-menu {
    display: block;
}

/* Menu items matching horizontal flow theme */
.event-calendar-dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 0.65rem 1.25rem;
    color: #333333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.event-calendar-dropdown-menu li a:hover {
    background-color: #f5f5f5;
    color: #000000;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .clinic-image {
        width: 100%; /* On mobile, let the image cover the whole width */
    }
    .blurred-zone {
        background: rgba(255, 255, 255, 0.6); /* Make it slightly more opaque on mobile for readability */
    }
    
    .head-amplify h3.widget-title {
        font-size:60px;
    }
}

.slidercontainer {
    width: 100%;
    overflow: hidden;
}

.sliders {
    width: 100%;
}

/* SECTION */
.latest-articles-section {
    padding: 100px 0;
}

/* ROW */
.latest-articles-layout {
    display: flex;
    align-items: center;
    row-gap: 40px;
}

/* INTRO BLOCK */
.articles-intro {
    height: 460px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-right: 40px;
}

/* TITLE */
.articles-intro h3 {
    font-size: 36px;
    line-height: 40px;
    font-weight: 700;

    color: #101828;

    margin-bottom: 14px;
}

.articles-intro h3 span {
    color: #000000;
}

/* BLUE LINE */
.title-line {
    width: 96px;
    height: 4px;
    background: #1C398E;
    margin-bottom: 14px;
}

.title-line-light {
    width: 96px;
    height: 4px;
    background: white;
    margin-bottom: 14px;
}

/* DESCRIPTION */
.articles-intro p {
    font-size: 16px;
    line-height: 24px;

    color: #4A5565;

    margin-bottom: 40px;
}

/* VIEW ALL BUTTON */
.view-all-btn {
    width: 194px;
    height: 60px;

    background: #2C2C2C;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #F5F5F5;
    text-decoration: none;

    font-size: 24px;
}
.team-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    height: 310px;
}
.team-card h3 {
    font-size: 20px;
    font-weight: 600;
}
.team-card h5 {
    font-size: 18px;
    font-weight: 600;
}
.team-card .desc-pt {
    font-size: 15px;
    height: 120px;
}

/* ARTICLE CARD */
.article-card {
    background: #fff;

    border-radius: 4px;

    overflow: hidden;

    box-shadow: 0px 4px 4px rgba(0,0,0,0.25);

    height: 460px;

    display: flex;
    flex-direction: column;
}
.team-image {
    height: 300px;
    overflow: hidden;
}
.team-image img {
    width: 100%;
}
/* IMAGE */
.article-image {
    height: 211px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CONTENT */
.article-content {
    padding: 24px 16px;
}
.article-content.fldirect {
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* META */
.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 12px;
    color: #6A7282;

    margin-bottom: 15px;
}

/* TITLE */
.article-content h3 {
    font-size: 18px;
    line-height: 22px;

    font-weight: 700;

    color: #101828;

    margin-bottom: 10px;
}

/* EXCERPT */
.article-content p {
    font-size: 14px;
    line-height: 20px;

    color: #4A5565;

    margin-bottom: 24px;
}

/* BUTTON */
.article-btn {
    margin-top: auto;

    width: 130px;
    height: 40px;

    background: #2C2C2C;

    border-radius: 3px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: #F5F5F5;

    text-decoration: none;

    font-size: 16px;
}

/* PREVENT PAGE OVERFLOW */
body,
html {
    overflow-x: hidden;
}

/* MOBILE SCROLL CONTAINER */
@media (max-width: 768px) {

    .mobile-scroll-row {
        flex-wrap: nowrap !important;

        overflow-x: auto;
        overflow-y: hidden;

        width: 100%;

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding-left: 20px;
        padding-right: 20px;

        box-sizing: border-box;

        scroll-snap-type: x mandatory;

        -webkit-overflow-scrolling: touch;
    }

    /* REMOVE BOOTSTRAP COLUMN PADDING ISSUES */
    .mobile-scroll-row .service-item {
        padding-left: 8px;
        padding-right: 8px;

        flex: 0 0 85%;
        max-width: 85%;

        scroll-snap-align: start;
    }
}

/* --- Global Rules for Custom Layout --- */
.articles-page-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    background: #FFFFFF;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

/* --- Hero Section --- */
.articles-hero {
    position: relative;
    width: 100%;
    height: 308px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
                linear-gradient(0deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.66)), 
                url('unnamed-3.jpg') no-repeat center/cover;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay-panel {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    background: rgba(26, 52, 127, 0.95);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 28px 0px 0px 22px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-left: auto;
    width: 55%;
    padding-right: 5%;
}

.hero-content h1 {
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: 0.263672px;
    color: #FFFFFF;
    margin: 0 0 7px 0;
}

.hero-content p {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0.0703125px;
    color: #FFFFFF;
    margin: 0;
}

.social-block.soc-h a {
    background: #ffffffd9;
    margin-right: 10px;
    margin-top: 10px;
    padding: 5px 11px;
    font-size: 25px;
    border-radius: 3px;
}

/* --- Content Titles --- */
.section-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 60px auto 40px auto;
    text-align: center;
}

.section-title-container h2 {
    font-weight: 700;
    font-size: 36px;
    line-height: 40px;
    letter-spacing: 0.369141px;
    color: #101828;
    margin: 0;
}

.title-underline {
    width: 96px;
    height: 4px;
    background: #1C398E;
}

/* --- Latest Article Showcase --- */
.latest-article-section {
    padding: 0 77px;
}

.latest-article-panel {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 48px;
    background: #FFFFFF;
    opacity: 0.95;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.05);
    padding: 20px;
    border-radius: 4px;
}

.latest-image {
    width: 484px;
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    flex-shrink: 0;
}

.latest-text-flow {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    flex-grow: 1;
}

.latest-heading-group h3 {
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #101828;
    margin: 0 0 8px 0;
}

.latest-heading-group .subheading {
    font-weight: 400;
    font-size: 18px;
    color: #6A7282;
}

.latest-excerpt {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #1E1E1E;
}

/* --- Button Styling --- */
.custom-btn {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    gap: 8px;
    background: #2C2C2C;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.custom-btn span {
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #F5F5F5;
}

.custom-btn .btn-arrow {
    border: none;
    color: #F5F5F5;
}

.custom-btn:hover {
    background: #1C398E;
}

/* --- Grid Section --- */
.more-articles-section {
    padding: 0 77px 80px 77px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.grid-card {
    background: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 211px;
    background-size: cover;
    background-position: center;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 16px;
    gap: 15px;
}

.card-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    line-height: 16px;
    color: #6A7282;
}

.card-text h4 {
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: -0.439453px;
    color: #101828;
    margin: 0 0 10px 0;
}

.card-text p {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.150391px;
    color: #4A5565;
    margin: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .latest-article-panel {
        flex-direction: column;
    }
    .latest-image {
        width: 100%;
    }
    .hero-overlay-panel {
        width: 100%;
        border-radius: 0;
    }
    .hero-content {
        width: 90%;
        padding: 0 5%;
    }
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .latest-article-section, .more-articles-section {
        padding: 0 20px 40px 20px;
    }
}

.articles-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(341px, 1fr));
    gap: 34px; /* Derived from left coordinates offset spacing in design file */
    width: 100%;
    max-width: 1092px; /* Matches exact design Frame 14 width boundaries */
    margin: 0 auto;
    padding: 20px 0;
}

/* --- Container Frame Config --- */
.figma-card-container {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    width: 341.33px;
    height: 460px;
    background: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
}

/* --- Image Auto Layout Element --- */
.card-image-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px;
    width: 341.33px;
    height: 211px;
    overflow: hidden;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.figma-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Content Auto Layout Frame --- */
.card-text-content-flow {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 16px;
    gap: 15px;
    width: 341.33px;
    height: 249px;
    border-radius: 0px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    box-sizing: border-box;
}

/* --- Date / Meta Group Styling --- */
.card-date-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 12px;
    width: 289.33px;
    height: 16px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.meta-date-text, 
.meta-bullet, 
.meta-read-time {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #6A7282;
}

/* --- Heading & Excerpt Layout Block --- */
.card-text-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0px;
    gap: 10px;
    width: 288px;
    height: 115px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.card-title-heading {
    width: 272px;
    height: 45px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: -0.439453px;
    color: #101828;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-excerpt-text {
    width: 288px;
    height: 60px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.150391px;
    color: #4A5565;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* --- Interactive Action Button --- */
.card-action-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px;
    gap: 8px;
    width: 130px;
    height: 40px;
    background: #2C2C2C;
    border-radius: 3px;
    text-decoration: none;
    box-sizing: border-box;
    flex: none;
    order: 2;
    flex-grow: 0;
    transition: background-color 0.2s ease-in-out;
}

.btn-text-label {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #F5F5F5;
}

.card-btn-icon {
    font-size: 14px;
    color: #F5F5F5;
    display: flex;
    align-items: center;
}

.card-action-btn:hover {
    background: #1C398E; /* Added visual change feedback highlighting selection */
}

/* ==========================================================================
   Figma Design Token Structure - Events Framework Layout Document
   ========================================================================== */

/* Page Global Base Context Overrides */
.figma-events-page-wrapper {
    width: 100%;
    min-height: 100vh;
    background-color: #FFFFFF;
    position: relative;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* --- 1. Top Navigation Bar Layout Frame (Frame 16 Variables) --- */
.events-navigation-frame {
    width: 100%;
    height: 122px;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.nav-inner-container {
    width: 1440px;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 15px 30px;
    gap: 40px; /* Scaled cleanly for fluid presentation metrics */
    box-sizing: border-box;
}

.nav-logo-block {
    width: 170px;
    height: 92px;
    flex: none;
}

.nav-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-links-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 31px;
    height: 22px;
}

.nav-item {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    text-transform: capitalize;
    color: #000000;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.nav-item:hover,
.nav-item.active-token {
    color: #1C398E;
}

.nav-action-block {
    flex: none;
}

.nav-phone-btn {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px;
    gap: 8px;
    width: 133px;
    height: 40px;
    background: #2C2C2C;
    border: 1px solid #2C2C2C;
    border-radius: 3px;
    text-decoration: none;
}

.nav-btn-icon {
    font-size: 14px;
    color: #F5F5F5;
    display: flex;
    align-items: center;
}

.nav-btn-text {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #F5F5F5;
}

/* --- Top Background Bar Blueprint Element (Rectangle 8 Blueprint Variable) --- */
.top-accent-background-bar {
    width: 100%;
    height: 189px;
    background: #1A347F;
    border-radius: 4px;
    margin-top: -20px;
    position: relative;
    z-index: 1;
}

/* --- 2. Main Content Card List Track Components (Card Grid Content List Context) --- */
.events-grid-content-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 64px;
    gap: 48px;
    max-width: 1200px;
    background: #FFFFFF;
    border-radius: 4px;
    margin: -100px auto 64px auto; /* Pulls container dynamically upward into accent background frame */
    position: relative;
    z-index: 5;
    box-sizing: border-box;
}

/* Container Title Block Header Typography Elements */
.events-section-title-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1px 0px;
    gap: 14px;
    max-width: 420px;
}

.events-section-heading {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 40px;
    letter-spacing: 0.369141px;
    color: #101828;
    margin: 0;
}

.events-section-accent-indicator {
    width: 96px;
    height: 4px;
    background: #1C398E;
    border-radius: 0px;
}

/* Cards Stack System Track Layout Grouping Element */
.events-cards-vertical-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 24px;
    width: 1072px;
    max-width: 100%;
}

/* Horizontal Card Matrix Struct Frame Row Container Component Box Token */
.event-horizontal-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 24px;
    gap: 24px;
    width: 1072px;
    max-width: 100%;
    min-height: 211px;
    background: #FFFFFF;
    border: 1px solid #AEBBE3;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-horizontal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 24px rgba(26, 52, 127, 0.08);
}

/* Graphic Image Asset Box Window Frame */
.event-card-image-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
    width: 160px;
    min-width: 160px;
    height: 160px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #F9FAFB;
}

.event-img-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card Information Body Fluid Box Space Frame Container Element */
.event-card-body-flow {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 16px;
    width: 840px;
    flex-grow: 1;
}

/* Header Flex Layout Alignment Structural Row Inside Body */
.event-card-header-flex-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    gap: 10px;
    width: 100%;
}

.event-card-main-title {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #1E1E1E;
    margin: 0;
}

/* Calendar Element Box Inline Layout Parameters Modules */
.event-calendar-badge-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 10px;
    min-width: 154px;
}

.event-calendar-icon {
    font-size: 20px;
    color: #1E1E1E;
    display: flex;
    align-items: center;
}

.event-calendar-date-label {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    color: #6A7282;
}

/* Descriptive Paragraph Excerpt Text Style Elements Block */
.event-card-excerpt-paragraph {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #757575;
}

.event-card-excerpt-paragraph p {
    margin: 0;
}

/* Functional Action Action Button Anchor Module Layout Properties */
.event-card-action-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px;
    gap: 8px;
    width: 126px;
    height: 40px;
    background: #1A347F;
    border-radius: 3px;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.15s ease-in-out;
}

.event-btn-label {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #F5F5F5;
}

.event-btn-arrow-icon {
    font-size: 14px;
    color: #F5F5F5;
    display: flex;
    align-items: center;
}

.event-card-action-button:hover {
    background-color: #12245A;
}

.no-events-fallback-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #6A7282;
    padding: 20px 0;
}

/* --- 3. Interactive Promotions Banner Component (Page Newsletter Config Tokens) --- */
.page-newsletter-banner-section {
    width: 100%;
    max-width: 1200px;
    background: linear-gradient(103.87deg, #1C398E 38.89%, #1B2B59 99.63%);
    border-radius: 4px;
    margin: 64px auto;
    position: relative; /* Acts as anchor boundary layer frame for internal graphical overflow styling shapes */
    box-sizing: border-box;
}

.newsletter-banner-inner-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 64px;
    min-height: 343px;
    width: 100%;
    box-sizing: border-box;
}

/* Headings Container Flow Wrapper Node */
.newsletter-text-content-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 20px;
    max-width: 622px;
    position: relative;
    z-index: 3;
}

.newsletter-text-content-heading i {
        font-size: 30px;
}

.newsletter-main-heading-title {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0;
}

.newsletter-subheading-subtitle {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    color: #FFFFFF;
    margin: 0;
}
.event-latest-card {
    position: relative;
    margin-bottom: -190px;
    display: block;
    z-index: 1000;
    padding: 0px;
    background: var(--white-color);
    box-shadow: 1px 1px 3px #000000;
}


.event-back-feature {
    background-size: cover !important;
    background-position: center !important;
    height: 400px;
    background-repeat: no-repeat !important;
}

/* Container layout to organize and space the buttons */
.banner-button-group {
    display: flex;
    gap: 12px; /* Spaces the buttons evenly */
    align-items: center;
}

/* Action Target Group Elements Base Layout Parameters */
.newsletter-action-button-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    z-index: 3;
}

.newsletter-view-promotions-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px;
    gap: 8px;
    width: 239px;
    height: 48px;
    background: #FFFFFF;
    border-radius: 4px;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease-in-out;
}

.newsletter-btn-text-content {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    color: #1C398E;
}

.newsletter-btn-arrow-icon {
    font-size: 16px;
    color: #1C398E;
    display: flex;
    align-items: center;
}

.newsletter-view-promotions-btn:hover {
    background-color: #F4F6FC;
}

/* Graphical Overflow Image Window Overlay Elements Module Frame Configuration Parameters */
.newsletter-floating-graphic-window {
    /* Remove position: absolute, right, bottom, etc. */
    width: 357px;
    min-height: 100px; /* Let it shrink/grow naturally if needed */
    z-index: 1;
    
    /* Force the buttons to display neatly inside this box */
    display: flex;
    gap: 12px; /* Adds space between the two buttons */
    justify-content: flex-end; /* Aligns them to the right side */
    align-items: center;
}

.newsletter-graphic-asset {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25)) drop-shadow(-2px -2px 4px rgba(0, 0, 0, 0.25));
    border-radius: 4px 4px 0px 0px;
}

/* ==========================================================================
   Responsive Viewport Refactoring Configuration Rules Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
    .nav-inner-container,
    .events-grid-content-list,
    .newsletter-banner-inner-layout {
        max-width: 95%;
    }
}

@media (max-width: 1024px) {
    .events-navigation-frame {
        height: auto;
        padding: 20px 0;
    }
    
    .nav-inner-container {
        flex-direction: column;
        gap: 20px;
    }



    .event-horizontal-card {
        flex-direction: column;
        height: auto;
    }

    .event-card-image-box {
        width: 100%;
        height: 200px;
    }

    .event-card-body-flow {
        width: 100%;
    }

    .event-card-header-flex-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .events-grid-content-list {
        padding: 32px 16px;
    }
    
    .nav-links-track {
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
        gap: 16px;
    }
    

}