/**
 * Hulul Kitab Home V2
 * Version: 3.0.16
 */

.hul-home-v2 {
    --hul-home-primary: #0b5cad;
    --hul-home-primary-dark: #073f87;
    --hul-home-secondary: #f6a90a;
    --hul-home-accent: #12a59b;
    --hul-home-background: #f6fbff;
    --hul-home-surface: #ffffff;
    --hul-home-text: #18324a;
    --hul-home-muted: #64748b;
    --hul-home-border: #d8e7f5;
    --hul-home-soft: #eaf6ff;
    --hul-home-shadow: 0 10px 26px rgba(9, 65, 122, 0.10);
    background: var(--hul-home-background);
    color: var(--hul-home-text);
    direction: rtl;
    overflow-x: clip;
}

.hul-home-v2 *,
.hul-home-v2 *::before,
.hul-home-v2 *::after {
    box-sizing: border-box;
}

.hul-home-v2 a {
    color: inherit;
}

.hul-home-v2 img,
.hul-home-v2 svg {
    max-width: 100%;
}

.hul-home-v2__main {
    overflow: hidden;
}

.hul-home-v2__container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.hul-home-v2__hero {
    padding: 24px 0 18px;
}

.hul-home-v2__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
    align-items: center;
    gap: 32px;
    min-height: 330px;
    padding: 34px;
    border: 1px solid var(--hul-home-border);
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #eaf6ff 100%);
    box-shadow: var(--hul-home-shadow);
}

.hul-home-v2__eyebrow,
.hul-home-v2__section-kicker {
    margin: 0 0 8px;
    color: var(--hul-home-primary);
    font-size: 14px;
    font-weight: 800;
}

.hul-home-v2__hero-title {
    max-width: 620px;
    margin: 0;
    color: var(--hul-home-primary-dark);
    font-size: 40px;
    line-height: 1.35;
    letter-spacing: 0;
}

.hul-home-v2__hero-description {
    max-width: 560px;
    margin: 14px 0 0;
    color: var(--hul-home-muted);
    font-size: 18px;
    line-height: 1.9;
}

.hul-home-v2__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hul-home-v2__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.hul-home-v2__button--primary {
    background: var(--hul-home-primary);
    color: #ffffff;
}

.hul-home-v2__button--secondary {
    background: #ffffff;
    color: var(--hul-home-primary);
    border-color: var(--hul-home-border);
}

.hul-home-v2__button:hover,
.hul-home-v2__button:focus-visible {
    transform: translateY(-1px);
}

.hul-home-v2__button:focus-visible,
.hul-home-v2 a:focus-visible {
    outline: 3px solid rgba(246, 169, 10, 0.45);
    outline-offset: 3px;
}

.hul-home-v2__trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hul-home-v2__trust-list span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid var(--hul-home-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--hul-home-primary-dark);
    font-size: 13px;
    font-weight: 700;
}

.hul-home-v2__hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.hul-home-v2__hero-svg {
    width: min(420px, 100%);
    height: auto;
}

.hul-home-v2__section {
    padding: 26px 0;
}

.hul-home-v2__section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 16px 20px;
    border: 1px solid var(--hul-home-border);
    border-radius: 8px;
    background: var(--hul-home-soft);
}

.hul-home-v2__section-title {
    margin: 0;
    color: var(--hul-home-primary-dark);
    font-size: 30px;
    line-height: 1.35;
    letter-spacing: 0;
}

.hul-home-v2__section-description {
    max-width: 420px;
    margin: 0;
    color: var(--hul-home-muted);
    font-size: 15px;
    line-height: 1.8;
}

.hul-home-v2__categories,
.hul-home-v2__latest-grid,
.hul-home-v2__features {
    display: grid;
    gap: 18px;
}

