/*
 * Blog listing and single-post styles for Richfolds.
 */

:root {
    --richfolds-h2-size: clamp(2rem, 4.2vw, 3.25rem);
    --richfolds-section-line-width: 2.4rem;
    --richfolds-section-line-opacity: 0.65;
}

.rf-bl1-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fcfdff 0%, #f4f6fc 100%);
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

.rf-bl1-inner {
    position: relative;
    width: 100%;
    padding: 100px 1.5rem 80px;
}

.rf-bl1-content {
    width: min(100%, 800px);
    margin: 0 auto;
}

.rf-bl1-kicker {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--rf-brand-color);
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
}

.rf-bl1-title {
    margin: 0;
    color: #1a1e29;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.04;
}

.rf-bl1-breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    max-width: min(100%, 760px);
    margin: 1.35rem auto 0;
    padding: 0.62rem 1rem;
    border: 1px solid #dbe4ea;
    border-radius: 9999px;
    background: #ffffff;
    color: #5b6773;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.rf-bl1-breadcrumb__link,
.rf-bl1-breadcrumb__current {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Roboto', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1;
}

.rf-bl1-breadcrumb__link {
    color: #4b5563;
    text-decoration: none;
}

.rf-bl1-breadcrumb__link:hover,
.rf-bl1-breadcrumb__link:focus {
    color: var(--rf-brand-color);
}

.rf-bl1-breadcrumb__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    color: var(--rf-brand-color);
}

.rf-bl1-breadcrumb__icon svg,
.rf-bl1-breadcrumb__separator svg {
    width: 100%;
    height: 100%;
}

.rf-bl1-breadcrumb__separator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.85rem;
    height: 0.85rem;
    color: #9ca3af;
}

.rf-bl1-breadcrumb__current {
    color: #1a1e29;
    max-width: min(42vw, 340px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rf-bl2-page {
    background:
        radial-gradient(circle at top left, rgba(32, 209, 235, 0.08), transparent 30%),
        linear-gradient(180deg, #f7fbfc 0%, #ffffff 36%, #f8fbfb 100%);
}

.rf-bl2-section {
    padding: 72px 0 96px;
}

.rf-bl2-boxed-container {
    width: min(100%, var(--rf-site-max-width));
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

.rf-bl2-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 28px;
    align-items: end;
    margin-bottom: 34px;
}

.rf-bl2-intro-copy {
    min-width: 0;
}

.rf-bl2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--rf-brand-color);
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1;
    text-transform: uppercase;
}

.rf-bl2-eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: currentColor;
}

.rf-bl2-heading {
    margin: 0;
    max-width: 760px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.3rem, 4.5vw, 4rem);
    line-height: 1.04;
    color: #16384b;
}

.rf-bl2-summary {
    margin: 18px 0 0;
    max-width: 720px;
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #536271;
}

.rf-bl2-stats {
    display: flex;
    justify-content: flex-end;
}

.rf-bl2-stat-card {
    width: 100%;
    padding: 22px 24px;
    border: 1px solid rgba(15, 48, 69, 0.1);
    border-radius: 24px;
    background: linear-gradient(145deg, #0d3448, #164e67);
    box-shadow: 0 18px 38px rgba(11, 41, 58, 0.14);
    text-align: left;
}

.rf-bl2-stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rf-bl2-stat-value {
    display: block;
    margin-top: 10px;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1;
}

.rf-bl2-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.rf-bl2-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: 16px;
    border: 1px solid rgba(21, 59, 79, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 22px 50px rgba(20, 48, 66, 0.08);
    backdrop-filter: blur(8px);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.rf-bl2-card:hover,
.rf-bl2-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(44, 62, 156, 0.22);
    box-shadow: 0 28px 56px rgba(20, 48, 66, 0.12);
}

.rf-bl2-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 0;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2f43 0%, #123d53 46%, #edf5f7 46%, #f9fbfc 100%);
}

.rf-bl2-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 22px;
      height: auto;
    background: linear-gradient(135deg, #d9e6ea, #f8e1c0);
}

.rf-bl2-card--featured .rf-bl2-card-media {
    min-height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
}

