body {
 background: #fff;
 font-family: 'Poppins', sans-serif;
}

a:focus {
    outline: none;
}

h1 {
    color: #EF7C00;
    font-size: 3.2rem;
    position: relative;
    padding-bottom: 20px;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(to right, #E3000F, #EF7C00);
    border-radius: 3px;
}

/** Header **/
header {
    padding: 1% 2%;
    background: #fff;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu--main a-inner, .primary-nav__menu {
    padding-block: unset !important;
    float: right  !important;
}

.menu--main {
    background: #fff;
    padding: 5px 0;
}

.region--breadcrumb {
    float: left;
    width: 100%;
}

.region--highlighted.grid-full, .region--breadcrumb.grid-full,  .region--content.grid-full {
    display: block;
}

a.site-logo {
    margin-right: 8px;
    display: inline-block;
    width: 90px;
}

.site-name {
    display: inline-block;
    position: relative;
    top: -25px;
}

.site-name a {
    color:#EF7C00;
    font-size: 29px;
    font-weight: bold;
    text-decoration: none;
    font-family: serif;
}

/*
.menu--main ul.menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.menu--main a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-direction: column;
    align-items: center;
}

.menu--main a.is-active::after, .menu--main a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #E3000F;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
} 
.menu--main a.is-active, .menu--main a:hover, .menu--main a:hover::after {
    color: #E3000F;
}

.menu--main a:focus {
    outline: none;
} */

.text-content a:where(:not(.button)), .cke_editable a:where(:not(.button)) {
 box-shadow: none;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav a {
    text-decoration: none;
    color: #2E2D2A;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Hind Kolhapur', 'Noto Sans Devanagari', sans-serif;
    font-weight: 500;
    font-size: 16px;
}

.nav a:hover {
    color: #E3000F;
    box-shadow: none;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #E3000F;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav a:hover::after, .nav a.active::after {
    width: 100%;
}

.nav-icon {
    margin-bottom: 5px;
    color: #EF7C00;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav a.active .nav-icon, .nav a:hover .nav-icon {
    color: #E3000F;
}

.nav a:hover .nav-icon {
    transform: translateY(-3px);
}

.marathi-font {
    font-family: 'Hind Kolhapur', 'Noto Sans Devanagari', sans-serif;
    font-weight: 500;
}

/* Search Toggle Button and Dropdown */
.search-toggle {
    position: relative;
}

.search-toggle-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #EF7C00;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.search-toggle-btn:hover {
    background: #E3000F;
    color: white;
    transform: scale(1.05);
}

.search-dropdown {
    position: absolute;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0 15px;
    width: 300px;
    margin-top: 4px;
    display: none;
    z-index: 1001;
}

.search-dropdown.active {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.search-dropdown input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    outline: none;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: #f9f9f9;
}

.search-dropdown input:focus {
    border-color: #E3000F;
    box-shadow: 0 0 10px rgba(227, 0, 15, 0.2);
}

.search-dropdown .form-submit { display: none;}

.search-dropdown .search-icon {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

.messages.messages-list__item {
    background-image: none;
    padding: 5px;
    min-height: 40px;
}

input#edit-submit, input#edit-submit--2 {
    padding: 5px;
    height: 31px;
    font-size: 12px;
    margin-block: 0 !important;
    margin-inline-end: unset;
}

.menu--main a:hover {
    text-decoration: none;
}

.menu--main a-inner::after {
    display: none;
}

nav#block-ourfamily-useraccountmenu {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav#block-ourfamily-useraccountmenu ul li.menu-item {
    line-height: 4px;
    list-style: none;
}

nav#block-ourfamily-useraccountmenu ul {
    text-align: right;
    margin: -12px 0 0 0;
    padding: 0;
}

nav#block-ourfamily-useraccountmenu ul li.menu-item a {
    text-decoration: none;
    color: #000;
    font-size: 10px;
    padding: 4px;
    font-weight: normal;
}

nav#block-ourfamily-useraccountmenu ul li.menu-item a.is-active {
    background: #77d3df;
    padding: 5px;
}

body:not(.is-always-mobile-nav) .menu--main a:focus::before {
    border:0;
}

/** Main Content **/
div#block-ourfamily-page-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

nav.tabs {
    margin-top: 30px;
    width: 100%;
}

nav.tabs ul {
    padding: 0;
    margin: 0;
}

nav.tabs ul.tabs.primary {
    padding: 0;
    margin: 0;
}

nav.tabs ul li {
    display: inline-block;
    padding: 0 10px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 10px;
}

nav.tabs ul li a {
    text-decoration: none;
    font-size: 13px;
    color: #999;
}

div#block-ourfamily-primary-local-tasks {
    margin: 0;
}

.grid-full {
    width: 100%;
}

.member-profile-pic {
    margin: auto;
    display: inline;
    vertical-align: middle;
    padding: 5px;
    float: left;
}

.window {
    padding: 0;
}

.member-name {
    font-size: 12px;
}