.hul-home-v2__categories {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hul-home-v2__latest-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hul-home-v2__category-card,
.hul-home-v2__resource-card,
.hul-home-v2__feature {
    min-width: 0;
    border: 1px solid var(--hul-home-border);
    border-radius: 8px;
    background: var(--hul-home-surface);
    box-shadow: 0 8px 18px rgba(15, 99, 182, 0.08);
}

.hul-home-v2__category-card,
.hul-home-v2__resource-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hul-home-v2__category-card:hover,
.hul-home-v2__resource-card:hover,
.hul-home-v2__category-card:focus-within,
.hul-home-v2__resource-card:focus-within {
    transform: translateY(-2px);
    border-color: rgba(11, 92, 173, 0.38);
    box-shadow: var(--hul-home-shadow);
}

.hul-home-v2__category-link,
.hul-home-v2__resource-media {
    display: block;
    position: relative;
    text-decoration: none;
}

.hul-home-v2__category-image,
.hul-home-v2__resource-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    background: #f8fbff;
    overflow: hidden;
}

.hul-home-v2__category-image img,
.hul-home-v2__resource-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.hul-home-v2__image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--hul-home-primary);
    background: #eef7ff;
}

.hul-home-v2__image-fallback svg {
    width: 72px;
    height: 72px;
}

.hul-home-v2 .badge {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
}

/* شارتا المقال والتصنيف تستخدمان الشكل نفسه مع بقاء المصدر واللون مستقلين. */
.hul-home-v2__resource-card .badge--post,
.hul-home-v2__category-card .badge--category {
    top: 10px;
    right: auto;
    left: 10px;
    width: auto;
    max-width: calc(100% - 20px);
    padding: 5px 10px;
    transform: none;
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 3px 9px rgba(15, 47, 84, 0.18);
}

.hul-home-v2 .badge:empty {
    display: none;
}

.hul-home-v2__category-content,
.hul-home-v2__resource-content {
    padding: 14px;
}

.hul-home-v2__category-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px;
    align-items: center;
    gap: 8px;
}

.hul-home-v2__category-title,
.hul-home-v2__resource-title {
    color: var(--hul-home-text);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.hul-home-v2__category-title {
    font-size: 16px;
    line-height: 1.6;
}

.hul-home-v2__card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e7f3ff;
    color: var(--hul-home-primary);
    font-size: 18px;
}

.hul-home-v2__resource-card {
    display: flex;
    flex-direction: column;
}

.hul-home-v2__resource-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
}

.hul-home-v2__resource-type {
    color: var(--hul-home-accent);
    font-size: 12px;
    font-weight: 800;
}

.hul-home-v2__resource-title {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

.hul-home-v2__resource-title a {
    text-decoration: none;
}

.hul-home-v2__resource-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: auto;
    padding: 8px 12px;
    border-radius: 8px;
    background: #eef7ff;
    color: var(--hul-home-primary);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.hul-home-v2__play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(7, 63, 135, 0.88);
}

.hul-home-v2__play-icon svg {
    width: 54px;
    height: 54px;
}

.hul-home-v2__about {
    padding-bottom: 42px;
}

.hul-home-v2__about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 22px;
    align-items: start;
}

.hul-home-v2__about-summary {
    display: none;
}

.hul-home-v2__about-copy {
    padding: 24px;
    border: 1px solid var(--hul-home-border);
    border-radius: 8px;
    background: var(--hul-home-surface);
    box-shadow: 0 8px 18px rgba(15, 99, 182, 0.08);
}

.hul-home-v2__about-copy p:last-child {
    margin-bottom: 0;
    color: var(--hul-home-muted);
    font-size: 16px;
    line-height: 1.9;
}

.hul-home-v2__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hul-home-v2__feature {
    padding: 18px;
}

.hul-home-v2__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: #fff6df;
    color: #9b6400;
    font-weight: 900;
}

.hul-home-v2__feature h3 {
    margin: 0;
    color: var(--hul-home-text);
    font-size: 16px;
    line-height: 1.7;
}

.hul-home-v2__empty-state {
    margin: 0;
    padding: 18px;
    border: 1px dashed var(--hul-home-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--hul-home-muted);
    text-align: center;
}

body.home .site-header {
    margin-bottom: 0;
    padding: 14px 0;
    border-bottom-color: var(--hul-home-border, #d8e7f5);
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 99, 182, 0.07);
}

body.home #page.site {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

body.home #page #primary.site-content.hul-home-v2 {
    float: none;
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding-top: 0;
}

body.home #page #primary.hul-home-v2 > .hul-home-v2__main {
    width: 100%;
    margin-inline: auto;
}

