:root {
	/* --primary-color: #e92b39;
	--secondary-color: #ae1c28; */
	--primary-color: #FFA500;
	--secondary-color: #FF7800;
	--tertiary-color: #111A24;
}

body { position: relative; }

a:hover {
    color: var(--secondary-color);
}

.page {
    margin-top: 90px;
}

#preloader .preloader.preloader-02 span {
    background: var(--secondary-color);
}

.header-section-05 {
    box-shadow: 1px 0 10px rgba(0, 0, 0, .6);
}

.header-section-05 .header-top-section {
    background: var(--secondary-color);
}

.header-section-05 .header-top-section .header-top-wrap .header-social .social li a:hover {
    color: var(--tertiary-color);
}

.header-menu .main-menu > li a {
    text-transform: none;
}

.header-toggle button span {
    background: var(--primary-color);
}

.offcanvas {
    background: var(--secondary-color);
}

.offcanvas-header .close-btn:hover {
    color: var(--secondary-color);
}

.offcanvas-menu .main-menu li .menu-expand {
    background-color: rgba(255,255,255,.2);
}

.header-section-05 .header-menu .main-menu > li:hover > a {
    color: var(--secondary-color);
}

.header-section-05 .header-menu .main-menu > li .sub-menu {
    border-color: var(--secondary-color);
}

.header-section-05 .header-menu .main-menu > li .sub-menu li:hover > a {
    color: var(--secondary-color);
}

.progress-wrap svg.progress-circle path {
    stroke: var(--secondary-color);
}
.progress-wrap::after {
    color: var(--secondary-color);
}

.widget-info .info-text .tel    ,
.widget-info .info-text .text   {
    margin-top: 4px;
}

.widget-info .info-icon i {
    color: var(--secondary-color);
    margin-right: 20px;
}

.widget-link .link li a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.copyright-social .social li a:hover {
    color: var(--secondary-color);
}

.footer-widget-wrap {
    padding-bottom: 50px;
}

.footer-disclaimer-wrap {
    padding-bottom: 50px;
}

/* Shared media listing styles */
:root {
    --media-accent: var(--secondary-color);
}

.media-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.media-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(17, 26, 36, 0.08);
    box-shadow: 0 18px 35px rgba(17, 26, 36, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.media-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(17, 26, 36, 0.14);
}

.media-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.media-card__image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f6fb;
}

.media-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.media-card:hover .media-card__image img {
    transform: scale(1.06);
}

.media-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.3), rgba(255, 120, 0, 0.6));
    color: rgba(255, 255, 255, 0.6);
    font-size: 3rem;
}

.media-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(17, 26, 36, 0.5), rgba(17, 26, 36, 0.25));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-card:hover .media-card__overlay {
    opacity: 1;
}

.media-card__overlay i {
    color: #fff;
    font-size: 1.75rem;
    transform: translateX(-8px);
    transition: transform 0.3s ease;
}

.media-card:hover .media-card__overlay i {
    transform: translateX(0);
}

.media-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
}

.media-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8125rem;
    color: #667085;
}

.media-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.media-card__meta-item i {
    color: var(--media-accent);
}

.media-card__meta-badge {
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 166, 0, 0.14);
    color: var(--media-accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.media-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: #111a24;
    margin: 0;
    transition: color 0.3s ease;
}

.media-card:hover .media-card__title {
    color: var(--media-accent);
}

.media-card__excerpt {
    color: #475467;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.media-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(17, 26, 36, 0.08);
    font-size: 0.85rem;
    color: #667085;
}

.media-card__stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.media-card__stat i {
    color: var(--media-accent);
}

.media-card__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--media-accent);
    transition: gap 0.3s ease;
}

.media-card:hover .media-card__action {
    gap: 12px;
}

.media-card__badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(17, 26, 36, 0.75);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.media-card__badge i {
    color: #fff;
}

@media (max-width: 991.98px) {
    .media-feed {
        gap: 24px;
    }
}

@media (max-width: 767.98px) {
    .media-feed {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }

    .media-card__content {
        padding: 20px;
        gap: 14px;
    }
}

