/**
 * H1 Elementor Widgets - Styles
 * Author: Sebastien Ross - h1site.com
 */

/* ── Heading Premium ── */
.h1-heading-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0;
}

.h1-heading-premium__text {
    flex-shrink: 0;
    margin: 0;
    padding: 0 20px;
    white-space: nowrap;
    line-height: 1.2;
    min-width: 0;
}

.h1-heading-premium__text a {
    color: inherit;
    text-decoration: none;
}

.h1-heading-premium__text a:hover {
    opacity: 0.8;
}

.h1-heading-premium__line {
    flex-grow: 1;
    display: block;
    height: 2px;
    background-color: #ccc;
    width: 100%;
}

/* ── Block Grid Premium ── */
.h1-block-grid {
    display: block;
    position: relative;
    overflow: hidden;
    height: 350px;
    border-radius: 12px;
    text-decoration: none;
}

.h1-block-grid__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.h1-block-grid--zoom .h1-block-grid__image {
    transition: transform 300ms ease;
}

.h1-block-grid--zoom:hover .h1-block-grid__image {
    transform: scale(1.05);
}

.h1-block-grid__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background-color: rgba(44, 62, 80, 0.85);
    z-index: 1;
    transition: background-color 300ms ease;
}

.h1-block-grid__heading {
    margin: 0 0 5px 0;
    padding: 0;
    color: #ffffff;
    font-style: italic;
    font-weight: 700;
    line-height: 1.3;
}

.h1-block-grid__subheading {
    margin: 0;
    padding: 0;
    color: #cccccc;
    font-weight: 400;
    line-height: 1.4;
}

/* ── Circle Premium ── */
.h1-circle {
    position: relative;
    width: 700px;
    height: 700px;
    margin: 0 auto;
}

.h1-circle__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    overflow: hidden;
    z-index: 2;
}

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

.h1-circle__item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.h1-circle__item-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.h1-circle__item-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    background-color: transparent;
}

.h1-circle__item-placeholder {
    background-color: #eeeeee;
}

.h1-circle__item-title {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: #333333;
    max-width: 90px;
    word-wrap: break-word;
}

