/* ============================================================
   blog.css â€” Blog page styles
   ============================================================ */

/* -------------------------
   BLOG MAIN SECTION
   ------------------------- */
.blog-page {
    position: relative;
    background: #141414;
    padding: 40px 120px 80px;
    overflow: hidden;
}

.blog-page__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.90;
    pointer-events: none;
}

.blog-page__inner {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 127px;
    align-items: flex-start;
}

/* -------------------------
   ARTICLES COLUMN (left, 814px)
   ------------------------- */
.blog-page__articles {
    flex: 0 0 814px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Featured article */
.blog-featured {
    background: linear-gradient(to bottom, rgba(255, 242, 227, 0.8), rgba(0, 0, 0, 0.8));
    border: 0.5px solid #fff;
    box-shadow: 0 4px 9.6px 0 rgba(255, 141, 40, 0.35);
    display: flex;
    flex-direction: column;
}

.blog-featured__border {
    border: 1px solid #c4c7c7;
    position: relative;
    width: 100%;
}

.blog-featured__img-wrap {
    position: relative;
    height: 421px;
    overflow: hidden;
}

.blog-featured__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.blog-featured__badge {
    position: absolute;
    top: 12px;
    left: 16px;
    background: #0b0c0c;
    font-family: var(--font-inter);
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 16px;
}

.blog-featured__heading {
    padding: 32px 32px 0;
}

.blog-featured__title {
    font-family: var(--font-sans);
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
    letter-spacing: 0.32px;
    margin: 0;
}

.blog-featured__body {
    padding: 12px 32px 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-featured__excerpt {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    line-height: 1.3;
    margin: 0;
}

.blog-featured__btn {
    align-self: flex-start;
}

/* List rows (2Ã—2 grid) */
.blog-list-row {
    display: flex;
    gap: 54px;
}

.blog-listitem {
    flex: 0 0 380px;
    height: 533px;
    background: linear-gradient(to bottom, rgba(255, 242, 227, 0.8), rgba(0, 0, 0, 0.8));
    border: 0.5px solid #fff;
    border-radius: 8px;
    box-shadow: 0 4px 21.9px 0 rgba(222, 130, 54, 0.5),
        inset 0 4px 4px 0 rgba(239, 230, 230, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-listitem__img-wrap {
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-listitem__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-listitem__body {
    padding: 0 18px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.blog-listitem__date {
    display: inline-flex;
    align-items: center;
    border: 2px solid rgba(241, 245, 255, 0.22);
    border-radius: 50px;
    padding: 12px 18px;
    font-family: var(--font-inter);
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    align-self: flex-start;
}

.blog-listitem__title {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 600;
    color: #ede6e6;
    letter-spacing: 0.22px;
    line-height: 1.27;
    margin: 0;
}

.blog-listitem__title strong {
    font-weight: 600;
}

.blog-listitem__title span {
    font-weight: 400;
}

.blog-listitem__btn {
    align-self: flex-start;
}

/* -------------------------
   SIDEBAR (right, 450px)
   ------------------------- */
.blog-sidebar {
    flex: 0 0 450px;
    display: flex;
    flex-direction: column;
    gap: 99px;
    padding-top: 20px;
}

/* Search */
.blog-search {
    border: 1px solid #000;
    border-radius: 4px;
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.blog-search__label {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    color: #f5fdfd;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 0;
}

.blog-search__input-wrap {
    display: flex;
    align-items: center;
    border: 2px solid #fff;
    border-radius: 32px;
    height: 60px;
    padding: 0 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px 0 rgba(13, 10, 44, 0.06);
}

.blog-search__input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-inter);
    font-size: 16px;
    color: #fff;
    padding: 0 10px;
}

.blog-search__input::placeholder {
    color: #6b7280;
}

.blog-search__btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 5px;
    background: linear-gradient(to bottom, #fe4303, #e6a983);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.blog-search__icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Categories */
.blog-categories {
    background: rgba(123, 125, 129, 0.3);
    border: 0.5px solid #fffbfb;
    border-radius: 20px;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 19px;
    width: 394px;
}

.blog-categories__heading {
    border-bottom: 1px solid #8a8989;
    padding-bottom: 4px;
}

.blog-categories__title {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.blog-cat-item {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 50px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.blog-cat-item--active {
    background: #de8720;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 2.2px rgba(253, 231, 231, 0.1);
}

.blog-cat-item__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: contain;
}

.blog-cat-item span {
    flex: 1;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    color: #f7f7f7;
    letter-spacing: 0.16px;
}

.blog-cat-item__chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
    transform: rotate(90deg);
}

/* Newsletter card */
.blog-newsletter {
    position: relative;
    border: 1px solid #dedede;
    border-radius: 12px;
    padding: 33px 33px 49px;
    width: 352px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 2px rgba(158, 138, 138, 0.25);
}

.blog-newsletter__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    pointer-events: none;
}

.blog-newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(235, 224, 186, 0.5);
    pointer-events: none;
    z-index: 0;
}

.blog-newsletter>* {
    position: relative;
    z-index: 1;
}

.blog-newsletter__title {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 600;
    color: #2a2b24;
    letter-spacing: 0.24px;
    margin: 0;
    line-height: 1.33;
}

.blog-newsletter__desc {
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: 400;
    color: #33322c;
    line-height: 1.5;
    margin: 0;
}

.blog-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
}

.blog-newsletter__email {
    background: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 16px;
    font-family: var(--font-inter);
    font-size: 16px;
    color: #1a1a1a;
    outline: none;
    width: 100%;
}

.blog-newsletter__email::placeholder {
    color: #6b7280;
}

.blog-newsletter__btn {
    background: rgba(61, 64, 75, 0.8);
    border: none;
    border-radius: 7px;
    height: 48px;
    font-family: var(--font-inter);
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4),
        inset 0 4px 4px rgba(0, 0, 0, 0.25);
    transition: opacity 0.2s;
}

.blog-newsletter__btn:hover {
    opacity: 0.9;
}

/* -------------------------
   CTA SECTION
   ------------------------- */
.blog-cta {
    position: relative;
    background: #141414;
    padding: 115px 94px;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 873px;
}

.blog-cta__deco {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.blog-cta__vector {
    position: absolute;
    height: 888px;
    width: 585px;
    object-fit: contain;
    opacity: 0.6;
}

.blog-cta__vector--left {
    left: 50%;
    transform: translateX(-50%) scaleY(-1) rotate(180deg);
}

.blog-cta__vector--right {
    left: 50%;
    transform: translateX(-40%);
}

.blog-cta__side-deco {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 711px;
    height: 711px;
    opacity: 0.5;
    pointer-events: none;
}

.blog-cta__ellipse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.blog-cta__ellipse--lg {
    width: 711px;
    height: 711px;
}

.blog-cta__ellipse--sm {
    width: 400px;
    height: 400px;
}

.blog-cta__phone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    object-fit: contain;
}

.blog-cta__content {
    position: relative;
    z-index: 1;
    max-width: 762px;
    display: flex;
    flex-direction: column;
    gap: 43px;
}

.blog-cta__title {
    font-family: var(--font-sans);
    font-size: 64px;
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.blog-cta__social-img {
    width: 168px;
    height: auto;
    display: block;
}

.blog-cta__desc {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    line-height: 1.17;
    margin: 0;
    max-width: 462px;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.blog-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    padding: 0 32px;
    border-radius: 7px;
    background: linear-gradient(to bottom, #ff8d28, #fa5a12);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.4),
        inset 0 4px 4px rgba(0, 0, 0, 0.25);
    transition: opacity 0.2s, transform 0.2s;
    align-self: flex-start;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.blog-cta__btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.blog-page__header {
    margin-bottom: 56px;
}

.blog-page__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.blog-page__badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--orange);
    display: inline-block;
}

.blog-page__badge-label {
    font-family: var(--font-inter);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.blog-page__title {
    font-family: var(--font-inter);
    font-size: 46px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.blog-page__subtitle {
    font-family: var(--font-inter);
    font-size: 17px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 640px;
    margin: 0;
}

/* -------------------------
   FILTER TABS
   ------------------------- */
.blog-page__filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.blog-filter {
    padding: 10px 22px;
    border-radius: 50px;
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s;
}

.blog-filter:hover {
    border-color: rgba(250, 90, 18, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

.blog-filter--active {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

/* -------------------------
   ARTICLES GRID
   ------------------------- */
.blog-page__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-article {
    background: rgba(25, 25, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.2s;
}

.blog-article:hover {
    border-color: rgba(250, 90, 18, 0.3);
    transform: translateY(-4px);
}

.blog-article__photo {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-article__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.blog-article:hover .blog-article__photo img {
    transform: scale(1.04);
}

.blog-article__category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 14px;
    border-radius: 50px;
    background: var(--orange);
    font-family: var(--font-inter);
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.blog-article__body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 14px;
}

.blog-article__date {
    font-family: var(--font-inter);
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.blog-article__title {
    font-family: var(--font-inter);
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

.blog-article__title strong {
    color: var(--orange);
}

.blog-article__excerpt {
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0;
}

.blog-article__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    background: transparent;
    border: 1.5px solid rgba(250, 90, 18, 0.5);
    color: var(--orange);
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    margin-top: auto;
    align-self: flex-start;
}

.blog-article__btn:hover {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}

/* -------------------------
   CTA SECTION
   ------------------------- */
.blog-cta {
    position: relative;
    background: var(--dark);
    padding: 100px 119px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.blog-cta__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.blog-cta__title {
    font-family: var(--font-inter);
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 24px;
}

.blog-cta__desc {
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 36px;
}

.blog-cta__social {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.blog-cta__social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    transition: background 0.2s;
}

.blog-cta__social-link:hover {
    background: rgba(250, 90, 18, 0.2);
}

.blog-cta__social-icon {
    width: 22px;
    height: 22px;
}

.blog-cta__btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    border-radius: 8px;
    background: var(--orange);
    color: #fff;
    font-family: var(--font-inter);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.blog-cta__btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* decorative rings */
.blog-cta__deco {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.blog-cta__deco-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(250, 90, 18, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.blog-cta__deco-ring--outer {
    width: 480px;
    height: 480px;
}

.blog-cta__deco-ring--inner {
    width: 280px;
    height: 280px;
    border-color: rgba(250, 90, 18, 0.35);
}