.join-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-dark);
    padding: 0;
    text-align: left;
}

.join-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 12, 11, 0.95) 0%,
        rgba(10, 12, 11, 0.4) 100%
    );
    z-index: 1;
}

.join-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: grayscale(30%);
    animation: joinHeroPan 40s linear infinite alternate;
}

@keyframes joinHeroPan {
    from {
        transform: scale(1.1) translateX(-3%);
    }
    to {
        transform: scale(1.1) translateX(3%);
    }
}

.join-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.join-hero-stats {
    display: flex;
    gap: 4rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-stat strong {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--accent);
    line-height: 1;
}

.hero-stat span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

.join-why-section {
    background: var(--bg-dark);
    padding: 6rem 0;
}

.join-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.52);
}

.join-why-card {
    padding: 3rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.52);
}

.join-why-card:last-child {
    border-right: none;
}

.join-why-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.join-why-card h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.2rem;
}

.join-why-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.positions-list {
    border: 1px solid var(--border-light);
    margin-bottom: 3rem;
}

.position-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.3s;
}

.position-row:last-child {
    border-bottom: none;
}

.position-row:hover {
    background: #fafaf7;
}

.position-dept {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.position-info h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
}

.position-info p {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
    max-width: 520px;
    line-height: 1.6;
}

.position-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.position-row .btn {
    flex-shrink: 0;
}

.open-application-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 4rem;
    border: 1px solid var(--border-light);
    flex-wrap: wrap;
}

/* === LISTINGS FILTER === */
.listings-filter-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.per-page-selector {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: #666;
}

.per-page-selector select {
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-family: inherit;
    color: var(--bg-dark);
    cursor: pointer;
    outline: none;
}

.per-page-selector select:focus {
    border-color: var(--accent);
}

/* === PAGINATION === */
.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 5rem;
}

.pagination-controls .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.7rem;
    border-color: var(--border-light);
    color: var(--text-dark);
}

.pagination-controls .btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: none;
}

.pagination-controls .btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: var(--border-light) !important;
    color: var(--text-dark) !important;
}

#pageIndicator {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #999;
}

/* === JOIN PAGE DECORATIVE ELEMENTS === */
.sticky-side-label {
    position: fixed;
    top: 50%;
    z-index: 50;
    font-family: var(--font-sans);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(14, 30, 22, 0.08);
    writing-mode: vertical-rl;
    transform: translateY(-50%);
    pointer-events: none;
}

.left-label {
    left: 1.2rem;
    text-orientation: mixed;
}

.right-label {
    right: 1.2rem;
    text-orientation: mixed;
    transform: translateY(-50%) rotate(180deg);
}

.floating-accent {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    opacity: 0.04;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 20%;
    right: -100px;
    animation: floatShape1 15s ease-in-out infinite alternate;
}

.shape-2 {
    width: 250px;
    height: 250px;
    border: 2px solid var(--accent);
    top: 60%;
    left: -50px;
    animation: floatShape2 12s ease-in-out infinite alternate;
}

@keyframes floatShape1 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-30px, 40px);
    }
}

@keyframes floatShape2 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(20px, -30px) rotate(45deg);
    }
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    z-index: 9999;
    background: linear-gradient(90deg, var(--accent), #ff8a65);
    width: 0%;
    transition: width 0.1s linear;
}

/* Apply Modal Overlay */
.apply-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(14, 30, 22, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.apply-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.apply-modal-card {
    background: #fbfaf5;
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 620px;
    max-height: 92vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    transform: translateY(24px);
    transition: transform 0.35s cubic-bezier(0.2, 1, 0.3, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.apply-modal-card::-webkit-scrollbar {
    display: none;
}

.apply-modal-overlay.active .apply-modal-card {
    transform: translateY(0);
}

.apply-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #0e1e16;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}

.apply-modal-close:hover {
    background: #e55a41;
}

.apply-modal-eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #e55a41;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.apply-modal-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    color: #0e1e16;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.apply-modal-title span {
    color: #e55a41;
    font-style: italic;
}

.apply-modal-sub {
    font-size: 0.875rem;
    color: #777;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.apply-modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.apply-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.apply-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0;
}

.apply-form-group label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0e1e16;
}

.apply-form-group input,
.apply-form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #e0ddd5;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    color: #0e1e16;
    background: #fff;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    outline: none;
    resize: vertical;
}

.apply-form-group input:focus,
.apply-form-group textarea:focus {
    border-color: #e55a41;
    box-shadow: 0 0 0 3px rgba(229, 90, 65, 0.12);
}

.file-upload-wrapper {
    position: relative;
    border: 1.5px dashed #e0ddd5;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    background: #fff;
    transition: all 0.2s;
    cursor: pointer;
}