@media (max-width: 575.98px) {
    .media-feed {
        grid-template-columns: 1fr;
    }
}

/* Shared media detail styles */
.media-hero {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 42px;
}

.media-hero__badge,
.media-hero__meta-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 166, 0, 0.16);
    color: var(--media-accent);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.media-hero__title {
    margin: 0;
    font-size: clamp(2rem, 2.4vw + 1rem, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    color: #111a24;
}

.media-hero__description {
    font-size: 1rem;
    color: #475467;
    line-height: 1.7;
}

.media-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(17, 26, 36, 0.08);
}

.media-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #475467;
}

.media-hero__meta-item i {
    color: var(--media-accent);
    font-size: 1rem;
}

.media-hero__cover {
    position: relative;
    margin-bottom: 36px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 35px rgba(17, 26, 36, 0.08);
    background: #f3f6fb;
}

.media-hero__cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.media-content {
    font-size: 1rem;
    line-height: 1.78;
    color: #344054;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.media-content p {
    margin-bottom: 18px;
}

.media-content img {
    max-width: 100%;
    border-radius: 14px;
    display: block;
    margin: 26px auto;
}

.media-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid rgba(17, 26, 36, 0.08);
}

.media-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 999px;
    background: #f3f6fb;
    color: #111a24;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.media-back i {
    color: var(--media-accent);
    transition: transform 0.3s ease;
}

.media-back:hover {
    background: var(--media-accent);
    color: #fff;
    transform: translateY(-2px);
}

.media-back:hover i {
    color: #fff;
    transform: translateX(-3px);
}

.media-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.media-share--stacked {
    flex-direction: column;
    align-items: stretch;
}

.media-share--stacked .media-share__links {
    justify-content: center;
}

.media-share__label {
    font-weight: 600;
    color: #475467;
    font-size: 0.95rem;
}

.media-share__links {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.media-share__link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.media-share__link:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(17, 26, 36, 0.16);
}

.media-share__link:focus-visible {
    outline: 2px solid rgba(255, 166, 0, 0.65);
    outline-offset: 2px;
}

.media-share__link--facebook {
    background: #1877f2;
}

.media-share__link--twitter {
    background: #1d9bf0;
}

.media-share__link--whatsapp {
    background: #25d366;
}

.media-gallery-section {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 48px;
}

.media-gallery-section__title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    color: #111a24;
    font-weight: 700;
}

.media-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.media-gallery-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #f3f6fb;
    box-shadow: 0 18px 30px rgba(17, 26, 36, 0.08);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 38px rgba(17, 26, 36, 0.14);
}

.media-gallery-item__figure {
    position: relative;
    padding-bottom: 66.67%;
}

.media-gallery-item__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.media-gallery-item:hover .media-gallery-item__image {
    transform: scale(1.05);
}

.media-gallery-item__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(17, 26, 36, 0.55), rgba(17, 26, 36, 0.35));
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-gallery-item:hover .media-gallery-item__overlay {
    opacity: 1;
}

.media-gallery-item__overlay i {
    font-size: 1.75rem;
}

.media-gallery-item__caption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 16px;
    background: linear-gradient(0deg, rgba(17, 26, 36, 0.75), rgba(17, 26, 36, 0));
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    line-height: 1.5;
    transform: translateY(105%);
    transition: transform 0.3s ease;
}

.media-gallery-item:hover .media-gallery-item__caption {
    transform: translateY(0);
}

.media-gallery-section__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    padding: 12px 24px;
    border-radius: 999px;
    background: #111a24;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.media-gallery-section__cta i {
    transition: transform 0.3s ease;
}

.media-gallery-section__cta:hover {
    transform: translateY(-2px);
    background: var(--media-accent);
    box-shadow: 0 18px 30px rgba(17, 26, 36, 0.18);
}

.media-gallery-section__cta:hover i {
    transform: translateX(4px);
}