/* ── Entrance: hidden until triggered ── */
.h1-circle--entrance-expand .h1-circle__center,
.h1-circle--entrance-fade .h1-circle__center,
.h1-circle--entrance-spin .h1-circle__center {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}
.h1-circle--entrance-expand .h1-circle__item,
.h1-circle--entrance-fade .h1-circle__item,
.h1-circle--entrance-spin .h1-circle__item {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

/* ── Entrance: Expand — triggered by .h1-circle--visible ── */
.h1-circle--entrance-expand.h1-circle--visible .h1-circle__center {
    animation: h1CenterPop 600ms ease-out both;
}
.h1-circle--entrance-expand.h1-circle--visible .h1-circle__item {
    animation: h1ItemExpand 600ms ease-out both;
}

@keyframes h1CenterPop {
    0%   { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    60%  { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
@keyframes h1ItemExpand {
    0%   { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    70%  { transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* ── Entrance: Fade — triggered by .h1-circle--visible ── */
.h1-circle--entrance-fade.h1-circle--visible .h1-circle__center {
    animation: h1CenterFade 600ms ease-out both;
}
.h1-circle--entrance-fade.h1-circle--visible .h1-circle__item {
    animation: h1ItemFade 600ms ease-out both;
}

@keyframes h1CenterFade {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes h1ItemFade {
    0%   { opacity: 0; transform: translate(-50%, -50%) translateY(20px); }
    100% { opacity: 1; transform: translate(-50%, -50%) translateY(0); }
}

/* ── Entrance: Spin — triggered by .h1-circle--visible ── */
.h1-circle--entrance-spin.h1-circle--visible .h1-circle__center {
    animation: h1CenterSpin 600ms ease-out both;
}
.h1-circle--entrance-spin.h1-circle--visible .h1-circle__item {
    animation: h1ItemSpin 600ms ease-out both;
}

@keyframes h1CenterSpin {
    0%   { transform: translate(-50%, -50%) rotate(-180deg) scale(0); opacity: 0; }
    100% { transform: translate(-50%, -50%) rotate(0deg) scale(1); opacity: 1; }
}
@keyframes h1ItemSpin {
    0%   { transform: translate(-50%, -50%) rotate(-90deg) scale(0); opacity: 0; }
    100% { transform: translate(-50%, -50%) rotate(0deg) scale(1); opacity: 1; }
}

/* ── Hover: hovered item grows bigger ── */
.h1-circle .h1-circle__item {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.h1-circle .h1-circle__item:hover {
    transform: translate(-50%, -50%) scale(1.45);
    z-index: 10;
}

/* ── Hover: Scale ── */
.h1-circle--hover-scale .h1-circle__item:hover {
    transform: translate(-50%, -50%) scale(1.5);
}

/* ── Hover: Bounce ── */
.h1-circle--hover-bounce .h1-circle__item:hover {
    animation: h1HoverBounce 500ms ease forwards;
}

@keyframes h1HoverBounce {
    0%   { transform: translate(-50%, -50%) scale(1); }
    40%  { transform: translate(-50%, -50%) scale(1.55); }
    60%  { transform: translate(-50%, -50%) scale(1.3); }
    80%  { transform: translate(-50%, -50%) scale(1.48); }
    100% { transform: translate(-50%, -50%) scale(1.45); }
}

/* ── Hover: Glow ── */
.h1-circle--hover-glow .h1-circle__item:hover .h1-circle__item-img {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.7), 0 0 50px rgba(59, 130, 246, 0.35);
}

/* ── Hover: Rotate ── */
.h1-circle--hover-rotate .h1-circle__item:hover {
    transform: translate(-50%, -50%) rotate(10deg) scale(1.45);
}

/* ── Events Premium ── */
.h1-events {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.h1-events--grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.h1-events__item {
    display: flex;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 300ms ease, transform 200ms ease;
}

.h1-events__item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.h1-events--grid .h1-events__item {
    flex-direction: column;
}

.h1-events__thumb {
    flex-shrink: 0;
    width: 200px;
    overflow: hidden;
}

.h1-events--grid .h1-events__thumb {
    width: 100%;
    height: 180px;
}

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

.h1-events__content {
    display: flex;
    flex: 1;
    padding: 20px;
    gap: 16px;
}

.h1-events--grid .h1-events__content {
    flex-direction: column;
    gap: 10px;
}

.h1-events__date-badge {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background-color: #2c3e50;
    color: #ffffff;
    border-radius: 8px;
    text-align: center;
    line-height: 1;
}

.h1-events__date-day {
    font-size: 22px;
    font-weight: 700;
    display: block;
}

.h1-events__date-month {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

.h1-events__date-year {
    font-size: 10px;
    display: block;
    opacity: 0.7;
}

.h1-events__info {
    flex: 1;
    min-width: 0;
}

.h1-events__category {
    display: inline-block;
    padding: 3px 10px;
    background-color: #e74c3c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 8px;
}

.h1-events__title {
    margin: 0 0 8px 0;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a2e;
}

.h1-events__title a {
    color: inherit;
    text-decoration: none;
}

.h1-events__title a:hover {
    opacity: 0.8;
}

.h1-events__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #666666;
    margin-bottom: 8px;
}

.h1-events__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.h1-events__meta-item .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.h1-events__excerpt {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.h1-events__empty {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
}

/* ── Event Grid Horizontal ── */
.h1-evt-h {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.h1-evt-h__card {
    display: flex;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 300ms ease, transform 200ms ease;
}

.h1-evt-h__card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.h1-evt-h__thumb {
    flex-shrink: 0;
    width: 280px;
    overflow: hidden;
}

.h1-evt-h__thumb a {
    display: block;
    height: 100%;
}

.h1-evt-h__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 300ms ease;
}

.h1-evt-h__card:hover .h1-evt-h__thumb img {
    transform: scale(1.05);
}

.h1-evt-h__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
    gap: 8px;
    min-width: 0;
}

.h1-evt-h__cat {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 12px;
    background-color: #e74c3c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
}

.h1-evt-h__title {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a2e;
}

.h1-evt-h__title a {
    color: inherit;
    text-decoration: none;
}

.h1-evt-h__title a:hover {
    opacity: 0.8;
}

.h1-evt-h__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #2c3e50;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    align-self: flex-start;
}

.h1-evt-h__date-day {
    font-size: 18px;
    font-weight: 700;
}

.h1-evt-h__date-month {
    text-transform: uppercase;
    font-size: 12px;
}

.h1-evt-h__date-year {
    font-size: 11px;
    opacity: 0.8;
}

.h1-evt-h__venue {
    margin: 0;
    font-size: 13px;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.h1-evt-h__venue .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.h1-evt-h__cta {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    padding: 10px 24px;
    background-color: #2c3e50;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 200ms ease;
}

.h1-evt-h__cta:hover {
    background-color: #1a252f;
    color: #ffffff;
}

.h1-evt-h__status {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    color: #ffffff;
}

.h1-evt-h__status--cancelled { background-color: #e74c3c; }
.h1-evt-h__status--postponed { background-color: #f39c12; }
.h1-evt-h__status--rescheduled { background-color: #3498db; }

.h1-evt-h__empty {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
}

/* ── Event Grid Vertical ── */
.h1-evt-v {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.h1-evt-v__card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 300ms ease, transform 200ms ease;
}

.h1-evt-v__card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.h1-evt-v__thumb {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.h1-evt-v__thumb a {
    display: block;
    height: 100%;
}

.h1-evt-v__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 300ms ease;
}

.h1-evt-v__card:hover .h1-evt-v__thumb img {
    transform: scale(1.05);
}

.h1-evt-v__date {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background-color: #2c3e50;
    color: #ffffff;
    border-radius: 8px;
    text-align: center;
    line-height: 1;
    z-index: 1;
}

.h1-evt-v__date-day {
    font-size: 20px;
    font-weight: 700;
    display: block;
}

.h1-evt-v__date-month {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

.h1-evt-v__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
    gap: 8px;
}

.h1-evt-v__cat {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 10px;
    background-color: #e74c3c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
}

.h1-evt-v__title {
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a2e;
}

.h1-evt-v__title a {
    color: inherit;
    text-decoration: none;
}

.h1-evt-v__title a:hover {
    opacity: 0.8;
}

.h1-evt-v__date-text,
.h1-evt-v__venue {
    margin: 0;
    font-size: 13px;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.h1-evt-v__date-text .dashicons,
.h1-evt-v__venue .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.h1-evt-v__cta {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    padding: 10px 22px;
    background-color: #2c3e50;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 200ms ease;
}

.h1-evt-v__cta:hover {
    background-color: #1a252f;
    color: #ffffff;
}

.h1-evt-v__status {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    color: #ffffff;
}

.h1-evt-v__status--cancelled { background-color: #e74c3c; }
.h1-evt-v__status--postponed { background-color: #f39c12; }
.h1-evt-v__status--rescheduled { background-color: #3498db; }

.h1-evt-v__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
}

/* ── Event Detail ── */
.h1-evtd {
    max-width: 900px;
    margin: 0 auto;
}

.h1-evtd__banner {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 24px;
    overflow: hidden;
}

.h1-evtd__banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.h1-evtd__title {
    margin: 0 0 16px 0;
    padding: 0;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a2e;
}

.h1-evtd__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.h1-evtd__tag {
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
}

.h1-evtd__tag--cat {
    background-color: #e74c3c;
    color: #ffffff;
}

.h1-evtd__tag--tag {
    background-color: #ecf0f1;
    color: #555555;
}

.h1-evtd__info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.h1-evtd__info-card {
    display: flex;
    gap: 14px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.h1-evtd__info-icon {
    flex-shrink: 0;
    font-size: 22px;
    width: 22px;
    height: 22px;
    color: #2c3e50;
    margin-top: 2px;
}

.h1-evtd__info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.h1-evtd__info-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #888888;
    letter-spacing: 0.5px;
}

.h1-evtd__info-value {
    font-size: 15px;
    color: #1a1a2e;
    line-height: 1.4;
    word-break: break-word;
}

.h1-evtd__info-value--bold {
    font-weight: 700;
}

.h1-evtd__info-value a {
    color: #2c3e50;
    text-decoration: none;
}

.h1-evtd__info-value a:hover {
    text-decoration: underline;
}

.h1-evtd__register {
    margin-bottom: 30px;
}

.h1-evtd__register-btn {
    display: inline-block;
    padding: 14px 36px;
    background-color: #27ae60;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 200ms ease;
}

.h1-evtd__register-btn:hover {
    background-color: #219a52;
    color: #ffffff;
}

/* ── Navigation Buttons (Waze / Google Maps) ── */
.h1-evtd__nav-buttons {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.h1-evtd__nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 200ms ease, color 200ms ease;
}

.h1-evtd__nav-btn--gmaps {
    background-color: #4285f4;
    color: #ffffff;
}

.h1-evtd__nav-btn--gmaps:hover {
    background-color: #3367d6;
    color: #ffffff;
}

.h1-evtd__nav-btn--waze {
    background-color: #33ccff;
    color: #000000;
}

.h1-evtd__nav-btn--waze:hover {
    background-color: #00b8f0;
    color: #000000;
}

.h1-evtd__nav-btn svg {
    flex-shrink: 0;
}

/* ── Add to Calendar ── */
.h1-evtd__calendar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.h1-evtd__calendar-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
}

.h1-evtd__calendar-label .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.h1-evtd__calendar-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.h1-evtd__cal-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #ddd;
    background-color: #ffffff;
    color: #333333;
    cursor: pointer;
    transition: background-color 200ms ease, border-color 200ms ease;
}

.h1-evtd__cal-btn:hover {
    background-color: #f0f0f0;
    border-color: #bbb;
    color: #333333;
}

/* ── Other Dates ── */
.h1-evtd__other-dates {
    margin-bottom: 30px;
}

.h1-evtd__dates-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.h1-evtd__date-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background-color 200ms ease, transform 150ms ease;
}

.h1-evtd__date-item:hover {
    background-color: #e9ecef;
    transform: translateX(4px);
    color: inherit;
}

.h1-evtd__date-item-cal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    background-color: #2c3e50;
    color: #ffffff;
    border-radius: 8px;
    line-height: 1;
}

.h1-evtd__date-item-day {
    font-size: 18px;
    font-weight: 700;
}

.h1-evtd__date-item-month {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.h1-evtd__date-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.h1-evtd__date-item-full {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
}

.h1-evtd__date-item-time {
    font-size: 13px;
    color: #888888;
}

.h1-evtd__description {
    margin-bottom: 40px;
}

.h1-evtd__section-title {
    margin: 0 0 16px 0;
    padding: 0;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
}

.h1-evtd__content {
    font-size: 16px;
    line-height: 1.7;
    color: #333333;
}

.h1-evtd__content p {
    margin: 0 0 16px 0;
}

/* ── Event Status Badge ── */
.h1-evtd__status-badge {
    display: inline-block;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.h1-evtd__status-badge--cancelled {
    background-color: #e74c3c;
}

.h1-evtd__status-badge--postponed {
    background-color: #f39c12;
}

.h1-evtd__status-badge--rescheduled {
    background-color: #3498db;
}

.h1-evtd__info-value--small {
    font-size: 13px;
    color: #888888;
    display: flex;
    align-items: center;
    gap: 4px;
}

.h1-evtd__info-value--small .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.h1-evtd__info-value .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

/* ── Event Detail: Video ── */
.h1-evtd__video {
    margin-bottom: 40px;
}

.h1-evtd__video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.h1-evtd__video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ── Event Detail: Gallery ── */
.h1-evtd__gallery {
    margin-bottom: 40px;
}

.h1-evtd__gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.h1-evtd__gallery-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.h1-evtd__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 300ms ease;
}

.h1-evtd__gallery-item:hover img {
    transform: scale(1.05);
}

/* ── Event Detail: Other Events ── */
.h1-evtd__other {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #ecf0f1;
}

.h1-evtd__other-title {
    margin: 0 0 24px 0;
    padding: 0;
    font-size: 26px;
    font-weight: 800;
    color: #1a1a2e;
    text-align: center;
}

.h1-evtd__other-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.h1-evtd__other-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 300ms ease, transform 200ms ease;
}

.h1-evtd__other-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.h1-evtd__other-thumb {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.h1-evtd__other-thumb a {
    display: block;
    height: 100%;
}

.h1-evtd__other-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.h1-evtd__other-date {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #2c3e50;
    color: #ffffff;
    border-radius: 6px;
    text-align: center;
    line-height: 1;
}

.h1-evtd__other-date-day {
    font-size: 18px;
    font-weight: 700;
    display: block;
}

.h1-evtd__other-date-month {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-top: 1px;
}

.h1-evtd__other-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
    gap: 6px;
}

.h1-evtd__other-card-title {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a2e;
}

.h1-evtd__other-card-title a {
    color: inherit;
    text-decoration: none;
}

.h1-evtd__other-card-title a:hover {
    opacity: 0.8;
}

.h1-evtd__other-meta {
    margin: 0;
    font-size: 12px;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.h1-evtd__other-meta .dashicons {
    font-size: 13px;
    width: 13px;
    height: 13px;
}

.h1-evtd__other-cta {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    padding: 8px 18px;
    background-color: #2c3e50;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 200ms ease;
}

.h1-evtd__other-cta:hover {
    background-color: #1a252f;
    color: #ffffff;
}

/* ══════════════════════════════════════════
   Mega Menu Premium (h1-mm)
   ══════════════════════════════════════════ */
.h1-mm {
    position: relative;
    width: 100%;
    z-index: 9999;
    --h1-mm-accent: #0073aa;
}

/* ── Bar ── */
.h1-mm__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

.h1-mm__logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.h1-mm__logo img {
    display: block;
    height: auto;
}

/* ── Desktop Nav ── */
.h1-mm__nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.h1-mm__item {
    position: relative;
}

.h1-mm__item-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 200ms ease;
    position: relative;
}

.h1-mm__item-icon {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.h1-mm__item-text {
    display: inline-block;
}

.h1-mm__arrow {
    font-size: 10px;
    line-height: 1;
    margin-left: 2px;
    transition: transform 200ms ease;
}

.h1-mm__item--active > .h1-mm__item-link .h1-mm__arrow {
    transform: rotate(180deg);
}

/* ── Badge ── */
.h1-mm__badge {
    position: absolute;
    top: -6px;
    right: -8px;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    border-radius: 10px;
    line-height: 1.3;
    white-space: nowrap;
    pointer-events: none;
    z-index: 2;
}

/* ── Hover Effects ── */

/* Underline */
.h1-mm--hover-underline .h1-mm__item-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--h1-mm-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 250ms ease;
}
.h1-mm--hover-underline .h1-mm__item:hover .h1-mm__item-link::after,
.h1-mm--hover-underline .h1-mm__item--active > .h1-mm__item-link::after {
    transform: scaleX(1);
}

/* Overline */
.h1-mm--hover-overline .h1-mm__item-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--h1-mm-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 250ms ease;
}
.h1-mm--hover-overline .h1-mm__item:hover .h1-mm__item-link::after,
.h1-mm--hover-overline .h1-mm__item--active > .h1-mm__item-link::after {
    transform: scaleX(1);
}

/* Background */
.h1-mm--hover-background .h1-mm__item-link {
    border-radius: 4px;
    transition: color 200ms ease, background-color 200ms ease;
}
.h1-mm--hover-background .h1-mm__item:hover .h1-mm__item-link,
.h1-mm--hover-background .h1-mm__item--active > .h1-mm__item-link {
    background-color: var(--h1-mm-accent);
    color: #ffffff !important;
}
.h1-mm--hover-background .h1-mm__item:hover .h1-mm__item-link i,
.h1-mm--hover-background .h1-mm__item--active > .h1-mm__item-link i {
    color: #ffffff !important;
}
.h1-mm--hover-background .h1-mm__item:hover .h1-mm__item-link svg,
.h1-mm--hover-background .h1-mm__item--active > .h1-mm__item-link svg {
    fill: #ffffff !important;
}

/* Bottom Border */
.h1-mm--hover-border-bottom .h1-mm__item-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--h1-mm-accent);
    opacity: 0;
    transition: opacity 200ms ease;
}
.h1-mm--hover-border-bottom .h1-mm__item:hover .h1-mm__item-link::after,
.h1-mm--hover-border-bottom .h1-mm__item--active > .h1-mm__item-link::after {
    opacity: 1;
}

/* ── Desktop Panels ── */
.h1-mm__panel {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    z-index: 9998;
    box-sizing: border-box;
}

.h1-mm__panel--full {
    left: 0;
    right: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.h1-mm__panel--auto {
    left: 0;
    width: auto;
    min-width: 220px;
}

.h1-mm__panel--custom {
    left: 0;
}

.h1-mm__item--active > .h1-mm__panel {
    display: block;
}

/* ── Panel Animations ── */

/* Fade */
.h1-mm--anim-fade .h1-mm__panel {
    opacity: 0;
    transition: opacity 250ms ease;
    pointer-events: none;
}
.h1-mm--anim-fade .h1-mm__item--active > .h1-mm__panel {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Slide */
.h1-mm--anim-slide .h1-mm__panel {
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 250ms ease, opacity 250ms ease;
    pointer-events: none;
}
.h1-mm--anim-slide .h1-mm__item--active > .h1-mm__panel {
    display: block;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Grow */
.h1-mm--anim-grow .h1-mm__panel {
    transform: scaleY(0);
    transform-origin: top center;
    opacity: 0;
    transition: transform 250ms ease, opacity 200ms ease;
    pointer-events: none;
}
.h1-mm--anim-grow .h1-mm__item--active > .h1-mm__panel {
    display: block;
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
}

/* ── Hamburger (hidden on desktop) ── */
.h1-mm__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
}

.h1-mm__hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    border-radius: 2px;
    transition: transform 300ms ease, opacity 200ms ease;
}

/* ── Mobile Overlay ── */
.h1-mm__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    opacity: 0;
    transition: opacity 300ms ease;
}

.h1-mm__overlay--active {
    display: block;
    opacity: 1;
}

/* ── Mobile Drawer ── */
.h1-mm__mobile {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    transform: translateX(100%);
    transition: transform 300ms ease;
    z-index: 99999;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 20px;
}

.h1-mm__mobile--open {
    transform: translateX(0);
}

.h1-mm__mob-close {
    display: block;
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin-bottom: 20px;
    color: #333;
}

.h1-mm__mob-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.h1-mm__mob-item {
    border-bottom: 1px solid #ecf0f1;
}

.h1-mm__mob-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.h1-mm__mob-icon {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    flex-shrink: 0;
}

.h1-mm__mob-link {
    display: block;
    flex: 1;
    padding: 14px 0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.h1-mm__mob-toggle {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.h1-mm__mob-sub {
    display: none;
    padding: 0 0 12px 10px;
}

.h1-mm__mob-sub--open {
    display: block;
}

/* ── Mobile Mode ── */
.h1-mm--mobile .h1-mm__nav {
    display: none;
}

.h1-mm--mobile .h1-mm__hamburger {
    display: flex;
}

.h1-mm--mobile .h1-mm__panel {
    display: none !important;
}

/* ── Sticky ── */
.h1-mm--sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99990;
}

.h1-mm--sticky .h1-mm__bar {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* ═══════════════════════════════════════════════
   Blog Grid Premium Widget
   ═══════════════════════════════════════════════ */

/* ── Category Navigation ── */
.h1-blog__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.h1-blog__nav-item {
    display: inline-block;
    padding: 8px 18px;
    background-color: #f0f0f0;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 200ms ease, color 200ms ease;
    cursor: pointer;
}

.h1-blog__nav-item:hover {
    background-color: #ddd;
    color: #333;
}

.h1-blog__nav-item.active {
    background-color: #2c3e50;
    color: #ffffff;
}

.h1-blog__nav-count {
    font-weight: 400;
    font-size: 12px;
    opacity: 0.7;
}

.h1-blog__subnav-wrap {
    margin-bottom: 20px;
}

.h1-blog__subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 0 0;
}

.h1-blog__subnav-item {
    display: inline-block;
    padding: 6px 14px;
    background-color: #e8e8e8;
    color: #555;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 200ms ease, color 200ms ease;
    cursor: pointer;
}

.h1-blog__subnav-item:hover {
    background-color: #ccc;
}

.h1-blog__subnav-item.active {
    background-color: #34495e;
    color: #ffffff;
}

/* ── Grid ── */
.h1-blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ── Card ── */
.h1-blog__card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 300ms ease, transform 200ms ease;
}

.h1-blog__card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

/* ── Thumbnail ── */
.h1-blog__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.h1-blog__thumb a {
    display: block;
    height: 100%;
}

.h1-blog__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 300ms ease;
}

.h1-blog__card:hover .h1-blog__thumb img {
    transform: scale(1.05);
}

.h1-blog__thumb-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
}

/* ── Badge ── */
.h1-blog__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-block;
    padding: 4px 12px;
    background-color: #e74c3c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 2;
}

/* ── Body ── */
.h1-blog__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
    gap: 10px;
}

/* ── Meta ── */
.h1-blog__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #888888;
}

.h1-blog__date,
.h1-blog__author {
    display: flex;
    align-items: center;
    gap: 4px;
}

.h1-blog__meta .dashicons {
    font-size: 13px;
    width: 13px;
    height: 13px;
}

/* ── Title ── */
.h1-blog__title {
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.h1-blog__title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 200ms ease;
}

.h1-blog__title a:hover {
    color: #2c3e50;
}

/* ── Excerpt ── */
.h1-blog__excerpt {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
}

/* ── CTA ── */
.h1-blog__cta {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    padding: 10px 22px;
    background-color: #2c3e50;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 200ms ease;
}

.h1-blog__cta:hover {
    background-color: #1a252f;
    color: #ffffff;
}

/* ── Empty ── */
.h1-blog__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
}

/* ── Pagination ── */
.h1-blog__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.h1-blog__page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    background-color: #f0f0f0;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 200ms ease, color 200ms ease;
    cursor: pointer;
}

.h1-blog__page-link:hover {
    background-color: #ddd;
    color: #333;
}

.h1-blog__page-link--active {
    background-color: #2c3e50;
    color: #ffffff;
    pointer-events: none;
}

.h1-blog__page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 40px;
    color: #999;
    font-size: 14px;
}

