

@font-face {
    font-family: 'UltrapressHeading';
    src: url('../fonts/baijamjuree-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UltrapressBody';
    src: url('../fonts/dmsans-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.site-header,
.main-navigation,
.site-footer,
.site-info,
.top-bar {
    display: none !important;
}

.main-916c23 {
    background-color: #180f2f;
    
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,0,85,0.02) 10px, rgba(255,0,85,0.02) 11px);
}

.epkzy-skip {
    position: absolute;
    top: -100%;
    left: 0;
    background: #ff0055;
    color: #fff;
    padding: 8px 16px;
    z-index: 9999;
    font-size: 14px;
    text-decoration: none;
}

.epkzy-skip:focus {
    top: 0;
}

.epkzy-site-content {
    max-width: 1150px;
    margin: 0 auto;
    padding: 35px 20px 60px;
    min-height: 50vh;
}

.main-916c23 h1,
.main-916c23 h2,
.main-916c23 h3,
.main-916c23 h4,
.main-916c23 h5 {
    font-family: 'UltrapressHeading', Arial, sans-serif;
    color: #ffffff;
    line-height: 1.25;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.main-916c23 h1 { font-size: 2.3rem; }
.main-916c23 h2 { font-size: 1.7rem; }
.main-916c23 h3 { font-size: 1.4rem; }
.main-916c23 h4 { font-size: 1.15rem; }
.main-916c23 h5 { font-size: 1.05rem; }

.main-916c23 .entry-content > :first-child,
.main-916c23 article > :first-child {
    margin-top: 0;
}

.main-916c23 .entry-content h2 {
    padding-bottom: 0.35em;
    position: relative;
}
.main-916c23 .entry-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #ff0055;
}

.main-916c23 body,
.main-916c23 p,
.main-916c23 li,
.main-916c23 td,
.main-916c23 th {
    font-family: 'UltrapressBody', Arial, sans-serif;
    color: #e8e8e8;
    line-height: 1.75;
}

.main-916c23 p {
    margin-bottom: 1.2em;
    font-size: 16px;
}

.main-916c23 a {
    color: #ff0055;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.main-916c23 a:hover {
    color: #d60047;
}

.main-916c23 ul,
.main-916c23 ol {
    padding-left: 1.5em;
    margin-bottom: 1.2em;
}

.main-916c23 li {
    margin-bottom: 0.4em;
}

.main-916c23 .entry-content img,
.main-916c23 .page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1em 0;
}

.main-916c23 hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 2em 0;
}

.epkzy-cta {
    display: none;
    padding: 12px 30px;
    background: #ff0055;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'UltrapressBody', Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.2s;
    margin-left: 12px;
}

.epkzy-cta:hover {
    background: #d60047;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(255,0,85,0.35);
    transform: translateY(-1px);
}

.epkzy-search {
    margin-left: 12px;
    position: relative;
}
.epkzy-search-form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.epkzy-search-form:focus-within {
    border-color: #ff0055;
}
.epkzy-search-input {
    background: transparent;
    border: none;
    padding: 6px 10px;
    color: #e3e3e3;
    font-family: 'UltrapressBody', Arial, sans-serif;
    font-size: 0.85rem;
    width: 160px;
    outline: none;
}
.epkzy-search-input::placeholder {
    color: rgba(255,255,255,0.4);
}
.epkzy-search-btn {
    background: transparent;
    border: none;
    padding: 6px 10px;
    color: #e3e3e3;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.epkzy-search-btn:hover {
    color: #ff0055;
}

.fdiqh-wrap {
    background: #1a1132;
    color: #adadad;
    margin-top: 40px;
    border-top: 2px solid #ff0055;
}