body.home .site-header-wrapper {
    align-items: center;
    min-height: 76px;
    gap: 32px;
}

body.home .site-header .site,
body.home #colophon .site {
    width: min(1200px, calc(100% - 40px));
    max-width: none;
    padding: 0;
}

body.home .head-hg img {
    width: 170px;
    max-height: 78px;
}

body.home .main-navigation {
    min-height: 54px;
    border-top: 1px solid #e5edf5;
    border-bottom: 1px solid #d8e6f2;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 99, 182, 0.06);
}

body.home .main-navigation .menu-container {
    display: flex;
    align-items: center;
    gap: 18px;
    width: min(1200px, calc(100% - 40px));
    min-height: 53px;
    margin: 0 auto;
}

body.home .main-navigation ul.nav-menu,
body.home .main-navigation div.nav-menu > ul {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex: 1 1 auto;
    width: auto;
    min-height: 53px;
    margin: 0;
    text-align: center;
}

body.home .main-navigation li {
    display: flex;
    align-items: stretch;
    padding: 0 12px;
}

body.home .main-navigation li::before {
    display: none;
}

body.home .main-navigation li a {
    display: flex;
    align-items: center;
    min-height: 53px;
    padding: 0 4px;
    border-bottom: 3px solid transparent;
    color: #18324a;
    font-weight: 800;
}

body.home .main-navigation li.menu-item-home a {
    width: auto;
    height: auto;
    background: none;
    text-indent: 0;
}

body.home .main-navigation .current-menu-item > a,
body.home .main-navigation .current_page_item > a,
body.home .main-navigation li a:hover,
body.home .main-navigation li a:focus {
    color: #0b5cad;
    border-bottom-color: #0b5cad;
}

body.home .hul-header-search {
    display: flex;
    align-items: center;
    flex: 0 0 190px;
    height: 38px;
    overflow: hidden;
    border: 1px solid #d8e7f5;
    border-radius: 9px;
    background: #f8fbff;
    direction: rtl;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

body.home .hul-header-search:focus-within {
    border-color: #0b5cad;
    box-shadow: 0 0 0 3px rgba(11, 92, 173, 0.10);
}

body.home .hul-header-search__label {
    min-width: 0;
    flex: 1 1 auto;
}

body.home .hul-header-search__field {
    width: 100%;
    height: 36px;
    margin: 0;
    padding: 7px 11px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #18324a;
    font-family: inherit;
    font-size: 13px;
}

body.home .hul-header-search__field::placeholder {
    color: #708399;
}

body.home .hul-header-search__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0b5cad;
    cursor: pointer;
}

body.home .hul-header-search__submit svg {
    width: 21px;
    height: 21px;
}

body.home .hul-header-search .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

body.home .hk-app-ad-container {
    max-width: 560px !important;
    min-height: 60px;
    margin: 0 !important;
    border-radius: 8px !important;
}

body.home #colophon {
    margin-top: 0;
    background: linear-gradient(90deg, #0055cc 0%, #0b65b5 100%);
    color: #ffffff;
}

body.home #colophon .hul-footer-v2 {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    grid-template-areas:
        "copyright nav social"
        "trust trust trust";
    align-items: center;
    min-height: 54px;
    gap: 12px 24px;
    padding: 0;
    direction: ltr;
}

body.home .hul-footer-v2__social {
    grid-area: social;
    justify-self: end;
    direction: rtl;
}

body.home .hul-footer-v2__nav {
    grid-area: nav;
    justify-self: center;
    direction: rtl;
}

body.home .hul-footer-v2__info {
    grid-area: copyright;
    justify-self: start;
    padding: 0;
    direction: rtl;
}

body.home .hul-footer-v2 .nav-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

body.home .hul-footer-v2 .nav-footer li {
    margin: 0;
    padding: 0 11px;
}

body.home .hul-footer-v2 .nav-footer li::before {
    right: 0;
    top: 50%;
    width: 1px;
    height: 14px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.32);
    color: transparent;
    content: "";
}

body.home .hul-footer-v2 .nav-footer li:first-child::before {
    display: none;
}

body.home .hul-footer-v2 .nav-footer a,
body.home .footer-copyright {
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
}

body.home #colophon a {
    color: inherit;
}