.rf-bl2-card:not(.rf-bl2-card--featured) .rf-bl2-card-media {
    aspect-ratio: 1.18 / 0.82;
}
.rf-bl2-card-image {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 457px;
    object-fit: cover; /* Ensures the image fills the area without distortion */
}
.rf-bl2-card-image,
.rf-bl2-card-placeholder {
    width: 100%;
    height: 100%;
    display: block;
}

.rf-bl2-card-image {
    object-fit: cover;
    transition: transform 0.35s ease;
}

.rf-bl2-card:hover .rf-bl2-card-image,
.rf-bl2-card:focus-within .rf-bl2-card-image {
    transform: scale(1.04);
}

.rf-bl2-card--featured .rf-bl2-card-image {
    transform: scale(1);
}

.rf-bl2-card-placeholder {
    background:
        linear-gradient(145deg, rgba(34, 55, 74, 0.12), rgba(214, 163, 41, 0.18)),
        linear-gradient(135deg, #eff5f6, #f6efe3);
}

.rf-bl2-card-date {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #5f6e79;
}

.rf-bl2-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 24px 24px 26px;
}

.rf-bl2-card--featured .rf-bl2-card-body {
    justify-content: center;
    padding: 36px 38px 40px;
}

.rf-bl2-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-bottom: 18px;
}

.rf-bl2-card-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(44, 62, 156, 0.12);
    color: #0f6668;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.rf-bl2-card-category:hover,
.rf-bl2-card-category:focus {
    background: rgba(44, 62, 156, 0.18);
    color: #0c585a;
}

.rf-bl2-card-author {
    color: #44525d;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.rf-bl2-card--featured .rf-bl2-card-author {
    color: #536271;
}

.rf-bl2-card-title {
    margin: 0;
    color: #12283a;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.rf-bl2-card--featured .rf-bl2-card-title {
    font-size: clamp(2rem, 3vw, 3.2rem);
}

.rf-bl2-card-title a {
    color: inherit;
    text-decoration: none;
}

.rf-bl2-card-title a:hover,
.rf-bl2-card-title a:focus {
    color: var(--rf-brand-color);
}

.rf-bl2-card-subheading {
    margin: 1rem 0 1.75rem;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #566675;
}

.rf-bl2-card--featured .rf-bl2-card-subheading {
    max-width: 560px;
    font-size: 16px;
    line-height: 1.8;
}

.rf-bl2-card-footer {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(20, 52, 69, 0.08);
}

.rf-bl2-card--featured .rf-bl2-card-footer {
    padding-top: 22px;
}

.rf-bl2-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #10283b;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: color 0.2s ease;
    text-transform: uppercase;
}

.rf-bl2-card-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #11344a;
    color: #ffffff;
    transition: transform 0.3s ease, background-color 0.2s ease;
}

.rf-bl2-card-btn-icon svg {
    width: 14px;
    height: 14px;
}

.rf-bl2-card-btn:hover,
.rf-bl2-card-btn:focus {
    color: var(--rf-brand-color);
}

.rf-bl2-card-btn:hover .rf-bl2-card-btn-icon,
.rf-bl2-card-btn:focus .rf-bl2-card-btn-icon {
    background: var(--rf-brand-color);
    transform: rotate(45deg);
}

.rf-bl2-empty {
    max-width: 700px;
    margin: 0 auto;
    padding: 48px 32px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e8e4de;
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(21, 34, 47, 0.06);
}

.rf-bl2-empty-title {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: var(--richfolds-h2-size);
    color: #22374a;
}

.rf-bl2-empty-text {
    margin: 1rem 0 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #5b6773;
}

.rf-bl2-pagination {
    margin-top: 52px;
}

.rf-bl2-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.rf-bl2-pagination .page-numbers li {
    margin: 0;
}

.rf-bl2-pagination .page-numbers a,
.rf-bl2-pagination .page-numbers span {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    padding: 0.7rem 0.95rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 52, 73, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #16384b;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(20, 48, 66, 0.05);
}

.rf-bl2-pagination .page-numbers a:hover,
.rf-bl2-pagination .page-numbers a:focus {
    border-color: var(--rf-brand-color);
    color: var(--rf-brand-color);
}

