:root {
    --hero-bg-color: #000007;

    --section-1-bg-color: #b4e3f9;
    --section-2-bg-color: #ffffff;
    --section-3-bg-color: #005183;
    --section-4-bg-color: #eef4ed;
    --section-4-bg-image: url('images/bg-1.jpg');
    --section-5-bg-color: #ffffff;
    --section-6-bg-color: #111117;
    --section-6-bg-image: url('images/bg-1.jpg');
    --section-7-bg-color: #ffffff;
}
.mission-excerpt .mission-vocation {
    position: relative;
    margin: 0 auto 2.5rem;
    padding: 2rem clamp(1.25rem, 4vw, 3.5rem) !important;
    border-top: 3px solid #c69a45;
    border-bottom: 1px solid #e8dfd5;
    color: #540d0d;
    font-family: var(--font-heading, Georgia, serif);
    font-size: clamp(1.2rem, 2vw, 1.55rem) !important;
    font-style: italic;
    line-height: 1.8;
    text-align: center;
}

.filament-tiptap-grid,
.filament-tiptap-grid-builder {
    display: grid;
    gap: 1rem;
    box-sizing: border-box;
    padding-bottom: 14px;
    border-radius: 10px;
}

.filament-tiptap-grid[type^="asymetric"] {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}

.filament-tiptap-grid-builder__column {
    /* border: 3px solid #09134a; */
    border-radius: 12px;
    height: fit-content;
    /* overflow: auto; */
}

.filament-tiptap-grid-builder__column {
    position: relative;
    padding: 10px;
    text-align: left;
}

.filament-tiptap-grid-builder__column img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.filament-tiptap-grid-builder__column img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.fancybox__overlay {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

.fancybox__image {
    max-width: 90vw;
    max-height: 80vh;
    margin: auto;
}

.tiptap-content table,
.grid-content table {
    font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    height: auto;
    margin: 1.25rem 0 2rem !important;
    border: 1px solid #e8dfd5 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(64, 11, 11, 0.05) !important;
    overflow: hidden !important;
}

.tiptap-content td,
.tiptap-content th,
.grid-content td,
.grid-content th {
    border: 0;
    border-bottom: 1px solid #f0e7dd !important;
    border-right: 1px solid #f0e7dd !important;
    padding: 12px 18px !important;
    vertical-align: middle;
    font-size: 0.96rem;
    color: #362929;
}

.tiptap-content th,
.grid-content th {
    background: #400b0b !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    font-size: 0.88rem !important;
    border-bottom: 3px solid #c5a059 !important;
}

/* Fix text color inside table header when TipTap wraps in p or span */
.tiptap-content th p,
.tiptap-content th span,
.tiptap-content th strong,
.grid-content th p,
.grid-content th span,
.grid-content th strong {
    color: #ffffff !important;
    margin: 0 !important;
    font-weight: 700 !important;
    font-size: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
}

.tiptap-content tr:last-child td,
.grid-content tr:last-child td {
    border-bottom: none !important;
}

.tiptap-content tr td:last-child,
.tiptap-content tr th:last-child,
.grid-content tr td:last-child,
.grid-content tr th:last-child {
    border-right: none !important;
}

.tiptap-content tr:nth-child(even),
.grid-content tr:nth-child(even) {
    background-color: #faf6f0;
}

.tiptap-content tr:hover,
.grid-content tr:hover {
    background-color: #f5ece0;
    transition: background-color 0.2s ease;
}

/* ==========================================================================
   Directory & Address Page Styles (Robust to Backend Edits)
   ========================================================================== */
.page-more-directory-address .container {
    max-width: 1140px;
}

/* Headings (e.g. 13.2, 13.3, 13.4) */
.page-more-directory-address .tiptap-content h2,
.page-more-directory-address .content-text h2,
.page-more-directory-address h2.directory-heading {
    color: #400b0b !important;
    font-family: var(--font-heading, 'Cinzel', 'Cormorant Garamond', Georgia, serif) !important;
    font-size: clamp(1.35rem, 2vw, 1.75rem) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    padding-bottom: 0.65rem !important;
    margin-top: 2.75rem !important;
    margin-bottom: 1.25rem !important;
    border-bottom: 2px solid #c5a059 !important;
    display: block !important;
    position: relative !important;
}

.page-more-directory-address .tiptap-content h2:first-of-type,
.page-more-directory-address .content-text h2:first-of-type {
    margin-top: 0.5rem !important;
}

/* Subheadings (e.g. 13.3.1, 13.3.2, 13.4.1) */
.page-more-directory-address .tiptap-content h3,
.page-more-directory-address .content-text h3,
.page-more-directory-address h3.directory-subheading {
    color: #540d0d !important;
    font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif) !important;
    font-size: clamp(1.18rem, 1.55vw, 1.42rem) !important;
    font-weight: 700 !important;
    margin-top: 2rem !important;
    margin-bottom: 0.75rem !important;
    padding: 0.4rem 0.85rem !important;
    background: #faf5ed !important;
    border-left: 4px solid #c5a059 !important;
    border-radius: 0 6px 6px 0 !important;
    display: block !important;
}