/* ═══════════════════════════════════════════════
   Blog Detail Premium Widget
   ═══════════════════════════════════════════════ */

.h1-blogd {
    max-width: 900px;
    margin: 0 auto;
}

/* ── Featured Image ── */
.h1-blogd__image {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 24px;
}

.h1-blogd__image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ── Meta ── */
.h1-blogd__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #888888;
}

.h1-blogd__meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.h1-blogd__meta .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
}

/* ── Title ── */
.h1-blogd__title {
    margin: 0 0 16px 0;
    padding: 0;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a2e;
}

/* ── Tags ── */
.h1-blogd__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.h1-blogd__tag {
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    text-decoration: none;
}

.h1-blogd__tag--cat {
    background-color: #2c3e50;
    color: #ffffff;
}

.h1-blogd__tag--cat:hover {
    opacity: 0.85;
    color: #ffffff;
}

.h1-blogd__tag--tag {
    background-color: #ecf0f1;
    color: #555555;
}

/* ── Content ── */
.h1-blogd__content {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 40px;
}

.h1-blogd__content p {
    margin: 0 0 16px 0;
}

.h1-blogd__content a {
    color: #2c3e50;
    text-decoration: underline;
}

.h1-blogd__content a:hover {
    color: #1a252f;
}

.h1-blogd__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

