.recrugate-blog-home { background: #f5f6fa; color: #172033; padding-bottom: 40px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.recrugate-blog-home *, .recrugate-blog-home *::before, .recrugate-blog-home *::after { box-sizing: border-box; }
.recrugate-blog-home__container { width: min(100% - 32px, 1280px); margin-inline: auto; }
.recrugate-blog-home__featured-section { padding-top: clamp(20px, 2vw, 28px); }
.recrugate-blog-home__section-title { margin: 0 0 28px; font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.2; letter-spacing: -.035em; }
.recrugate-featured-list, .recrugate-card-list { list-style: none; margin: 0; padding: 0; }
.recrugate-featured-list > li, .recrugate-card-list > li { margin: 0; }
.recrugate-featured-list:has(> li:nth-child(3)) { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(280px, 1fr)); min-height: 580px; gap: 20px; }
.recrugate-featured-list:has(> li:nth-child(3)) > li { min-height: 0; }
.recrugate-featured-list:has(> li:nth-child(3)) > li:first-child { grid-row: 1 / span 2; }
.recrugate-featured-list:has(> li:nth-child(3)) > li:first-child .recrugate-featured { grid-template-columns: minmax(0, 35%) minmax(0, 65%); height: 100%; min-height: 0; }
.recrugate-featured-list:has(> li:nth-child(3)) > li:first-child .recrugate-featured__body { padding: clamp(24px, 3vw, 36px); }
.recrugate-featured-list:has(> li:nth-child(3)) > li:first-child .recrugate-featured__title { font-size: clamp(28px, 2.5vw, 36px); }
.recrugate-featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 400px; overflow: hidden; border: 1px solid #e7e9f0; border-radius: 22px; background: #fff; box-shadow: 0 12px 36px rgb(18 22 42 / 4%); }
.recrugate-featured > .recrugate-featured__body { margin-block-start: 0; }
.recrugate-featured-list:has(> li:nth-child(3)) > li:not(:first-child) .recrugate-featured { display: flex; flex-direction: column; height: 100%; min-height: 0; border-radius: 18px; }
.recrugate-featured-list:has(> li:nth-child(3)) > li:not(:first-child) .recrugate-featured__media { flex: 0 0 144px; min-height: 0; }
.recrugate-featured-list:has(> li:nth-child(3)) > li:not(:first-child) .recrugate-featured__body { flex: 1; min-height: 0; justify-content: center; padding: 14px 18px; }
.recrugate-featured-list:has(> li:nth-child(3)) > li:not(:first-child) .recrugate-featured__title { margin: 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.3; }
.recrugate-featured-list:has(> li:nth-child(3)) > li:not(:first-child) .recrugate-post-categories { display: none; }
.recrugate-featured-list:has(> li:nth-child(3)) > li:not(:first-child) .recrugate-featured__excerpt { margin-top: 8px; font-size: 12px; line-height: 1.4; }
.recrugate-featured-list:has(> li:nth-child(3)) > li:not(:first-child) .recrugate-featured__excerpt p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; }
.recrugate-featured-list:has(> li:nth-child(3)) > li:not(:first-child) .recrugate-post-meta { padding-top: 10px; }
.recrugate-featured__media, .recrugate-card__media { position: relative; overflow: hidden; background: linear-gradient(135deg, #e4c5fb 0%, #cdd7ff 55%, #c4e5fa 100%); isolation: isolate; }
.recrugate-featured__media { min-height: 380px; }
.recrugate-featured__media::before, .recrugate-card__media::before { content: ""; position: absolute; z-index: 0; width: 54px; height: 54px; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: .55; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%237F25FB' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='11' width='48' height='42' rx='6'/%3E%3Ccircle cx='23' cy='25' r='4'/%3E%3Cpath d='m12 46 13-12 9 8 8-10 10 12'/%3E%3C/svg%3E"); }
.recrugate-featured__media figure, .recrugate-card__media figure { position: relative; z-index: 1; width: 100%; height: 100%; margin: 0; }
.recrugate-featured__media figure a, .recrugate-card__media figure a { display: block; width: 100%; height: 100%; }
.recrugate-featured__media img, .recrugate-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.recrugate-featured__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(28px, 4vw, 64px); }
.recrugate-post-categories { margin: 0; color: #9c00d5; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.recrugate-post-categories a { color: inherit; text-decoration: none; }
.recrugate-post-categories a:hover { color: #7f25fb; }
.recrugate-featured__title { margin: 16px 0 0; font-size: clamp(27px, 3vw, 42px); font-weight: 700; line-height: 1.2; letter-spacing: -.04em; }
.recrugate-featured__title a, .recrugate-card__title a { color: #172033; text-decoration: none; }
.recrugate-featured__title a:hover, .recrugate-card__title a:hover { color: #7f25fb; }
.recrugate-featured__excerpt { margin: 18px 0 0; color: #526075; font-size: 16px; line-height: 1.7; }
.recrugate-featured__excerpt p, .recrugate-card__excerpt p { margin: 0; }
.recrugate-featured__excerpt .wp-block-post-excerpt__more-text, .recrugate-card__excerpt .wp-block-post-excerpt__more-text { display: none; }
.recrugate-post-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: auto; padding-top: 24px; color: #738095; font-size: 13px; }
.recrugate-post-meta .recrugate-post-date { margin: 0; }
.recrugate-reading-time::before { content: "·"; margin-right: 8px; }
.recrugate-post-date a { color: inherit; text-decoration: none; }
.recrugate-blog-home__content { padding-top: clamp(24px, 3vw, 36px); }
.recrugate-blog-home__content-head { margin-bottom: 0; }
.recrugate-blog-home__content-head .recrugate-blog-home__section-title { margin-bottom: 22px; }
.recrugate-blog-home__browse { display: flex; align-items: center; gap: 24px; min-width: 0; margin-bottom: 28px; padding: 12px 0; border-top: 1px solid #dce0e9; border-bottom: 1px solid #dce0e9; }
.recrugate-blog-home__topics { display: flex; flex: 1 1 auto; align-items: center; gap: 18px; min-width: 0; overflow-x: auto; scrollbar-width: thin; white-space: nowrap; padding-block: 5px; }
.recrugate-blog-home__topics > p { flex: none; margin: 0; color: #738095; font-size: 13px; font-weight: 600; }
.recrugate-blog-home__topics .wp-block-categories-list { display: flex; flex: none; flex-wrap: nowrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.recrugate-blog-home__topics .wp-block-categories-list li { margin: 0; }
.recrugate-blog-home__topics .wp-block-categories-list a { display: inline-block; padding: 9px 12px; border-radius: 12px; color: #475569; font-size: 13px; font-weight: 600; text-decoration: none; }
.recrugate-blog-home__topics .wp-block-categories-list a:hover { background: #ece1fb; color: #7f25fb; }
.recrugate-blog-home__topics .wp-block-categories-list a:focus-visible { border-radius: 12px; }
.recrugate-blog-home__search { flex: 0 0 220px; max-width: 220px; margin: 0; }
.recrugate-blog-home__search .wp-block-search__inside-wrapper { border: 1px solid #dce0e9; border-radius: 999px; background: #fff; overflow: hidden; }
.recrugate-blog-home__search .wp-block-search__input { min-width: 0; padding: 10px 12px 10px 16px; border: 0; outline: 0; background: transparent; color: #172033; font: 14px Inter, sans-serif; }
.recrugate-blog-home__search .wp-block-search__button { margin: 0; padding: 8px 12px; border: 0; background: transparent; color: #7f25fb; }
.recrugate-blog-home__search .wp-block-search__inside-wrapper:focus-within { outline: 2px solid #7f25fb; outline-offset: 2px; }
.recrugate-card-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.recrugate-card { height: 100%; overflow: hidden; border: 1px solid #e7e9f0; border-radius: 18px; background: #fff; }
.recrugate-card__media { height: 220px; }
.recrugate-card__media::before { font-size: 30px; }
.recrugate-card__body { display: flex; flex-direction: column; align-items: flex-start; min-height: 230px; padding: 26px; }
.recrugate-card__title { margin: 12px 0 0; font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -.03em; }
.recrugate-card__excerpt { margin: 14px 0 0; color: #526075; font-size: 14px; line-height: 1.65; }
.recrugate-card__body .recrugate-post-meta { padding-top: 20px; }
.recrugate-blog-home__notice { margin: 0; padding: 30px; border: 1px solid #e7e9f0; border-radius: 16px; background: #fff; color: #64748b; font-size: 15px; }
.recrugate-blog-home__pagination { gap: 16px; margin-top: 36px; color: #7f25fb; font-size: 14px; font-weight: 600; }
.recrugate-blog-home__pagination a { color: #7f25fb; text-decoration: none; }
.recrugate-category-page__head, .recrugate-archive-page__head { padding-top: clamp(12px, 2vw, 20px); }
.recrugate-category-page__title, .recrugate-archive-page__title { margin: 0; color: #172033; font-size: clamp(32px, 3.5vw, 40px); font-weight: 700; line-height: 1.18; letter-spacing: -.04em; }
.recrugate-category-page__content, .recrugate-archive-page__content { padding-top: 16px; }
.recrugate-category-page__browse, .recrugate-archive-page__browse { margin-bottom: 24px; }
.recrugate-category-page__topics .current-cat > a, .recrugate-archive-page__topics .current-cat > a { background: #eee4ff; color: #7f25fb; }
.recrugate-search-page__head { padding-block: 24px 28px; }
.recrugate-search-page__title { margin: 0 0 28px; font-size: clamp(32px, 4vw, 52px); line-height: 1.15; letter-spacing: -.04em; }
.recrugate-search-page__form { max-width: 420px; }
.recrugate-search-page__results { padding-bottom: 80px; }
.recrugate-error-page__inner { box-sizing: border-box; max-width: 800px; margin-block: clamp(32px, 6vw, 72px); padding: clamp(24px, 5vw, 48px); border: 1px solid #e4daf4; border-radius: 20px; background: linear-gradient(120deg, #fff, #faf7ff); }
.recrugate-error-page__code { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; min-height: 48px; margin: 0 0 24px; padding: 8px 12px; border: 1px solid #e9d5ff; border-radius: 14px; background: #f3e8ff; color: #7f25fb; font-size: 20px; font-weight: 700; letter-spacing: .06em; }
.recrugate-error-page__title { max-width: 800px; margin: 0; font-size: clamp(32px, 3.5vw, 40px); line-height: 1.18; letter-spacing: -.04em; }
.recrugate-error-page__description { max-width: 640px; margin: 16px 0 24px; color: #526075; font-size: 18px; line-height: 1.5; }
.recrugate-error-page__search { max-width: 360px; }
.recrugate-error-page__back { margin: 24px 0 0; font-size: 14px; font-weight: 600; }
.recrugate-error-page__back a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid #dfcef8; border-radius: 10px; background: #fff; color: #7f25fb; text-decoration: none; }
.recrugate-error-page__back a:hover { border-color: #b895f5; background: #f3e8ff; }
.recrugate-blog-home a:focus-visible { outline: 3px solid #0e43fb; outline-offset: 3px; }
@media (min-width: 640px) { .recrugate-blog-home__container { width: min(100% - 48px, 1280px); } }
@media (max-width: 1023px) { .recrugate-card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .recrugate-featured { grid-template-columns: 1fr; } .recrugate-featured__media { min-height: 220px; } .recrugate-featured-list:has(> li:nth-child(3)) > li:first-child .recrugate-featured { grid-template-columns: minmax(0, 30%) minmax(0, 70%); } }
@media (max-width: 767px) { .recrugate-featured-list:has(> li:nth-child(3)) { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; height: auto; } .recrugate-featured-list:has(> li:nth-child(3)) > li:first-child { grid-column: 1 / -1; grid-row: auto; } .recrugate-featured-list:has(> li:nth-child(3)) > li:first-child .recrugate-featured { grid-template-columns: 1fr; } .recrugate-featured__body { padding: 30px; } }
@media (max-width: 767px) { .recrugate-blog-home__browse { display: block; } .recrugate-blog-home__topics { width: 100%; padding-bottom: 6px; } .recrugate-blog-home__search { max-width: none; margin-top: 12px; } }
@media (max-width: 639px) { .recrugate-featured-list:has(> li:nth-child(3)), .recrugate-card-list { grid-template-columns: 1fr; gap: 20px; } .recrugate-featured-list:has(> li:nth-child(3)) > li:first-child { grid-column: auto; } .recrugate-featured { min-height: 0; } .recrugate-featured__media { min-height: 220px; } .recrugate-card__media { height: 210px; } }

/* Homepage pagination: consistent controls, current page and unavailable states. */
.recrugate-pagination {
 display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
 gap: 8px; padding-top: 24px; border-top: 1px solid #dce0e9;
}
.recrugate-pagination__numbers { display: flex; align-items: center; gap: 8px; }
.recrugate-pagination :is(.page-numbers, .recrugate-pagination__control) {
 display: inline-flex; align-items: center; justify-content: center;
 min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid #dce0e9;
 border-radius: 12px; background: #fff; color: #526075; line-height: 1;
 font-size: 14px; font-weight: 600; text-decoration: none;
 transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.recrugate-pagination .recrugate-pagination__control { font-size: 24px; }
.recrugate-pagination a:hover { border-color: #b895f5; background: #eee4ff; color: #7f25fb; }
.recrugate-pagination .current {
 border-color: #7f25fb; background: #7f25fb; color: #fff;
 box-shadow: 0 4px 12px rgb(127 37 251 / 18%);
}
.recrugate-pagination .dots { min-width: 20px; padding-inline: 0; border-color: transparent; background: transparent; }
.recrugate-pagination .is-disabled { color: #94a3b8; background: #f1f3f8; opacity: .65; }
@media (max-width: 479px) {
 .recrugate-pagination, .recrugate-pagination__numbers { gap: 4px; }
 .recrugate-pagination :is(.page-numbers, .recrugate-pagination__control) { min-width: 30px; height: 40px; padding-inline: 6px; border-radius: 9px; }
 .recrugate-pagination .dots { min-width: 12px; padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) { .recrugate-pagination a { transition: none; } }

/* Topics remain compact; the complete category list lives in a disclosure. */
.recrugate-blog-home__topics {
 position: relative; overflow: visible; flex-wrap: wrap; gap: 12px; white-space: normal;
}
.recrugate-blog-home__topics .wp-block-categories-list { flex-shrink: 1; min-width: 0; flex-wrap: wrap; }
.recrugate-blog-home__topics .wp-block-categories-list a {
 padding: 9px 12px; border: 1px solid #e1e4ee; border-radius: 999px;
 background: #fff; white-space: nowrap; font-size: 13px;
}
.recrugate-blog-home__topics.has-topics-menu { flex-wrap: nowrap; }
.has-topics-menu .wp-block-categories-list { flex: 0 1 auto; flex-wrap: nowrap; margin-block: 0; align-items: center; }
.has-topics-menu .wp-block-categories-list > li { flex: none; }
.has-topics-menu .wp-block-categories-list > li[hidden] { display: none; }
.recrugate-topics-menu { position: relative; flex: none; }
.recrugate-topics-menu summary {
 display: flex; align-items: center; justify-content: space-between; gap: 12px;
 min-height: 40px; padding: 9px 14px; border: 1px solid #dac8fa; border-radius: 999px;
 background: #eee4ff; color: #7f25fb; font-size: 13px; font-weight: 600;
 cursor: pointer; list-style: none; white-space: nowrap;
}
.recrugate-topics-menu summary::-webkit-details-marker { display: none; }
.recrugate-topics-menu summary::after {
 content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor;
 border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -3px;
}
.recrugate-topics-menu[open] summary::after { transform: rotate(225deg); margin-top: 3px; }
.recrugate-topics-menu summary:hover { background: #e7d7ff; }
.recrugate-topics-menu summary:focus-visible { outline: 2px solid #0e43fb; outline-offset: 3px; }
.recrugate-topics-menu__list {
 position: absolute; z-index: 20; top: calc(100% + 8px); right: 0;
 width: min(320px, calc(100vw - 48px)); max-height: 320px; overflow-y: auto;
 margin: 0; padding: 8px; list-style: none; border: 1px solid #e1e4ee; border-radius: 16px;
 background: #fff; box-shadow: 0 4px 12px rgb(23 32 51 / 6%);
}
.recrugate-topics-menu__list li { margin: 0; }
.recrugate-topics-menu__list a {
 display: block; padding: 10px 12px; border-radius: 9px; color: #475569;
 font-size: 14px; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere;
}
.recrugate-topics-menu__list a:hover,
.recrugate-topics-menu__list .current-cat > a { background: #eee4ff; color: #7f25fb; }
@media (max-width: 767px) {
 .has-topics-menu > p, .has-topics-menu > .wp-block-categories-list { display: none; }
 .has-topics-menu .recrugate-topics-menu { width: 100%; }
 .recrugate-topics-menu__list { width: 100%; }
}

.recrugate-blog-home__topics.has-topics-menu { align-items: center; }
.recrugate-blog-home__topics.has-topics-menu > .recrugate-topics-menu { margin-block: 0; align-self: center; }