.file-upload-wrapper:hover {
    border-color: #e55a41;
    background: rgba(229, 90, 65, 0.02);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-info {
    font-size: 0.8rem;
    color: #888;
    pointer-events: none;
}

.file-upload-wrapper:hover .file-upload-info {
    color: #e55a41;
}

.apply-submit-btn {
    width: 100%;
    padding: 1rem;
    background: #e55a41;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background 0.2s,
        transform 0.2s;
    margin-top: 0.5rem;
}

.apply-submit-btn:hover {
    background: #c94a32;
    transform: translateY(-1px);
}

.apply-success {
    text-align: center;
    padding: 2rem 0;
}

.apply-success-icon {
    width: 64px;
    height: 64px;
    background: #e55a41;
    color: #fff;
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.apply-success h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: #0e1e16;
}

.apply-success p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .join-why-grid {
        grid-template-columns: 1fr 1fr;
    }
    .join-why-card:nth-child(2) {
        border-right: none;
    }
    .join-why-card:nth-child(3) {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .join-why-card:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-right: none;
    }
}

@media (max-width: 768px) {
    .join-hero {
        padding: 120px 0 3rem;
        height: auto;
        min-height: 100vh;
    }
    .join-why-section {
        padding: 4rem 0;
    }
    .join-why-grid {
        grid-template-columns: 1fr;
        border: none;
    }
    .join-why-card {
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-top: none;
    }
    .join-why-card:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .position-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .position-row .btn {
        width: 100%;
        justify-content: center;
    }
    .open-application-card {
        flex-direction: column;
        padding: 2.5rem 2rem;
    }
    .open-application-card .btn {
        width: 100%;
        justify-content: center;
    }
    .sticky-side-label {
        display: none;
    }
    .floating-accent {
        display: none;
    }
    .join-hero-stats {
        gap: 2rem;
        flex-wrap: wrap;
    }
    .apply-form-row {
        grid-template-columns: 1fr;
    }
    .apply-modal-card {
        padding: 2rem 1.5rem;
    }
}
/* === HERO === */
.pg-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 5rem;
    overflow: hidden;
}

.pg-hero .hero-slide {
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.pg-hero .hero-slide.active {
    opacity: 1;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

.pg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(14, 30, 22, 0.95) 30%,
        rgba(14, 30, 22, 0.7) 55%,
        rgba(229, 90, 65, 0.12) 100%
    );
    z-index: 1;
}

.pg-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 140px;
    margin-left: 0 !important;
    text-align: left;
}

.pg-hero .container {
    margin-left: 0;
    max-width: none;
    padding-left: 5%;
}

.pg-hero .eyebrow {
    justify-content: flex-start;
}

.pg-hero .eyebrow::before {
    display: none;
}

/* === CTA === */
.prog-cta-section {
    background-color: var(--bg-dark);
    padding: 10rem 0;
    color: var(--text-light);
    text-align: center;
}

.prog-cta-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(229, 90, 65, 0.12),
        transparent 70%
    );
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    animation: ctaPulse 4s ease-in-out infinite alternate;
}

@keyframes ctaPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

.prog-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.prog-cta-inner .eyebrow {
    color: rgba(255, 255, 255, 0.6);
}

.prog-cta-inner h2 {
    color: #fff;
    line-height: 1.05;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1rem;
}

.prog-cta-inner .btn {
    padding: 1.2rem 3rem;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.prog-cta-inner .btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.prog-cta-inner .btn:hover::after {
    left: 100%;
}

/* === STICKY SIDE LABELS === */
.sticky-side-label {
    position: fixed;
    top: 50%;
    z-index: 50;
    font-family: var(--font-sans);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(14, 30, 22, 0.08);
    writing-mode: vertical-rl;
    transform: translateY(-50%);
    pointer-events: none;
}

.left-label {
    left: 1.2rem;
    text-orientation: mixed;
}

.right-label {
    right: 1.2rem;
    text-orientation: mixed;
    transform: translateY(-50%) rotate(180deg);
}

/* === FLOATING SHAPES === */
.floating-accent {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    opacity: 0.04;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 20%;
    right: -100px;
    animation: floatShape1 15s ease-in-out infinite alternate;
}

.shape-2 {
    width: 250px;
    height: 250px;
    border: 2px solid var(--accent);
    top: 60%;
    left: -50px;
    animation: floatShape2 12s ease-in-out infinite alternate;
}

@keyframes floatShape1 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-30px, 40px);
    }
}

@keyframes floatShape2 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(20px, -30px) rotate(45deg);
    }
}