/* Tables on Directory Page */
.page-more-directory-address .tiptap-content table,
.page-more-directory-address .content-text table {
    width: 100% !important;
    margin: 0.75rem 0 2rem !important;
    border: 1px solid #e8dfd5 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(64, 11, 11, 0.05) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.page-more-directory-address .tiptap-content table:hover,
.page-more-directory-address .content-text table:hover {
    box-shadow: 0 8px 24px rgba(64, 11, 11, 0.09) !important;
    border-color: #d8c4ad !important;
}

/* Table Headers */
.page-more-directory-address .tiptap-content thead th,
.page-more-directory-address .content-text thead th {
    background: #400b0b !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 0.88rem !important;
    border-bottom: 3px solid #c5a059 !important;
    padding: 14px 18px !important;
    border-top: none !important;
    border-left: none !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.page-more-directory-address .tiptap-content thead th p,
.page-more-directory-address .tiptap-content thead th span,
.page-more-directory-address .tiptap-content thead th strong,
.page-more-directory-address .content-text thead th p,
.page-more-directory-address .content-text thead th span,
.page-more-directory-address .content-text thead th strong {
    color: #ffffff !important;
    margin: 0 !important;
    font-weight: 700 !important;
    font-size: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
}

.page-more-directory-address .tiptap-content thead th:last-child,
.page-more-directory-address .content-text thead th:last-child {
    border-right: none !important;
}

/* Table Cells */
.page-more-directory-address .tiptap-content td,
.page-more-directory-address .content-text td {
    padding: 12px 18px !important;
    vertical-align: middle !important;
    font-size: 0.96rem !important;
    color: #362929 !important;
    border-bottom: 1px solid #f0e7dd !important;
    border-right: 1px solid #f0e7dd !important;
    border-top: none !important;
    border-left: none !important;
}

.page-more-directory-address .tiptap-content td:last-child,
.page-more-directory-address .content-text td:last-child {
    border-right: none !important;
}

.page-more-directory-address .tiptap-content tr:last-child td,
.page-more-directory-address .content-text tr:last-child td {
    border-bottom: none !important;
}

.page-more-directory-address .tiptap-content td p,
.page-more-directory-address .content-text td p {
    margin-bottom: 0 !important;
    color: #362929 !important;
    font-size: inherit !important;
    line-height: 1.55 !important;
}

/* First Column Styling for 2-column tables (Designation / Office / Convener / Members / Email) */
.page-more-directory-address .tiptap-content tbody tr td:first-child {
    font-weight: 600;
}

.page-more-directory-address .tiptap-content tbody tr td:first-child strong,
.page-more-directory-address .tiptap-content tbody tr td:first-child p strong,
.page-more-directory-address .content-text tbody tr td:first-child strong,
.page-more-directory-address .content-text tbody tr td:first-child p strong {
    color: #400b0b !important;
    font-weight: 700 !important;
}

/* Tables without thead (e.g. Secretariat & Council details) */
.page-more-directory-address .tiptap-content table:not(:has(thead)) tbody tr td:first-child,
.page-more-directory-address .content-text table:not(:has(thead)) tbody tr td:first-child {
    background: #faf5ed !important;
    color: #540d0d !important;
    width: 32% !important;
    border-right: 2px solid #ede1d3 !important;
}

/* Links inside tables (e.g. Email links) */
.page-more-directory-address .tiptap-content td a,
.page-more-directory-address .content-text td a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    background: #f8f4ee !important;
    color: #540d0d !important;
    border: 1px solid #dfd0be !important;
    padding: 0.35rem 0.8rem !important;
    border-radius: 6px !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin: 0.2rem 0.35rem 0.2rem 0 !important;
    transition: all 0.2s ease !important;
}

.page-more-directory-address .tiptap-content td a:hover,
.page-more-directory-address .content-text td a:hover {
    background: #400b0b !important;
    color: #ffffff !important;
    border-color: #400b0b !important;
    box-shadow: 0 3px 10px rgba(64, 11, 11, 0.2) !important;
    transform: translateY(-1px) !important;
}

/* Lists inside table cells */
.page-more-directory-address .tiptap-content td ul,
.page-more-directory-address .content-text td ul,
.tiptap-content table td ul,
.content-text table td ul,
table td ul {
    list-style: disc !important;
    margin: 0.25rem 0 !important;
    padding: 0 0 0 1.25rem !important;
    border-left: none !important;
}

.page-more-directory-address .tiptap-content td ul li,
.page-more-directory-address .content-text td ul li,
.tiptap-content table td ul li,
.content-text table td ul li,
table td ul li {
    padding: 0.18rem 0 !important;
    margin: 0 !important;
    color: #333333 !important;
    font-size: 0.95rem !important;
    animation: none !important;
    background: transparent !important;
    display: list-item !important;
    transform: none !important;
}

.page-more-directory-address .tiptap-content td ul li::before,
.page-more-directory-address .content-text td ul li::before,
.tiptap-content table td ul li::before,
.content-text table td ul li::before,
table td ul li::before,
table td ol li::before {
    display: none !important;
    content: none !important;
}

.page-more-directory-address .tiptap-content td ul li:hover,
.page-more-directory-address .content-text td ul li:hover,
.tiptap-content table td ul li:hover,
.content-text table td ul li:hover,
table td ul li:hover {
    background: transparent !important;
    transform: none !important;
}

@media (max-width: 767.98px) {
    .page-more-directory-address .tiptap-content h2,
    .page-more-directory-address .content-text h2 {
        font-size: 1.3rem !important;
    }

    .page-more-directory-address .tiptap-content table:not(:has(thead)) tbody tr td:first-child,
    .page-more-directory-address .content-text table:not(:has(thead)) tbody tr td:first-child {
        width: 38% !important;
        padding: 10px 12px !important;
        font-size: 0.88rem !important;
    }

    .page-more-directory-address .tiptap-content td,
    .page-more-directory-address .content-text td,
    .page-more-directory-address .tiptap-content th,
    .page-more-directory-address .content-text th {
        padding: 10px 12px !important;
        font-size: 0.9rem !important;
    }

    .page-more-directory-address .tiptap-content td a,
    .page-more-directory-address .content-text td a {
        width: 100% !important;
        justify-content: flex-start !important;
        word-break: break-all !important;
    }
}

.section-content {
    text-align: justify;
}

/* TipTap Grid Layout */
.grid-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    margin: 1rem 0 1.5rem;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .grid-layout {
        display: grid !important;
        grid-template-columns: var(--cols, none);
        align-items: start;
    }
}