.h1-blogd__content blockquote {
    margin: 20px 0;
    padding: 16px 24px;
    border-left: 4px solid #2c3e50;
    background-color: #f8f9fa;
    font-style: italic;
    color: #555;
    border-radius: 0 8px 8px 0;
}

.h1-blogd__content h2,
.h1-blogd__content h3,
.h1-blogd__content h4 {
    margin: 24px 0 12px;
    color: #1a1a2e;
}

/* ── Prev/Next Navigation ── */
.h1-blogd__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
    padding-top: 30px;
    border-top: 2px solid #ecf0f1;
}

.h1-blogd__nav-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 200ms ease;
}

.h1-blogd__nav-link:hover {
    background-color: #ecf0f1;
}

.h1-blogd__nav-prev {
    text-align: left;
}

.h1-blogd__nav-next {
    text-align: right;
}

.h1-blogd__nav-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #888888;
    letter-spacing: 0.5px;
}

.h1-blogd__nav-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.3;
}

/* ── Related Posts ── */
.h1-blogd__related {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #ecf0f1;
}

.h1-blogd__related-title {
    margin: 0 0 24px 0;
    padding: 0;
    font-size: 26px;
    font-weight: 800;
    color: #1a1a2e;
    text-align: center;
}

.h1-blogd__related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.h1-blogd__related-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 300ms ease, transform 200ms ease;
}