body.home .nav-footer li a:hover {
    color: #fff6df;
}

body.home .site-info {
    color: #ffffff;
}

body.home .social-icon {
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border-color: rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    box-shadow: none;
}

body.home .social-icon span {
    display: none;
}

body.home .social-icon svg {
    width: 14px;
    height: 14px;
}

body.home .hul-home-v2__legal {
    width: min(1180px, calc(100% - 32px));
    margin: 14px auto;
    padding: 10px 16px;
    border: 1px solid #d8e7f5;
    border-right: 4px solid #0b5cad;
    border-radius: 8px;
    background: #f8fbff;
    color: #18324a;
}

body.home .hul-home-v2__legal p {
    margin: 0;
    line-height: 1.65;
    font-size: 12px;
}

body.home .hul-home-v2__legal-en {
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
}

/* Reference-aligned home refinements */
.hul-home-v2 {
    --hul-home-primary: #0055cc;
    --hul-home-primary-dark: #004385;
    --hul-home-secondary: #ffad00;
    --hul-home-background: #ffffff;
    --hul-home-soft: #e8f5ff;
    --hul-home-border: #dce8f3;
    --hul-home-shadow: 0 9px 18px rgba(15, 47, 84, 0.12);
}

.hul-home-v2__main {
    padding-bottom: 0;
}

.hul-home-v2__container {
    width: min(1200px, calc(100% - 40px));
}

.hul-home-v2__hero {
    padding: 18px 0 10px;
}

.hul-home-v2__hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    min-height: 282px;
    gap: 24px;
    padding: 20px 32px;
    border-radius: 13px;
    border-color: #cfe7fb;
    background:
        radial-gradient(circle at 16% 24%, rgba(255, 255, 255, 0.95) 0 18%, transparent 19%),
        linear-gradient(135deg, #dff2ff 0%, #f7fcff 47%, #d7efff 100%);
}

.hul-home-v2__hero-title {
    max-width: 560px;
    font-size: 39px;
    font-weight: 900;
    line-height: 1.42;
}

.hul-home-v2__hero-description {
    max-width: 570px;
    color: #3f4b5a;
    margin-top: 12px;
    font-size: 17px;
    line-height: 1.85;
}

.hul-home-v2__eyebrow {
    margin-bottom: 2px;
    color: var(--hul-home-primary-dark);
    font-size: 28px;
    font-weight: 900;
}

.hul-home-v2__trust-list {
    gap: 10px;
    margin-top: 20px;
}

.hul-home-v2__trust-list span {
    min-height: 38px;
    padding: 8px 14px;
    border-color: #cfe7fb;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 6px 12px rgba(15, 99, 182, 0.07);
}

.hul-home-v2__hero-visual {
    order: 2;
}

.hul-home-v2__hero-content {
    order: 1;
}

.hul-home-v2__hero-svg {
    width: min(440px, 100%);
    filter: drop-shadow(0 16px 16px rgba(15, 99, 182, 0.12));
}

.hul-home-v2__section {
    padding: 16px 0 8px;
}

.hul-home-v2__section-header {
    align-items: center;
    min-height: 50px;
    margin-bottom: 6px;
    padding: 8px 18px;
    border-radius: 12px;
    border-color: #d6ebfc;
    background: linear-gradient(90deg, #eaf7ff 0%, #d7edff 100%);
    box-shadow: none;
}

.hul-home-v2__section-header .hul-home-v2__section-kicker {
    display: none;
}

.hul-home-v2__section-title {
    font-size: 28px;
    font-weight: 900;
}

.hul-home-v2__section-description {
    margin: 0 12px 18px 0;
    color: #4f5f70;
    text-align: right;
}

.hul-home-v2__categories {
    gap: 14px;
}

.hul-home-v2__category-card {
    min-height: 190px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 6px 14px rgba(15, 47, 84, 0.10);
}

.hul-home-v2__category-link {
    display: grid;
    grid-template-rows: 110px auto;
    height: 100%;
}

.hul-home-v2__category-image {
    position: relative;
    aspect-ratio: auto;
    min-height: 110px;
    gap: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(247, 250, 253, 0.96)),
        #f8fafc;
}

.hul-home-v2__category-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
    opacity: 0.08;
    filter: saturate(0.9);
}