.fdiqh-links-row {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.fdiqh-row-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.fdiqh-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.fdiqh-menu a {
    color: #adadad;
    text-decoration: none;
    font-family: 'UltrapressBody', Arial, sans-serif;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.fdiqh-menu a:hover {
    color: #ff0055;
}

.fdiqh-info-row {
    padding: 15px 0;
}

.fdiqh-info-row .fdiqh-row-inner {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.fdiqh-copyright {
    margin: 0;
    font-family: 'UltrapressBody', Arial, sans-serif;
    font-size: 0.8rem;
    color: #b0b0b0;
}

.fdiqh-small {
    margin: 0;
    font-family: 'UltrapressBody', Arial, sans-serif;
    font-size: 0.8rem;
    color: #777777;
}

@media (max-width: 768px) {
    
    .epkzy-toggle {
        display: flex;
    }

    
    .epkzy-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #150d2b;
        border-top: 2px solid #ff0055;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        z-index: 200;
    }

    .epkzy-nav.is-open {
        display: block;
    }

    .epkzy-menu {
        flex-direction: column;
        padding: 10px 0;
    }

    .epkzy-menu > li > a {
        line-height: 1.4;
        padding: 12px 20px;
    }

    .epkzy-search {
        margin: 0;
        padding: 10px 20px;
    }
    .epkzy-search-input {
        width: 100%;
    }

    
    .epkzy-menu .sub-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        background: rgba(0, 0, 0, 0.15);
        padding-left: 15px;
        display: block;
        transform: none;
    }

    
    .fdiqh-inner {
        flex-direction: column;
        text-align: center;
    }

    .fdiqh-menu {
        justify-content: center;
    }

    
    .epkzy-site-content {
        padding: 25px 15px 40px;
    }
}

@media (max-width: 480px) {
    .epkzy-inner {
        height: 60px;
        padding: 0 15px;
    }

    .epkzy-sitename {
        font-size: 1.15rem;
    }

    .epkzy-brand img {
        max-height: 35px;
    }

    .main-916c23 h1 { font-size: 1.6rem; }
    .main-916c23 h2 { font-size: 1.35rem; }
    .main-916c23 h3 { font-size: 1.15rem; }

    .main-916c23 p {
        font-size: 0.95rem;
    }

    .epkzy-site-content {
        padding: 20px 12px 30px;
    }
}

.main-916c23 .entry-content table,
.main-916c23 .page-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1.5em;
    font-size: 0.95rem;
    border: 1px solid #404040;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.main-916c23 .entry-content th,
.main-916c23 .page-content th {
    background: #1a1132;
    color: #ffffff;
    padding: 12px 16px;
    text-align: left;
    font-family: 'UltrapressHeading', Arial, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
}

.main-916c23 .entry-content td,
.main-916c23 .page-content td {
    padding: 12px 16px;
    border-bottom: 1px solid #404040;
    text-align: left;
}

.main-916c23 .entry-content tr:last-child td,
.main-916c23 .page-content tr:last-child td {
    border-bottom: none;
}

.main-916c23 .entry-content tr:nth-child(even) td,
.main-916c23 .page-content tr:nth-child(even) td {
    background: #1e1d20;
}

.main-916c23 .entry-content tr:hover td,
.main-916c23 .page-content tr:hover td {
    background: #ffebf1;
}

.epkzy-wrap {
    background: #1a1132;
    position: relative;
    z-index: 100;
    padding: 12px 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.epkzy-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 20px;
    height: 68px;
}

.epkzy-brand {
    flex-shrink: 0;
}

.epkzy-brand a {
    text-decoration: none;
}

.epkzy-brand img {
    max-height: 42px;
    width: auto;
    display: block;
}

.epkzy-sitename {
    font-family: 'UltrapressHeading', Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.epkzy-sitename:hover {
    color: #ff0055;
}

.epkzy-pill-wrap {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    padding: 4px 6px;
    flex: 0 1 auto;
}

.epkzy-nav {
    display: flex;
    align-items: center;
}

.epkzy-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
}

.epkzy-menu li {
    position: relative;
}

.epkzy-menu > li > a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    line-height: 1.2;
    color: #e3e3e3;
    text-decoration: none;
    font-family: 'UltrapressBody', Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.epkzy-menu > li > a:hover,
.epkzy-menu > li.current-menu-item > a {
    color: #ffffff;
    background: #ff0055;
}

.epkzy-menu .sub-menu {
    list-style: none;
    margin: 6px 0 0 0;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #150d2b;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    display: none;
    z-index: 200;
}

.epkzy-menu li:hover > .sub-menu {
    display: block;
}

.epkzy-menu .sub-menu a {
    display: block;
    padding: 10px 18px;
    color: #c8c8c8;
    text-decoration: none;
    font-family: 'UltrapressBody', Arial, sans-serif;
    font-size: 0.88rem;
    transition: color 0.2s, background 0.2s;
}

.epkzy-menu .sub-menu a:hover {
    color: #ffffff;
    background: rgba(255, 0, 85, 0.15);
}

.epkzy-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.epkzy-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: #e3e3e3;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.epkzy-action-link:hover {
    background: #ff0055;
    color: #ffffff;
}

.epkzy-action-icon {
    font-size: 1rem;
    line-height: 1;
}

.epkzy-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 150;
}

.epkzy-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: transform 0.3s, opacity 0.3s;
}

.epkzy-toggle[aria-expanded="true"] .epkzy-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.epkzy-toggle[aria-expanded="true"] .epkzy-toggle-bar:nth-child(2) {
    opacity: 0;
}

.epkzy-toggle[aria-expanded="true"] .epkzy-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