/* === SCROLL PROGRESS === */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    z-index: 9999;
    background: linear-gradient(90deg, var(--accent), #ff8a65);
    width: 0%;
    transition: width 0.1s linear;
}

/* === PARALLAX TEXT DIVIDER === */
.parallax-text-divider {
    background: var(--bg-dark);
    padding: 2.5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.parallax-text-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    animation: marqueeScroll 25s linear infinite;
}

.parallax-text-track span {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: rgba(255, 255, 255, 0.15);
    font-weight: 300;
    letter-spacing: 0.08em;
}

.parallax-text-track .dot {
    font-size: 0.5rem;
    color: var(--accent);
    opacity: 0.7;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* === SERVICES SIDEBAR THEME-ALIGNED === */
.services-sidebar .med-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    font-family: var(--font-sans);
}

.services-sidebar .med-card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem 1.5rem 0.5rem;
}

.services-sidebar .med-icon {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.services-sidebar .med-card-header h3 {
    font-size: 1.35rem;
    color: #1e293b;
    margin: 0;
    font-weight: 700;
    font-family: var(--font-sans);
    letter-spacing: -0.02em;
}

.services-sidebar .med-accordion {
    display: flex;
    flex-direction: column;
}

.services-sidebar .med-acc-item {
    border-bottom: 1px solid #f1f5f9;
}

.services-sidebar .med-acc-item:last-child {
    border-bottom: none;
}

.services-sidebar .med-acc-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    font-size: 0.95rem;
    color: #475569;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    font-family: var(--font-sans);
}

.services-sidebar .med-acc-btn:hover {
    background: #f8fafc;
}

.services-sidebar .med-acc-item.active .med-acc-btn {
    background: rgba(229, 90, 65, 0.05);
    color: var(--accent);
    font-weight: 500;
}

.services-sidebar .med-acc-content {
    display: none;
    padding: 0.5rem 1.5rem 1.5rem;
    background: #f8fafc;
}

.services-sidebar .med-acc-item.active .med-acc-content {
    display: block;
}

.services-sidebar .med-acc-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.services-sidebar .med-acc-content a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.services-sidebar .med-acc-content a:hover {
    color: var(--accent);
}

.services-sidebar .med-acc-content::after {
    content: "";
    display: block;
    height: 1px;
    background: #e2e8f0;
    margin-top: 1.5rem;
}

.services-sidebar .med-form {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.services-sidebar .med-form input,
.services-sidebar .med-form select,
.services-sidebar .med-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #1e293b;
    font-family: var(--font-sans);
    background: #fff;
    transition: border-color 0.2s;
}

.services-sidebar .med-form input::placeholder,
.services-sidebar .med-form textarea::placeholder {
    color: #94a3b8;
}

.services-sidebar .med-form input:focus,
.services-sidebar .med-form select:focus,
.services-sidebar .med-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.services-sidebar .med-form option {
    background: #fff;
    color: #1e293b;
}

.services-sidebar .med-input-icon {
    position: relative;
}

.services-sidebar .med-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.2s;
    margin-top: 0.5rem;
}

.services-sidebar .med-btn:hover {
    background: #d14d36;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .pg-hero {
        min-height: 70vh;
        padding-bottom: 3rem;
    }

    .pg-hero-content {
        padding-top: 100px;
    }

    .prog-cta-section {
        padding: 5rem 0;
    }

    .prog-cta-inner {
        flex-direction: column;
        align-items: center;
    }

    .sticky-side-label {
        display: none;
    }

    .floating-accent {
        display: none;
    }
}

.blog-hero {
    padding: 180px 0 8rem;
    border-bottom: 1px solid var(--border-light);
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.blog-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.blog-hero-search {
    margin-top: 3.5rem;
    display: flex;
    max-width: 440px;
    border-bottom: 2px solid var(--bg-dark);
    padding-bottom: 0.5rem;
}

.blog-hero-search input {
    flex: 1;
    background: transparent;
    border: none;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--bg-dark);
    outline: none;
}

.blog-hero-search input::placeholder {
    color: #bbb;
}

.blog-hero-search button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--bg-dark);
    transition: transform 0.3s ease;
}

.blog-hero-search button:hover {
    transform: translateX(5px);
    color: var(--accent);
}

.blog-hero-quick-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.blog-hero-quick-links span {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #aaa;
}

.blog-hero-quick-links a {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
    border-bottom: 1px solid transparent;
}

.blog-hero-quick-links a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* Visual Element */
.blog-hero-visual {
    position: relative;
}

.visual-stack {
    position: relative;
    width: 100%;
    height: 480px;
}

.visual-card {
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.12);
}

.main-card {
    width: 80%;
    height: 90%;
    top: 0;
    right: 0;
    z-index: 2;
}