.hul-home-v2__category-number {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    color: var(--hul-home-primary);
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    text-shadow:
        2px 0 var(--hul-home-secondary),
        -2px 0 var(--hul-home-secondary),
        0 2px var(--hul-home-secondary),
        0 -2px var(--hul-home-secondary);
}

.hul-home-v2__category-label {
    position: relative;
    z-index: 1;
    max-width: 100px;
    color: #111111;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.3;
    text-align: right;
}

.hul-home-v2__category-image .hul-home-v2__image-fallback {
    position: absolute;
    inset: 0;
    opacity: 0.08;
}

.hul-home-v2__category-content {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 8px;
    padding: 10px 10px 11px;
    border-top: 1px solid #edf2f7;
}

.hul-home-v2__category-title {
    color: #23425f;
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}

.hul-home-v2__card-action {
    width: 28px;
    height: 28px;
    background: #e7f3ff;
    color: var(--hul-home-primary);
    font-weight: 900;
}

.hul-home-v2__section-footer {
    display: flex;
    justify-content: flex-start;
    margin-top: 12px;
}

.hul-home-v2__more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 18px;
    border: 1px solid var(--hul-home-primary);
    border-radius: 8px;
    color: var(--hul-home-primary);
    font-weight: 800;
    text-decoration: none;
}

.hul-home-v2__section--latest {
    padding-top: 18px;
}

.hul-home-v2__section-header--latest {
    min-height: 52px;
    margin-bottom: 16px;
    padding: 8px 14px;
}

.hul-home-v2__latest-heading {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 9px;
}

.hul-home-v2__latest-icon {
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--hul-home-primary-dark);
}

.hul-home-v2__latest-icon svg {
    width: 34px;
    height: 34px;
}

.hul-home-v2__latest-more {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 13px;
    gap: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--hul-home-primary);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(11, 92, 173, 0.08);
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.hul-home-v2__latest-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.hul-home-v2__latest-more:hover,
.hul-home-v2__latest-more:focus-visible {
    border-color: var(--hul-home-primary-dark);
    background: #ffffff;
    color: var(--hul-home-primary-dark);
    transform: translateY(-1px);
}

.hul-home-v2__latest-more:disabled {
    cursor: wait;
}

.hul-home-v2__latest-more-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.hul-home-v2__latest-more-icon svg {
    width: 18px;
    height: 18px;
}

.hul-home-v2__latest-more-spinner {
    display: none;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(11, 92, 173, 0.22);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: hul-home-v2-spin 0.7s linear infinite;
}

.hul-home-v2__latest-more.is-loading .hul-home-v2__latest-more-icon {
    display: none;
}

.hul-home-v2__latest-more.is-loading .hul-home-v2__latest-more-spinner {
    display: inline-block;
}

.hul-home-v2__latest-more.has-load-error {
    border-color: #c85b54;
    background: #fff4f3;
    color: #9f302a;
}

.hul-home-v2__latest-more.is-complete {
    border-color: #89cbb4;
    background: #effaf6;
    color: #137354;
    opacity: 0;
    transform: translateY(-4px);
}

.hul-home-v2__latest-more[hidden] {
    display: none;
}

.hul-home-v2__resource-card--new {
    animation: hul-home-v2-card-in 0.46s cubic-bezier(0.2, 0.75, 0.25, 1) both;
    animation-delay: calc(var(--hul-load-index, 0) * 65ms);
}

@keyframes hul-home-v2-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes hul-home-v2-card-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hul-home-v2__latest-grid {
    gap: 14px;
}

.hul-home-v2__section--latest .hul-home-v2__resource-card {
    min-height: 196px;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(15, 47, 84, 0.10);
}

.hul-home-v2__section--latest .hul-home-v2__resource-media {
    flex: 0 0 auto;
    aspect-ratio: 3 / 2;
    background: #ffffff;
}

.hul-home-v2__section--latest .hul-home-v2__resource-media img {
    padding: 5px;
}

.hul-home-v2__section--latest .hul-home-v2__resource-content {
    min-height: 70px;
    padding: 8px 10px 9px;
    gap: 3px;
}

.hul-home-v2__section--latest .hul-home-v2__resource-type {
    display: none;
}