.grid-layout-col {
    grid-column: var(--col-span, auto);
    min-width: 0;
    box-sizing: border-box;
    padding: 1rem;
    /* border: 1px solid #d8dee8; */
    border-radius: 6px;
    background: #fff;
}

.grid-layout-col> :last-child {
    margin-bottom: 0 !important;
}

.grid-layout-col p {
    margin-bottom: 0 !important;
    text-align: left !important;
}

/* TipTap Content Normalization */
.content-text,
.tiptap-content,
.grid-content {
    font-size: 1.125rem;
    /* 18px */
    line-height: 1.75 !important;
    color: #333 !important;
}

.content-text p,
.tiptap-content p,
.grid-content p {
    font-size: 1.08rem;
    line-height: 1.75 !important;
    margin-bottom: 1rem !important;
    color: #000 !important;
    /* text-align: justify !important; */
}

.content-text h1,
.tiptap-content h1 {
    font-size: 23px !important;
    font-weight: 500 !important;
    margin-bottom: 1.5rem !important;
    color: #111 !important;
}

.post-page .block-item h2 {
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-bottom: 1.1rem !important;
    color: #400b0b !important;
    margin-bottom: 0px !important;
}

.content-text h2,
.tiptap-content h2 {
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-bottom: 0rem !important;
    color: #400b0b !important;
}