.main-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.secondary-card {
    width: 50%;
    height: 50%;
    bottom: -10%;
    left: -10%;
    z-index: 3;
    border: 4px solid #fff;
}

.secondary-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-tag {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--accent);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.visual-circle-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: var(--bg-cream);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.7;
}

.journal-stats-bubble {
    position: absolute;
    bottom: 2rem;
    right: -2rem;
    background: #fff;
    padding: 1.5rem 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 2.5rem;
    z-index: 4;
    border: 1px solid var(--border-light);
}

.journal-stats-bubble .stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.journal-stats-bubble .val {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--bg-dark);
    line-height: 1;
}

.journal-stats-bubble .lab {
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #aaa;
    text-transform: uppercase;
}

.blog-newsletter-banner {
    background: var(--bg-dark);
    padding: 3rem 0;
}

.blog-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.blog-subscribe-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.blog-subscribe-form input {
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    min-width: 240px;
}

.blog-subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.blog-subscribe-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.blog-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.blog-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-cat-btn {
    background: transparent;
    border: 1px solid var(--border-light);
    padding: 0.5rem 1.2rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
    font-family: var(--font-sans);
}

.blog-cat-btn:hover,
.blog-cat-btn.active {
    background: var(--bg-dark);
    color: #fff;
    border-color: var(--bg-dark);
}

.blog-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: center;
    padding-bottom: 5rem;
    border-bottom: 1px solid var(--border-light);
}

.blog-featured-img {
    position: relative;
    overflow: hidden;
}

.blog-featured-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

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

.blog-featured-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 0.4rem 0.8rem;
    text-transform: uppercase;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-category-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.blog-date {
    font-size: 0.75rem;
    color: #999;
}

.blog-main-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 5rem;
    align-items: start;
}

.blog-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.blog-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.blog-card-img {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.06);
}

.blog-card-body {
    padding: 2.5rem;
    flex-grow: 1;
}

.blog-card-body h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin: 1rem 0 1.2rem;
    line-height: 1.3;
    color: var(--bg-dark);
}

.blog-card-body p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Sidebar Styles */
.blog-sidebar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.sidebar-widget {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.widget-title {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
}

.trending-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trending-list li {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.trend-num {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--border-light);
    line-height: 1;
}

.trending-list a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bg-dark);
    line-height: 1.3;
}

.series-card {
    background: var(--bg-cream);
    border-radius: 4px;
    overflow: hidden;
}

.series-img {
    height: 160px;
    overflow: hidden;
}

.series-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.series-content {
    padding: 1.5rem;
}

.series-content h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.series-content p {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 1.2rem;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.archive-grid a {
    background: #fff;
    border: 1px solid var(--border-light);
    padding: 0.8rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s;
}

.archive-grid a:hover {
    background: var(--bg-dark);
    color: #fff;
    border-color: var(--bg-dark);
}

/* === BLOG PAGE DECORATIVE ELEMENTS === */
.sticky-side-label {
    position: fixed;
    top: 50%;
    z-index: 50;
    font-family: var(--font-sans);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(14, 30, 22, 0.08);
    writing-mode: vertical-rl;
    transform: translateY(-50%);
    pointer-events: none;
}

.left-label {
    left: 1.2rem;
    text-orientation: mixed;
}

.right-label {
    right: 1.2rem;
    text-orientation: mixed;
    transform: translateY(-50%) rotate(180deg);
}

.floating-accent {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    opacity: 0.04;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 20%;
    right: -100px;
    animation: floatShape1 15s ease-in-out infinite alternate;
}

.shape-2 {
    width: 250px;
    height: 250px;
    border: 2px solid var(--accent);
    top: 60%;
    left: -50px;
    animation: floatShape2 12s ease-in-out infinite alternate;
}

@keyframes floatShape1 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-30px, 40px);
    }
}

@keyframes floatShape2 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(20px, -30px) rotate(45deg);
    }
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    z-index: 9999;
    background: linear-gradient(90deg, var(--accent), #ff8a65);
    width: 0%;
    transition: width 0.1s linear;
}

@media (max-width: 992px) {
    .blog-main-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .sticky-side-label {
        display: none;
    }

    .floating-accent {
        display: none;
    }

    .blog-featured {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 3rem;
        margin-bottom: 3rem;
    }

    .blog-featured-img img {
        aspect-ratio: 16/9;
    }

    .blog-hero-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .blog-hero-search {
        margin: 3rem auto 0;
    }

    .blog-hero-quick-links {
        justify-content: center;
    }

    .blog-sidebar {
        grid-template-columns: 1fr;
    }

    .blog-articles-grid {
        grid-template-columns: 1fr;
    }
}