.gallery-modal-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.gallery-image-container {
    max-width: 100%;
    text-align: center;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.gallery-modal-caption {
    margin-top: 15px;
    font-size: 16px;
    color: #666;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-counter {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.gallery-counter {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

@media (max-width: 768px) {
    .gallery-nav {
        width: 40px;
        height: 40px;
    }
}

.sidebar-widget {
    --sidebar-accent: var(--media-accent, #ffa500);
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(17, 26, 36, 0.08);
    box-shadow: 0 18px 35px rgba(17, 26, 36, 0.08);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 26px;
    position: relative;
    overflow: hidden;
}

.sidebar-widget::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sidebar-accent), rgba(255, 166, 0, 0.2));
    opacity: 0.9;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget .widget-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111a24;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(17, 26, 36, 0.08);
}

.sidebar-widget .widget-title i {
    color: var(--sidebar-accent);
}

.latest-news-list,
.latest-galleries-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.latest-news-list .sidebar-news-item,
.latest-galleries-list .latest-gallery-item {
    border-bottom: 1px solid rgba(17, 26, 36, 0.08);
    padding-bottom: 15px;
}

.latest-news-list .sidebar-news-item:last-child,
.latest-galleries-list .latest-gallery-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.latest-news-list .sidebar-news-item a,
.latest-galleries-list .latest-gallery-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    gap: 15px;
}

.latest-news-list .sidebar-news-image,
.latest-galleries-list .latest-gallery-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.latest-news-list .sidebar-news-image img,
.latest-galleries-list .latest-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-news-list .sidebar-news-item:hover .sidebar-news-image img,
.latest-galleries-list .latest-gallery-item:hover .latest-gallery-image img {
    transform: scale(1.1);
}

.latest-news-list .sidebar-news-content,
.latest-galleries-list .latest-gallery-content {
    flex: 1;
}

.latest-news-list .sidebar-news-content h4,
.latest-galleries-list .latest-gallery-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.latest-news-list .sidebar-news-item:hover h4,
.latest-galleries-list .latest-gallery-item:hover h4 {
    color: var(--media-accent, #ffa500);
}

.latest-news-list .sidebar-news-date,
.latest-galleries-list .latest-gallery-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.latest-news-list .sidebar-news-date i,
.latest-galleries-list .latest-gallery-meta i {
    color: var(--media-accent, #ffa500);
}

@media (max-width: 767.98px) {
    .sidebar-widget {
        border-radius: 18px;
        padding: 22px;
        gap: 18px;
    }
}

@media (max-width: 991.98px) {
    .media-hero {
        gap: 18px;
    }

    .media-hero__meta {
        gap: 14px;
    }

    .media-gallery-grid {
        gap: 16px;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 767.98px) {
    .media-hero__title {
        font-size: clamp(1.75rem, 4vw + 1rem, 2.35rem);
    }

    .media-hero__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .media-hero__cover {
        margin-bottom: 28px;
        border-radius: 16px;
    }

    .media-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .media-share {
        justify-content: space-between;
    }

    .media-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 575.98px) {
    .media-hero__badge,
    .media-hero__meta-badge {
        font-size: 0.75rem;
        padding: 5px 14px;
    }

    .media-share__links {
        width: 100%;
        justify-content: flex-start;
    }

    .media-share__link {
        width: 46px;
        height: 46px;
    }

    .media-gallery-grid {
        grid-template-columns: 1fr;
    }
}


/*  X-Small devices (portrait phones, less than 576px)*/
/*  No media query for `xs` since this is the default in Bootstrap*/

/*  Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {  }

/*  Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {  }

/*  Large devices (desktops, 992px and up)*/
@media (min-width: 992px) { 
    .page {
        margin-top: 148px;
    }
 }

/*  X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) { 
    .page {
        margin-top: 180px;
    }
 }

/*  XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {  }


/* `xs` returns only a ruleset and no media query */

/* `sm` applies to x-small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {  }

/* `md` applies to small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {  }

/* `lg` applies to medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {  }

/* `xl` applies to large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) {  }

/* `xxl` applies to x-large devices (large desktops, less than 1400px)*/
@media (max-width: 1399.98px) {  }