.hul-home-v2__section--latest .hul-home-v2__resource-title {
    color: #34465a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hul-home-v2__resource-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 30px;
    margin-top: auto;
    gap: 8px;
}

.hul-home-v2__resource-date {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 5px;
    color: #8b98a8;
    font-size: 11px;
    line-height: 1.35;
    white-space: nowrap;
}

.hul-home-v2__resource-date svg {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
}

.hul-home-v2__section--latest .hul-home-v2__resource-action {
    align-self: auto;
    width: auto;
    min-width: 0;
    min-height: 30px;
    margin-top: 0;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11px;
}

.hul-home-v2__section--latest .hul-home-v2__resource-action::before {
    content: none;
}

.hul-home-v2__about {
    margin-top: 18px;
    padding: 18px 0 26px;
    background: #f7fbff;
    border-top: 1px solid #e2edf7;
}

.hul-home-v2__about-grid {
    grid-template-columns: 1fr;
}

.hul-home-v2__about-copy {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
}

.hul-home-v2__section-header--about {
    margin-bottom: 18px;
}

.hul-home-v2__about-copy p:last-child {
    max-width: 760px;
    margin: 10px auto 0;
}

.hul-home-v2__features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 8px;
}

.hul-home-v2__feature {
    position: relative;
    min-height: 142px;
    padding: 20px 20px 18px;
    border-radius: 12px;
    border-color: #bfe2db;
    border-left: 6px solid #12a59b;
}

.hul-home-v2__feature:nth-child(2) {
    border-color: #bfe2db;
    border-left-color: #2fb296;
}

.hul-home-v2__feature:nth-child(3) {
    border-color: #f4d796;
    border-left-color: var(--hul-home-secondary);
}

.hul-home-v2__feature-icon {
    position: absolute;
    top: -14px;
    left: 18px;
    width: 46px;
    height: 46px;
    margin: 0;
    background: #12a59b;
    color: #ffffff;
    font-size: 13px;
}

.hul-home-v2__feature:nth-child(2) .hul-home-v2__feature-icon {
    background: #2fb296;
}

.hul-home-v2__feature:nth-child(3) .hul-home-v2__feature-icon {
    background: var(--hul-home-secondary);
}

.hul-home-v2__feature h3 {
    margin-top: 14px;
    color: #18324a;
    font-size: 18px;
    font-weight: 900;
}

.hul-home-v2__feature p {
    margin: 10px 0 0;
    color: #4f5f70;
    font-size: 14px;
    line-height: 1.8;
}

@media (max-width: 959px) {
    .hul-home-v2__categories,
    .hul-home-v2__latest-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hul-home-v2__hero-grid,
    .hul-home-v2__about-grid {
        grid-template-columns: 1fr;
    }

    .hul-home-v2__hero-grid {
        padding: 26px;
    }

    .hul-home-v2__hero-title {
        font-size: 32px;
    }

    .hul-home-v2__section-header {
        align-items: start;
        flex-direction: column;
    }

    .hul-home-v2__section-header--latest {
        align-items: center;
        flex-direction: row;
    }

    .hul-home-v2__categories,
    .hul-home-v2__latest-grid,
    .hul-home-v2__features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body.home .site-header-wrapper {
        gap: 14px;
    }

    body.home .hk-app-ad-container {
        width: 100%;
        margin: 0 auto !important;
    }

    body.home .main-navigation .menu-container {
        flex-wrap: wrap;
        gap: 0;
        width: calc(100% - 20px);
        padding: 7px 0;
    }

    body.home .hul-header-search {
        flex-basis: 100%;
        width: 100%;
    }

    body.home .main-navigation ul.nav-menu,
    body.home .main-navigation div.nav-menu > ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    body.home .main-navigation ul.nav-menu.toggled-on {
        display: flex;
    }

    body.home .main-navigation li,
    body.home .main-navigation li a {
        width: 100%;
    }

    body.home .main-navigation li a {
        justify-content: center;
        min-height: 44px;
        border-bottom: 0;
    }

    body.home #colophon .hul-footer-v2 {
        grid-template-columns: 1fr;
        grid-template-areas:
            "social"
            "nav"
            "copyright"
            "trust";
        gap: 10px;
        padding: 14px 0;
    }

    body.home .hul-footer-v2__social,
    body.home .hul-footer-v2__nav,
    body.home .hul-footer-v2__info {
        justify-self: center;
    }
}