.subpage .content-text ul,
.subpage .tiptap-content ul {
    list-style: none;
    margin: 1.25rem 0 1.5rem;
    padding: .25rem 0 .25rem 1.55rem;
    border-left: 2px solid rgba(198, 154, 69, .45);
}

.grid-layout-col h2 img {
    display: inline;
}

.subpage .content-text ul li,
.subpage .tiptap-content ul li {
    position: relative;
    display: block;
    margin: 0;
    padding: .55rem .85rem;
    border-radius: 4px;
    animation: subpage-list-reveal .55s ease both;
    transition: background-color .25s ease, transform .25s ease;
}

.subpage .content-text ul li:nth-child(2),
.subpage .tiptap-content ul li:nth-child(2) {
    animation-delay: .08s;
}

.subpage .content-text ul li:nth-child(3),
.subpage .tiptap-content ul li:nth-child(3) {
    animation-delay: .16s;
}

.subpage .content-text ul li:nth-child(4),
.subpage .tiptap-content ul li:nth-child(4) {
    animation-delay: .24s;
}

.subpage .content-text ul li:nth-child(5),
.subpage .tiptap-content ul li:nth-child(5) {
    animation-delay: .32s;
}

.subpage .content-text ul li:nth-child(6),
.subpage .tiptap-content ul li:nth-child(6) {
    animation-delay: .4s;
}

.subpage .content-text ul li:hover,
.subpage .tiptap-content ul li:hover {
    background: rgba(198, 154, 69, .08);
    transform: translateX(5px);
}

.subpage .content-text ul li p,
.subpage .tiptap-content ul li p {
    margin-bottom: 0 !important;
}

.subpage .content-text ul li::before,
.subpage .tiptap-content ul li::before {
    position: absolute;
    top: 1rem;
    left: -1.85rem;
    width: .55rem;
    height: .55rem;
    border: 2px solid #c69a45;
    border-radius: 50%;
    background: #540d0d;
    box-shadow: 0 0 0 4px #fffaf5;
    content: "";
}

.subpage .block-item h3,
.subpage .content-text h3,
.subpage .tiptap-content h3 {
    position: relative;
    margin: 2.5rem 0 1.25rem !important;
    padding: 0 0 .7rem;
    border-bottom: 1px solid #e8dfd5;
    color: #540d0d !important;
    font-size: clamp(1.45rem, 2vw, 1.8rem) !important;
    font-weight: 700 !important;
    line-height: 1.25;
    letter-spacing: 0;
}

.subpage .block-item h3::before,
.subpage .content-text h3::before,
.subpage .tiptap-content h3::before {
    position: absolute;
    right: auto;
    bottom: -1px;
    left: 0;
    width: 4.5rem;
    height: 3px;
    background: #c69a45;
    content: "";
}

.subpage .block-item h4,
.subpage .content-text h4,
.subpage .tiptap-content h4 {
    position: relative;
    margin: 1.75rem 0 .75rem !important;  
    color: #a77921 !important;
    font-size: clamp(1.15rem, 1.8vw, 1.35rem) !important;
    font-weight: 650 !important;
    line-height: 1.35;
    letter-spacing: 0;
}



.subpage .block-item h5,
.subpage .content-text h5,
.subpage .tiptap-content h5 {
    margin: 1.35rem 0 .5rem !important;
    color: #540d0d !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    line-height: 1.4;
    letter-spacing: .01em;
}

.subpage .block-item h6,
.subpage .content-text h6,
.subpage .tiptap-content h6 {
    margin: 1rem 0 .4rem !important;
    color: #8a6a32 !important;
    font-size: .9rem !important;
    font-weight: 700 !important;
    line-height: 1.45;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mission-excerpt {
    max-width: 900px;
    margin: 0 auto;
}


.mission-excerpt .mission-vocation::before,
.mission-excerpt .mission-vocation::after {
    color: #c69a45;
    font-size: 2rem;
    line-height: 1;
}

.mission-excerpt .mission-vocation::before {
    content: "\201C";
    display: block;
    margin-bottom: .5rem;
}

.mission-excerpt .mission-vocation::after {
    content: "\201D";
    display: block;
    margin-top: .35rem;
}

.mission-excerpt .mission-history {
    margin: 0 auto;
    padding: 1.5rem 1.75rem;
    border-left: 3px solid rgba(198, 154, 69, .65);
    background: rgba(198, 154, 69, .07);
    color: #6d625b;
    font-size: 1rem;
    line-height: 1.8;
}

/* TipTap Colors */
.color {
    color: var(--color);
}

/* Responsive Images inside TipTap */
.content-text img,
.grid-layout-col img,
.tiptap-content img,
.grid-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-left: auto;
    margin-right: auto;
    /* margin-bottom: 1rem; */
}