.node--type-gallery-image .field--name-field-gallery-image, .view-gallery .view-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.node--type-gallery-image .field--name-field-gallery-image .field__item, .view-gallery .view-content .gallery-list-item {
    background: #f9f9f9;
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
}

.view-gallery .view-content .gallery-list-item a img {
    margin: 0 auto;
    padding: 5px;
}

.view-gallery .view-content a {
    font-size: 19px;
    text-decoration: none;
    color: #999;
    font-weight: bold;
}

.image-style-media-library {
    margin: 0 auto;
}

#treemain {
    clear: left;
    float: left;
    position: relative;
    display: block;
    width: 100%;
    overflow: auto;
}

.path-frontpage aside.layout-sidebar-first {
    float: left;
    width: 20%;
    margin: 1%;
}

.path-frontpage .layout-content {
    width: 78%;
    float: right;
    padding: 1%;
}

.layout-content.no-sidebar-first {
    width: 80%;
    margin: 0 auto;
    float: none;
}

.view, .view-content { 
    gap: 0;
}

.block-views-blockupcoming-events-block-1, .block-user-login-block {
    padding: 5px;
}

.block-views-blockupcoming-events-block-1 h2, .block-user-login-block h2 {
    font-size: 20pt;
    margin: 0;
    padding: 0;
    color: #E3000F;
}

.block-views-blockupcoming-events-block-1 .field-content a{
    text-decoration: none;
    color: #000;
    font-size: 10pt;
}

.block-views-blockupcoming-events-block-1 .field-content a:before {
    content: '\2022';
    margin-right: 2px;
}

/* CSS: themes/yourtheme/css/slider-colorbox.css */
#flexslider-1 .views-field-field-banner-image .field--type-image {
    position: relative;
    width: 100%;
    margin: 0;
}

#flexslider-1  .flex-caption {
    position: absolute;
    margin-top: -46px;
    text-align: center;
    width: 100%;
    padding: 10px 0;
    background: black;
}

#flexslider-1  .flex-caption a {
 color: #fff;
 text-decoration: none;
}

/**footer**/
footer{
    background: linear-gradient(135deg, #2E2D2A 0%, #1a1917 100%) !important;
    color: white;
    padding: 20px 0 50px;
    position: unset;
    float: left;
    width: 100%;
    font-family: 'Hind Kolhapur', 'Noto Sans Devanagari', sans-serif;
    font-weight: 500;
}

/*footer.menu--main a.is-active::after, .menu--main a:hover::after*/

footer .footer-column,  footer .footer-column .text-content p {
    color: #fff;
}

.region-footer {
    display: flex;
    width: 100%;
    padding: 0 5%;
}

.region.region-footer .block {
    width: 33%;
    padding-right: 5%;
}

.region.region-footer .block:last-child {
     padding-right: 0;
}

.region-footer .block-menu ul.menu {
    list-style: none;
    display:block;
}

.region-footer .block-menu ul.menu li {
    margin-bottom: 15px;
    text-align: left;
}

.region-footer .block-menu ul.menu a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    font-size: 1.1rem;
    align-items: unset;
}

.region-footer .block-menu ul.menu a:hover {
    color: #E3000F;
    transform: translateX(8px);
}

.region-footer .block-menu ul.menu a i {
    margin-right: 12px;
    color: #E3000F;
}

.region-footer .block-menu ul.menu a:before {
    content: "\f054";
}

footer .footer-column h3, h2#block-ourfamily-mainnavigation-menu {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    line-height: 1.0rem;
}

footer .footer-column h3::after, h2#block-ourfamily-mainnavigation-menu::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: #E3000F;
    border-radius: 2px;
}

footer .menu--main {
    background: none;
}

#block-ourfamily-contactfooterblock .footer-column ul li a {
    color: #fff;
    text-decoration: none;
    box-shadow: none;
}

#page-footer-wrap {
    float: left;
    width: 100%;
    background: linear-gradient(135deg, #2E2D2A 0%, #1a1917 100%) !important;
}

#page-footer-wrap .region .block {
  margin: 0px;
}

.copyright {
    text-align: center;
    padding: 40px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.copyright a {
    text-align: center;
    color: #aaa;
    text-decoration: none;

}

.language-switcher-language-url .links {
    background-color: #EF7C00;
    border-radius: 30px;
    padding: 6px;
    display: flex;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.language-switcher-language-url .links li{
    list-style: none;
}

.language-switcher-language-url .links li a {
    padding: 4px 6px;
    border: none;
    color: #fff;
    background: transparent;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    font-size: 14px;
}

.language-switcher-language-url .links li a.is-active {
    font-weight: 900;
    background: white;
    color: #E3000F;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    color: #EF7C00;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar:hover {
    transform: scale(1.05);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow:0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    width: 125px;
    margin-top: 4px;
    display: none;
    z-index: 1001;
}

.user-dropdown.active {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.footer-links-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.footer-links ul li a:hover {
    color: #E3000F;
    transform: translateX(8px);
    box-shadow: none;
    text-decoration-color: unset;
    text-decoration: none;
}

.footer-links ul li a i {
    padding-right: 4px;
}

.footer-column ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}