@media (max-width: 700px) {
    .hul-home-v2__categories,
    .hul-home-v2__latest-grid,
    .hul-home-v2__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hul-home-v2__hero-visual {
        display: none;
    }
}

@media (max-width: 560px) {
    .hul-home-v2__container {
        width: min(100% - 20px, 1180px);
    }

    .hul-home-v2__hero {
        padding-top: 14px;
    }

    .hul-home-v2__hero-grid {
        gap: 0;
        min-height: 0;
        padding: 16px;
        border-radius: 12px;
    }

    .hul-home-v2__hero-title {
        font-size: 24px;
        line-height: 1.45;
    }

    .hul-home-v2__eyebrow {
        margin-bottom: 6px;
        font-size: 13px;
    }

    .hul-home-v2__hero-description {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.75;
    }

    .hul-home-v2__hero-actions {
        flex-direction: column;
    }

    .hul-home-v2__button {
        width: 100%;
    }

    .hul-home-v2__trust-list {
        flex-wrap: nowrap;
        gap: 8px;
        margin-top: 14px;
        padding-bottom: 3px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        scroll-snap-type: inline proximity;
    }

    .hul-home-v2__trust-list::-webkit-scrollbar {
        display: none;
    }

    .hul-home-v2__trust-list span {
        flex: 0 0 auto;
        justify-content: center;
        padding-inline: 8px;
        text-align: center;
        scroll-snap-align: start;
    }

    .hul-home-v2__section-header--about {
        display: none;
    }

    .hul-home-v2__section.hul-home-v2__about {
        margin-top: 8px;
        padding: 10px 0 16px;
    }

    .hul-home-v2__about-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 64px;
        padding: 11px 14px;
        gap: 12px;
        border: 1px solid var(--hul-home-border);
        border-radius: 12px;
        background: #ffffff;
        color: var(--hul-home-primary-dark);
        box-shadow: 0 5px 14px rgba(9, 65, 122, 0.08);
        cursor: pointer;
        list-style: none;
        touch-action: manipulation;
    }

    .hul-home-v2__about-summary:focus-visible {
        outline: 3px solid rgba(11, 92, 173, 0.24);
        outline-offset: 2px;
    }

    .hul-home-v2__about-summary::-webkit-details-marker {
        display: none;
    }

    .hul-home-v2__about-summary strong,
    .hul-home-v2__about-summary small {
        display: block;
    }

    .hul-home-v2__about-summary strong {
        font-size: 15px;
        line-height: 1.5;
    }

    .hul-home-v2__about-summary small {
        margin-top: 2px;
        color: var(--hul-home-muted);
        font-size: 12px;
    }

    .hul-home-v2__about-summary-action {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: var(--hul-home-soft);
        color: var(--hul-home-primary);
    }

    .hul-home-v2__about-summary-action::before,
    .hul-home-v2__about-summary-action::after {
        position: absolute;
        width: 14px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        content: "";
    }

    .hul-home-v2__about-summary-action::after {
        transform: rotate(90deg);
        transition: transform 0.18s ease;
    }

    .hul-home-v2__about-details[open] .hul-home-v2__about-summary-action::after {
        transform: rotate(0);
    }

    .hul-home-v2__about-details[open] .hul-home-v2__about-summary {
        border-color: #b9d8f1;
        border-radius: 12px 12px 8px 8px;
        background: var(--hul-home-soft);
    }

    .hul-home-v2__about-details[open] .hul-home-v2__about-grid {
        margin-top: 10px;
    }

    .hul-home-v2__section {
        padding: 18px 0;
    }

    .hul-home-v2__section-header {
        padding: 14px;
    }

    .hul-home-v2__section-header--latest {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .hul-home-v2__latest-more {
        align-self: stretch;
        width: 100%;
    }

    .hul-home-v2__section-title {
        font-size: 22px;
    }

    .hul-home-v2__categories,
    .hul-home-v2__latest-grid,
    .hul-home-v2__features {
        gap: 12px;
    }

    .hul-home-v2__category-content,
    .hul-home-v2__resource-content {
        padding: 12px;
    }

    .hul-home-v2__category-title,
    .hul-home-v2__resource-title,
    .hul-home-v2__feature h3 {
        font-size: 14px;
    }

    .hul-home-v2__category-label {
        max-width: 82px;
        font-size: 18px;
    }

    .hul-home-v2__category-number {
        min-width: 46px;
        font-size: 52px;
    }

    body.home .head-hg img {
        width: 150px;
    }
}