.rf-bl2-pagination .page-numbers .current {
    border-color: #163b58;
    background: #163b58;
    color: #ffffff;
}

.rf-bp1-page {
    background: #ffffff;
}

.rf-bp1-boxed-container,
.rf-bp2-boxed-container {
    width: min(100%, var(--rf-site-max-width));
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

.rf-bp1-boxed-container--narrow {
    max-width: var(--rf-site-max-width);
}

.rf-bp1-layout-section {
    padding: 72px 0 84px;
}

.rf-bp1-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: start;
}

.rf-bp1-layout--single {
    grid-template-columns: minmax(0, 1fr);
}

.rf-bp1-title {
    margin: 0 0 14px;
    font-family: 'Playfair Display', serif;
    font-size: var(--richfolds-h2-size);
    line-height: 1.15;
    color: #1f4b68;
}

.rf-bp1-article {
    min-width: 0;
}

.rf-bp1-layout--single .rf-bp1-article {
    width: min(100%, 820px);
    margin: 0 auto;
}

.rf-bp1-article-header {
    margin-bottom: 30px;
}

.rf-bp1-subheading {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    font-style: italic;
    color: #5b6773;
}

.rf-bp1-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 16px;
    color: #5b6773;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.rf-bp1-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rf-bp1-meta__item a {
    color: inherit;
    text-decoration: none;
}

.rf-bp1-meta__item a:hover,
.rf-bp1-meta__item a:focus {
    color: var(--rf-brand-color);
}

.rf-bp1-meta__item::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rf-brand-color);
    flex-shrink: 0;
}

.rf-bp1-intro-media {
    overflow: hidden;
    margin-bottom: 24px;
    border-radius: 20px;
    background: #f6f2eb;
    box-shadow: 0 18px 40px rgba(21, 34, 47, 0.12);
}

.rf-bp1-intro-image,
.rf-bp1-intro-placeholder {
    width: 100%;
    height: 100%;
    display: block;
}

.rf-bp1-intro-image {
    max-height: 440px;
    min-height: 320px;
    object-fit: cover;
}