.tiptap-content a {
    color: #0087ff !important;
    text-decoration: none !important;
}

.tiptap-content a:hover {
    color: #9b15b1 !important;
}

/* Empty subpage state */
.coming-soon-state {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 3rem 1.5rem;
    overflow: hidden;
    text-align: center;
    color: #540d0d;
}

.coming-soon-state::before,
.coming-soon-state::after {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(198, 154, 69, .2);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.coming-soon-state::before {
    animation: coming-soon-drift 8s ease-in-out infinite;
}

.coming-soon-state::after {
    width: 260px;
    height: 260px;
    border-color: rgba(84, 13, 13, .08);
    animation: coming-soon-drift 8s ease-in-out -2s infinite reverse;
}

.coming-soon-state__mark {
    position: relative;
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(198, 154, 69, .65);
    border-radius: 50%;
    animation: coming-soon-breathe 3s ease-in-out infinite;
}

.coming-soon-state__ring {
    width: 38px;
    height: 38px;
    border: 2px solid #c69a45;
    border-top-color: transparent;
    border-radius: 50%;
    animation: coming-soon-spin 5s linear infinite;
}

.coming-soon-state__dot {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #540d0d;
    box-shadow: 0 0 0 5px rgba(198, 154, 69, .16);
}

.coming-soon-state__eyebrow {
    margin: 0 0 .65rem !important;
    color: #a77921 !important;
    font-size: .75rem !important;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.4 !important;
    text-transform: uppercase;
}

.coming-soon-state h2 {
    margin: 0 0 .75rem !important;
    color: #540d0d !important;
    font-size: clamp(2rem, 5vw, 3.25rem) !important;
    font-weight: 700 !important;
    letter-spacing: .01em;
    line-height: 1.1;
}

.coming-soon-state__message {
    max-width: 30rem;
    margin: 0 !important;
    color: #6d625b !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
}

@keyframes coming-soon-spin {
    to { transform: rotate(360deg); }
}

@keyframes coming-soon-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes coming-soon-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(0, -12px) scale(1.04); }
}

@keyframes subpage-list-reveal {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .coming-soon-state::before,
    .coming-soon-state::after,
    .coming-soon-state__mark,
    .coming-soon-state__ring,
    .subpage .content-text ul li,
    .subpage .tiptap-content ul li {
        animation: none;
    }
}

/* Video Responsive Container */
.tiptap-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.tiptap-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.content-block-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.content-block-tabs-nav .nav-item {
    list-style: none;
}

.content-block-tabs-content > .tab-pane {
    display: none;
}

.content-block-tabs-content > .tab-pane.active {
    display: block;
}

.content-block-accordion .accordion-collapse.collapse:not(.show) {
    display: none;
}

.content-block-accordion .accordion-collapse.collapsing {
    height: 0;
    overflow: hidden;
}

.content-block-accordion .accordion-button {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding-right: 2.75rem;
    position: relative;
}

.content-block-accordion .accordion-button::after {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: "";
    height: .65rem;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-65%) rotate(45deg);
    transition: transform .2s ease;
    width: .65rem;
}

.content-block-accordion .accordion-button:not(.collapsed)::after {
    transform: translateY(-35%) rotate(225deg);
}

.content-block-tabs-content .tiptap-content,
.content-block-accordion .accordion-body .tiptap-content {
    font-size: 16px;
    line-height: 1.6;
}

.content-block-tabs-content .tiptap-content > :last-child,
.content-block-accordion .accordion-body .tiptap-content > :last-child {
    margin-bottom: 0;
}

/* Filament Admin Media Layout Fixes */
.curator-picker-grid,
.fi-fo-file-upload-list,
.fi-fo-spatie-media-library-file-upload-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
    gap: 1rem !important;
}

.curator-picker-grid img,
.fi-fo-file-upload-list img,
.fi-fo-spatie-media-library-file-upload-list img {
    width: 150px !important;
    height: 150px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
}

.fi-fo-file-upload-list-item,
.curator-picker-grid-item {
    width: 150px !important;
    height: 150px !important;
}