.h1-blogd__related-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.h1-blogd__related-thumb {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.h1-blogd__related-thumb a {
    display: block;
    height: 100%;
}

.h1-blogd__related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.h1-blogd__related-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
    gap: 6px;
}

.h1-blogd__related-cat {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 10px;
    background-color: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
}

.h1-blogd__related-card-title {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a2e;
}

.h1-blogd__related-card-title a {
    color: inherit;
    text-decoration: none;
}

.h1-blogd__related-card-title a:hover {
    opacity: 0.8;
}

.h1-blogd__related-date {
    margin: 0;
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.h1-blogd__related-date .dashicons {
    font-size: 13px;
    width: 13px;
    height: 13px;
}

.h1-blogd__related-cta {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    padding: 8px 18px;
    background-color: #2c3e50;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 200ms ease;
}

.h1-blogd__related-cta:hover {
    background-color: #1a252f;
    color: #ffffff;
}

/* ═══════════════════════════════════════════════
   Blog Category Premium Widget
   ═══════════════════════════════════════════════ */
.h1-blogcat__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.h1-blogcat__footer {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.h1-blogcat__viewmore {
    display: inline-block;
    padding: 12px 32px;
    background-color: #2c3e50;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 200ms ease;
}

.h1-blogcat__viewmore:hover {
    background-color: #1a252f;
    color: #ffffff;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 1024px)
   ══════════════════════════════════════════════════ */
@media (max-width: 1024px) {

    /* ── Block Grid ── */
    .h1-block-grid {
        height: 300px;
    }

    /* ── Circle Premium ── */
    .h1-circle-wrap {
        display: flex;
        justify-content: center;
    }
    .h1-circle {
        transform: scale(0.75);
        transform-origin: center center;
        margin: -87px 0;
    }

    /* ── Events Premium (grid) ── */
    .h1-events--grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ── Event Grid Horizontal ── */
    .h1-evt-h__thumb {
        width: 220px;
    }

    /* ── Event Grid Vertical ── */
    .h1-evt-v {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ── Event Detail ── */
    .h1-evtd__other-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .h1-evtd__gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .h1-evtd__title {
        font-size: 28px;
    }
    .h1-evtd__register-btn {
        font-size: 15px;
        padding: 12px 28px;
    }

    /* ── Blog Grid ── */
    .h1-blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ── Blog Detail ── */
    .h1-blogd__related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ── Blog Category ── */
    .h1-blogcat__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ── Mega Menu ── */
    .h1-mm__panel--full {
        width: 100vw;
    }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 768px)
   ══════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── Heading Premium ── */
    .h1-heading-premium {
        flex-direction: column;
        gap: 8px;
    }
    .h1-heading-premium__text {
        white-space: normal;
        text-align: center;
        padding: 0 12px;
    }
    .h1-heading-premium__line {
        max-width: 60px;
    }

    /* ── Block Grid ── */
    .h1-block-grid {
        height: 220px;
        border-radius: 8px;
    }
    .h1-block-grid__overlay {
        padding: 12px 16px;
    }
    .h1-block-grid__heading {
        font-size: 16px;
    }
    .h1-block-grid__subheading {
        font-size: 13px;
    }

    /* ── Circle Premium → vertical list ── */
    .h1-circle-wrap {
        overflow: visible;
    }
    .h1-circle {
        width: 100% !important;
        height: auto !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 28px;
        padding: 24px 20px;
        transform: none;
        margin: 0;
    }
    .h1-circle__center {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        flex-shrink: 0;
        width: 100px !important;
        height: 100px !important;
        border-radius: 50%;
        margin-bottom: 8px;
    }
    .h1-circle__item {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        flex-shrink: 0;
        opacity: 0;
        animation: h1CircleMobSlide 400ms ease-out forwards;
    }
    .h1-circle__item:nth-child(1)  { animation-delay: 60ms; }
    .h1-circle__item:nth-child(2)  { animation-delay: 120ms; }
    .h1-circle__item:nth-child(3)  { animation-delay: 180ms; }
    .h1-circle__item:nth-child(4)  { animation-delay: 240ms; }
    .h1-circle__item:nth-child(5)  { animation-delay: 300ms; }
    .h1-circle__item:nth-child(6)  { animation-delay: 360ms; }
    .h1-circle__item:nth-child(7)  { animation-delay: 420ms; }
    .h1-circle__item:nth-child(8)  { animation-delay: 480ms; }
    .h1-circle__item:nth-child(9)  { animation-delay: 540ms; }
    .h1-circle__item:nth-child(10) { animation-delay: 600ms; }
    .h1-circle__item:nth-child(11) { animation-delay: 660ms; }
    .h1-circle__item:nth-child(12) { animation-delay: 720ms; }
    .h1-circle__item-img {
        width: 72px;
        height: 72px;
    }
    .h1-circle__item-title {
        font-size: 13px;
        max-width: 100px;
        margin-top: 8px;
    }
    .h1-circle--entrance-expand .h1-circle__center,
    .h1-circle--entrance-fade .h1-circle__center,
    .h1-circle--entrance-spin .h1-circle__center {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .h1-circle--entrance-expand .h1-circle__item,
    .h1-circle--entrance-fade .h1-circle__item,
    .h1-circle--entrance-spin .h1-circle__item {
        animation: h1CircleMobSlide 400ms ease-out forwards !important;
    }
    .h1-circle .h1-circle__item:hover {
        transform: none !important;
    }
    .h1-circle--hover-bounce .h1-circle__item:hover {
        animation: none !important;
    }
    .h1-circle--hover-glow .h1-circle__item:hover .h1-circle__item-img {
        box-shadow: none !important;
    }

    /* ── Events Premium ── */
    .h1-events--grid {
        grid-template-columns: 1fr;
    }
    .h1-events__item {
        flex-direction: column;
    }
    .h1-events__thumb {
        width: 100%;
        height: 180px;
    }
    .h1-events__content {
        padding: 16px;
        gap: 12px;
    }
    .h1-events__title {
        font-size: 16px;
    }
    .h1-events__meta {
        font-size: 12px;
    }

    /* ── Event Grid Horizontal ── */
    .h1-evt-h__card {
        flex-direction: column;
    }
    .h1-evt-h__thumb {
        width: 100%;
        height: 200px;
    }
    .h1-evt-h__body {
        padding: 16px;
    }
    .h1-evt-h__title {
        font-size: 18px;
    }

    /* ── Event Grid Vertical ── */
    .h1-evt-v {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .h1-evt-v__body {
        padding: 16px;
    }
    .h1-evt-v__title {
        font-size: 16px;
    }

    /* ── Event Detail ── */
    .h1-evtd {
        padding: 0 8px;
    }
    .h1-evtd__title {
        font-size: 22px;
    }
    .h1-evtd__info-grid {
        grid-template-columns: 1fr;
    }
    .h1-evtd__info-card {
        padding: 16px;
    }
    .h1-evtd__gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .h1-evtd__other-grid {
        grid-template-columns: 1fr;
    }
    .h1-evtd__other-title {
        font-size: 22px;
    }
    .h1-evtd__banner {
        border-radius: 8px;
        margin-bottom: 16px;
    }
    .h1-evtd__banner img {
        border-radius: 8px;
    }
    .h1-evtd__section-title {
        font-size: 20px;
    }
    .h1-evtd__calendar-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .h1-evtd__nav-buttons {
        width: 100%;
    }
    .h1-evtd__nav-btn {
        flex: 1;
        justify-content: center;
    }

    /* ── Blog Grid ── */
    .h1-blog__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .h1-blog__nav {
        gap: 6px;
    }
    .h1-blog__nav-item {
        padding: 6px 12px;
        font-size: 13px;
    }
    .h1-blog__body {
        padding: 16px;
    }
    .h1-blog__title {
        font-size: 16px;
    }
    .h1-blog__excerpt {
        font-size: 13px;
    }

    /* ── Blog Detail ── */
    .h1-blogd {
        padding: 0 8px;
    }
    .h1-blogd__title {
        font-size: 24px;
    }
    .h1-blogd__image {
        max-height: 250px;
        border-radius: 8px;
    }
    .h1-blogd__image img {
        border-radius: 8px;
    }
    .h1-blogd__nav {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .h1-blogd__nav-next {
        text-align: left;
    }
    .h1-blogd__related-grid {
        grid-template-columns: 1fr;
    }
    .h1-blogd__related-title {
        font-size: 22px;
    }
    .h1-blogd__content {
        font-size: 15px;
        line-height: 1.7;
    }
    .h1-blogd__content blockquote {
        padding: 12px 16px;
        margin: 16px 0;
    }
    .h1-blogd__meta {
        gap: 10px;
        font-size: 13px;
    }
    .h1-blogd__tags {
        gap: 6px;
    }

    /* ── Blog Category ── */
    .h1-blogcat__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .h1-blogcat__viewmore {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
    }

    /* ── Mega Menu ── */
    .h1-mm__mob-link {
        padding: 16px 0;
    }
    .h1-mm__mobile {
        width: 300px;
        padding: 16px;
    }

    /* ── Touch-friendly tap targets (44px min) ── */
    .h1-evt-h__cta,
    .h1-evt-v__cta,
    .h1-blog__cta,
    .h1-evtd__register-btn,
    .h1-evtd__other-cta,
    .h1-blogd__related-cta,
    .h1-evtd__nav-btn,
    .h1-evtd__cal-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    .h1-blog__page-link {
        min-width: 44px;
        height: 44px;
    }
    .h1-blog__subnav-item {
        padding: 8px 14px;
    }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — Small Mobile (≤ 480px)
   ══════════════════════════════════════════════════ */
@media (max-width: 480px) {

    /* ── Block Grid ── */
    .h1-block-grid {
        height: 180px;
    }
    .h1-block-grid__heading {
        font-size: 14px;
    }
    .h1-block-grid__subheading {
        font-size: 12px;
        display: none;
    }

    /* ── Circle ── */
    .h1-circle__center {
        width: 80px !important;
        height: 80px !important;
    }
    .h1-circle__item-img {
        width: 56px;
        height: 56px;
    }
    .h1-circle {
        gap: 22px;
    }

    /* ── Event Detail ── */
    .h1-evtd__title {
        font-size: 20px;
    }
    .h1-evtd__gallery-grid {
        grid-template-columns: 1fr;
    }
    .h1-evtd__calendar-buttons {
        flex-direction: column;
        width: 100%;
    }
    .h1-evtd__cal-btn {
        width: 100%;
        justify-content: center;
    }
    .h1-evtd__register-btn {
        width: 100%;
        text-align: center;
    }

    /* ── Blog Detail ── */
    .h1-blogd__title {
        font-size: 20px;
    }
    .h1-blogd__image {
        max-height: 200px;
    }

    /* ── Blog Grid ── */
    .h1-blog__pagination {
        gap: 4px;
    }
    .h1-blog__page-link {
        min-width: 38px;
        height: 38px;
        font-size: 13px;
    }

    /* ── Event cards: full-width CTA ── */
    .h1-evt-h__cta,
    .h1-evt-v__cta,
    .h1-evtd__other-cta {
        width: 100%;
        text-align: center;
    }
}

/* ── Circle Wrapper (always present) ── */
.h1-circle-wrap {
    width: 100%;
    overflow: hidden;
}

/* ── Circle Mobile Entrance Animation ── */
@keyframes h1CircleMobSlide {
    0%   { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════
   Event Pagination — Modern / Pro
   ══════════════════════════════════════════════════ */
.h1-evt-pagination {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 40px auto 0;
    padding: 6px;
    background-color: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
    flex-wrap: wrap;
    width: fit-content;
}

/* Center the inline-flex pagination inside its parent block */
.h1-events,
.h1-evt-h,
.h1-evt-v {
    /* parent is grid/flex; pagination follows as sibling */
}

.h1-evt-pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.h1-evt-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    background-color: transparent;
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 180ms ease, color 180ms ease, transform 120ms ease, box-shadow 180ms ease;
    cursor: pointer;
    user-select: none;
    letter-spacing: 0.01em;
}

.h1-evt-pagination__link:hover {
    background-color: #f5f7fa;
    color: #1a1a2e;
}

.h1-evt-pagination__link:active {
    transform: scale(0.96);
}

.h1-evt-pagination__link--active {
    background: linear-gradient(135deg, #2c3e50, #1a252f);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

/* Prev / Next with chevron */
.h1-evt-pagination__prev,
.h1-evt-pagination__next {
    color: #2c3e50;
    font-weight: 600;
    font-size: 0;
    padding: 0;
    width: 40px;
    position: relative;
}

.h1-evt-pagination__prev::before,
.h1-evt-pagination__next::before {
    content: '';
    width: 9px;
    height: 9px;
    border-style: solid;
    border-color: currentColor;
    border-width: 0 0 2px 2px;
    display: block;
}

.h1-evt-pagination__prev::before {
    transform: rotate(45deg);
    margin-left: 3px;
}

.h1-evt-pagination__next::before {
    transform: rotate(-135deg);
    margin-right: 3px;
}

.h1-evt-pagination__prev:hover,
.h1-evt-pagination__next:hover {
    background-color: #2c3e50;
    color: #ffffff;
}

/* Dots */
.h1-evt-pagination__dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 40px;
    color: #b0b8c4;
    font-size: 16px;
    letter-spacing: 2px;
    user-select: none;
}

/* Responsive */
@media (max-width: 768px) {
    .h1-evt-pagination {
        gap: 2px;
        padding: 4px;
        border-radius: 12px;
    }
    .h1-evt-pagination__link {
        min-width: 42px;
        height: 42px;
        padding: 0 10px;
    }
    .h1-evt-pagination__prev,
    .h1-evt-pagination__next {
        width: 42px;
    }
}

@media (max-width: 480px) {
    .h1-evt-pagination {
        gap: 2px;
    }
    .h1-evt-pagination__link {
        min-width: 38px;
        height: 38px;
        padding: 0 8px;
        font-size: 13px;
        border-radius: 8px;
    }
    .h1-evt-pagination__prev,
    .h1-evt-pagination__next {
        width: 38px;
    }
    .h1-evt-pagination__dots {
        min-width: 22px;
    }
}