.rf-bp1-intro-placeholder {
    max-height: 440px;
    min-height: 320px;
    background:
        linear-gradient(145deg, rgba(34, 55, 74, 0.12), rgba(214, 163, 41, 0.18)),
        linear-gradient(135deg, #eff5f6, #f6efe3);
}

.rf-bp1-content {
    font-family: 'Roboto', sans-serif;
    color: #334155;
    line-height: 1.85;
    font-size: 17px;
}

.rf-bp1-content > :first-child {
    margin-top: 0;
}

.rf-bp1-content > :last-child {
    margin-bottom: 0;
}

.rf-bp1-content h1,
.rf-bp1-content h2,
.rf-bp1-content h3,
.rf-bp1-content h4,
.rf-bp1-content h5,
.rf-bp1-content h6 {
    margin: 1.9em 0 0.7em;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    color: #1f4b68;
}

.rf-bp1-content h3 {
    color: #17425e;
    font-size: 25px;
}

.rf-bp1-content h2 {
    font-size: var(--richfolds-h2-size);
}

.rf-bp1-content p,
.rf-bp1-content ul,
.rf-bp1-content ol,
.rf-bp1-content blockquote {
    margin: 0 0 1.2rem;
}

.rf-bp1-content a {
    color: var(--rf-brand-color);
}

.rf-bp1-content img {
    max-width: 100%;
    height: auto;
}

.rf-bp1-content blockquote {
    padding: 1.2rem 1.4rem;
    border-left: 3px solid #d6a329;
    background: #f8f5ef;
    color: #22374a;
}

.rf-bp1-return-wrap {
    margin-top: 3rem;
}

.rf-bp1-return-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 0.9rem 1.6rem;
    border: 1px solid #1f2937;
    background: #ffffff;
    color: #1f2937;
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(21, 34, 47, 0.08);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rf-bp1-return-btn:hover,
.rf-bp1-return-btn:focus {
    background: #1f2937;
    border-color: #1f2937;
    color: #ffffff;
}

.rf-bp1-sidebar {
    min-width: 0;
}

.rf-bp1-side-box {
    position: sticky;
    top: 24px;
    padding: 22px 18px;
    border: 1px solid #d8e3e8;
    border-radius: 4px;
    background: #f5fbfd;
    box-shadow: 0 12px 30px rgba(21, 34, 47, 0.06);
}

.rf-bp1-side-section + .rf-bp1-side-section {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #d8e3e8;
}

.rf-bp1-side-title {
    margin: 0 0 14px;
    color: #1f4b68;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    line-height: 1.2;
}

.rf-bp1-recent-list {
    display: grid;
    gap: 12px;
}

.rf-bp1-recent-item {
    display: grid;
    grid-template-columns: 77px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.rf-bp1-recent-thumb {
    display: block;
    width: 77px;
    height: 77px;
    overflow: hidden;
    border-radius: 2px;
    background: linear-gradient(135deg, #d9e6ea, #f8e1c0);
}

.rf-bp1-recent-image,
.rf-bp1-recent-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
}

.rf-bp1-recent-image {
    object-fit: cover;
}

.rf-bp1-recent-placeholder {
    background:
        linear-gradient(145deg, rgba(34, 55, 74, 0.12), rgba(214, 163, 41, 0.18)),
        linear-gradient(135deg, #eff5f6, #f6efe3);
}

.rf-bp1-recent-body {
    min-width: 0;
    padding-top: 0;
}

.rf-bp1-recent-link {
    color: #233648;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
    text-decoration: none;
}

.rf-bp1-recent-link:hover,
.rf-bp1-recent-link:focus {
    color: var(--rf-brand-color);
}

.rf-bp1-category-list {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.rf-bp1-category-list li {
    margin: 0;
}

.rf-bp1-category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    border: 1px solid #d8e3e8;
    border-radius: 2px;
    background: #ffffff;
    color: #334155;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.rf-bp1-category-list a:hover,
.rf-bp1-category-list a:focus {
    border-color: var(--rf-brand-color);
    color: var(--rf-brand-color);
}

.rf-bp1-category-count {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.rf-bp1-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rf-bp1-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border: 1px solid #d8e3e8;
    border-radius: 2px;
    background: #ffffff;
    color: #334155;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.rf-bp1-tag:hover,
.rf-bp1-tag:focus {
    border-color: var(--rf-brand-color);
    background: var(--rf-brand-color);
    color: #ffffff;
}

.rf-bp2-recent {
    padding: 24px 0 84px;
    background: #ffffff;
}

.rf-bp2-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

.rf-bp2-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.rf-bp2-card-media {
    display: block;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #d9e6ea, #f8e1c0);
    box-shadow: 0 12px 30px rgba(21, 34, 47, 0.08);
}

.rf-bp2-card-image,
.rf-bp2-card-placeholder {
    width: 100%;
    display: block;
}

.rf-bp2-card--featured .rf-bp2-card-media {
    aspect-ratio: 1.56 / 1;
    position: relative;
}

.rf-bp2-card:not(.rf-bp2-card--featured) .rf-bp2-card-media {
    aspect-ratio: 1.18 / 0.82;
}

.rf-bp2-card-image,
.rf-bp2-card-placeholder {
    height: 100%;
}

.rf-bp2-card-image {
    object-fit: cover;
    transition: transform 0.35s ease;
}

.rf-bp2-card:hover .rf-bp2-card-image,
.rf-bp2-card:focus-within .rf-bp2-card-image {
    transform: scale(1.04);
}

.rf-bp2-card-placeholder {
    background:
        linear-gradient(145deg, rgba(34, 55, 74, 0.12), rgba(214, 163, 41, 0.18)),
        linear-gradient(135deg, #eff5f6, #f6efe3);
}

.rf-bp2-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.rf-bp2-card--featured .rf-bp2-card-body {
    position: relative;
    margin-top: -152px;
    margin-left: 26px;
    margin-right: 26px;
    padding: 18px 20px 20px;
    background: linear-gradient(180deg, rgba(9, 9, 12, 0.2), rgba(9, 9, 12, 0.88));
    z-index: 1;
}

.rf-bp2-card:not(.rf-bp2-card--featured) .rf-bp2-card-body {
    padding: 16px 2px 0;
}

.rf-bp2-card-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #f2b21b;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-decoration: none;
    text-transform: uppercase;
}

.rf-bp2-card--featured .rf-bp2-card-category {
    color: #ffffff;
    margin-bottom: 14px;
}

.rf-bp2-card-title {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: #111827;
}

.rf-bp2-card--featured .rf-bp2-card-title {
    font-size: clamp(1.55rem, 2vw, 2.1rem);
    line-height: 1.15;
    color: #ffffff;
}

.rf-bp2-card:not(.rf-bp2-card--featured) .rf-bp2-card-title {
    font-size: 1.02rem;
    line-height: 1.35;
}

.rf-bp2-card-title a {
    color: inherit;
    text-decoration: none;
}

.rf-bp2-card-title a:hover,
.rf-bp2-card-title a:focus {
    color: inherit;
    opacity: 0.86;
}

.rf-bp2-card-meta,
.rf-bp2-card-comments {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.92rem;
    line-height: 1.5;
}

.rf-bp2-card-meta {
    color: #374151;
}

.rf-bp2-card-comments {
    color: rgba(255, 255, 255, 0.9);
}

.rf-bp2-card-sep {
    color: #9ca3af;
}

.rf-bp2-card--featured .rf-bp2-card-sep {
    color: rgba(255, 255, 255, 0.5);
}

.rf-bp2-card-text {
    margin: 14px 0 0;
    font-family: 'Roboto', sans-serif;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #5b6773;
}

@media (max-width: 1024px) {
    .rf-bl2-intro {
        grid-template-columns: 1fr;
    }

    .rf-bl2-stats {
        justify-content: flex-start;
    }

    .rf-bl2-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rf-bl2-card--featured {
        grid-template-columns: 1fr;
    }

    .rf-bp1-layout {
        grid-template-columns: 1fr;
    }

    .rf-bp1-side-box {
        position: static;
    }

    .rf-bp2-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .rf-bl1-hero {
        padding: 0;
    }

    .rf-bl1-inner {
        padding: 82px 1.25rem 64px;
    }

    .rf-bl1-title {
        font-size: 2.4rem;
    }

    .rf-bl1-breadcrumb {
        gap: 0.45rem;
        padding: 0.56rem 0.82rem;
    }

    .rf-bl1-breadcrumb__current {
        max-width: 150px;
    }

    .rf-bl2-boxed-container {
        padding: 0 18px;
    }

    .rf-bl2-section {
        padding: 56px 0 72px;
    }

    .rf-bl2-heading {
        font-size: 2.3rem;
    }

    .rf-bl2-summary {
        font-size: 16px;
    }

    .rf-bl2-grid {
        grid-template-columns: 1fr;
    }

    .rf-bl2-card {
        padding: 14px;
    }

    .rf-bl2-card-body {
        padding: 20px 18px 22px;
    }

    .rf-bl2-card--featured .rf-bl2-card-body {
        padding: 24px 20px 26px;
    }

    .rf-bl2-card-title {
        font-size: 1.55rem;
    }

    .rf-bl2-card--featured .rf-bl2-card-title {
        font-size: 2rem;
    }

    .rf-bl2-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .rf-bp1-boxed-container,
    .rf-bp2-boxed-container {
        padding: 0 18px;
    }

    .rf-bp1-layout-section {
        padding: 56px 0 40px;
    }

    .rf-bp1-intro-image,
    .rf-bp1-intro-placeholder {
        min-height: 220px;
    }

    .rf-bp1-return-btn {
        width: 100%;
    }

    .rf-bp1-side-box {
        padding: 18px 16px;
    }

    .rf-bp1-recent-item {
        grid-template-columns: 77px minmax(0, 1fr);
    }

    .rf-bp1-recent-thumb {
        width: 77px;
        height: 77px;
    }

    .rf-bp2-recent {
        padding: 20px 0 64px;
    }

    .rf-bp2-card--featured .rf-bp2-card-body {
        margin-top: -120px;
        margin-left: 16px;
        margin-right: 16px;
        padding: 16px;
    }
}