@media (max-width: 340px) {
    .hul-home-v2__categories,
    .hul-home-v2__latest-grid,
    .hul-home-v2__features {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hul-home-v2__latest-more-spinner,
    .hul-home-v2__resource-card--new {
        animation: none;
    }
}

/*
 * Embedded card compatibility.
 *
 * content-box.php is a compatibility alias for content-home-v2.php. These
 * rules make the same card work inside single-post content and inside the
 * legacy group add-on without requiring add-on-specific CSS or markup changes.
 */
.hulul-body-content {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.hulul-body-content > .hul-home-v2__resource-card {
    min-height: 196px;
    margin: 0;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(15, 47, 84, 0.10);
}

.hulul-body-content .hul-home-v2__resource-media {
    flex: 0 0 auto;
    aspect-ratio: 3 / 2;
    background: #ffffff;
}

.hulul-body-content .hul-home-v2__resource-media img {
    padding: 5px;
}

.hulul-body-content .hul-home-v2__resource-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    min-height: 70px;
    margin: 0;
    padding: 8px 10px 9px;
    gap: 3px;
    background: #ffffff;
}

.hulul-body-content .hul-home-v2__resource-type {
    display: none;
}

.hul-reading-layout .entry-content .hul-home-v2__resource-title,
.entry-content .hulul-body-content .hul-home-v2__resource-title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    padding: 0;
    color: #34465a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-align: right;
    text-transform: none;
    letter-spacing: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hul-reading-layout .entry-content .hul-home-v2__resource-title a,
.hul-reading-layout .entry-content .hul-home-v2__resource-title a:visited,
.entry-content .hulul-body-content .hul-home-v2__resource-title a,
.entry-content .hulul-body-content .hul-home-v2__resource-title a:visited {
    display: block;
    color: inherit !important;
    font: inherit;
    line-height: inherit;
    text-decoration: none !important;
}

.hul-reading-layout .entry-content .hul-home-v2__resource-title a:hover,
.hul-reading-layout .entry-content .hul-home-v2__resource-title a:focus-visible,
.entry-content .hulul-body-content .hul-home-v2__resource-title a:hover,
.entry-content .hulul-body-content .hul-home-v2__resource-title a:focus-visible {
    color: var(--hul-home-primary) !important;
    text-decoration: none !important;
}

.hulul-body-content .hul-home-v2__resource-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 30px;
    margin-top: auto;
    gap: 8px;
}

.hul-reading-layout .entry-content .hul-home-v2__resource-action,
.hul-reading-layout .entry-content .hul-home-v2__resource-action:visited,
.entry-content .hulul-body-content .hul-home-v2__resource-action,
.entry-content .hulul-body-content .hul-home-v2__resource-action:visited {
    display: inline-flex;
    align-self: auto;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    min-height: 30px;
    margin: 0;
    padding: 5px 10px;
    border-radius: 8px;
    background: #eef7ff;
    color: var(--hul-home-primary) !important;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none !important;
}

.hul-reading-layout .entry-content .hul-home-v2__resource-action:hover,
.hul-reading-layout .entry-content .hul-home-v2__resource-action:focus-visible,
.entry-content .hulul-body-content .hul-home-v2__resource-action:hover,
.entry-content .hulul-body-content .hul-home-v2__resource-action:focus-visible {
    background: #dceeff;
    color: var(--hul-home-primary-dark) !important;
    text-decoration: none !important;
}

.hulul-body-content .hul-home-v2__resource-action::before {
    content: none;
}

@media (max-width: 959px) {
    .hulul-body-content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .hulul-body-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 340px) {
    .hulul-body-content {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hul-home-v2 *,
    .hul-home-v2 *::before,
    .hul-home-v2 *::after {
        transition: none !important;
        animation: none !important;
    }
}
