/* Set title-highlight font-size to 80px for hero types 2, 3, 4 */
.hero-type-2 .hero-title .title-highlight,
.hero-type-3 .hero-title .title-highlight,
.hero-type-4 .hero-title .title-highlight {
    font-size: 80px;
}

/* Base Hero Section */
.hero-section {
    padding: 80px 20px 20px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Tag Styles */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(139, 65, 30, 0.1);
    border-radius: 20px;
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 600;
    color: #8b411e;
}

.home .hero-tag {
    padding: 7.771px 15.542px;
    border-radius: 51.289px;
    border: 0.518px solid #b4b2ad;
    color: #181818;
    background: #ffffff;

    /* D-General Sans Variable - H4 */
    font-family:
        'General Sans Variable',
        system-ui,
        -apple-system,
        'Segoe UI',
        Roboto,
        'Helvetica Neue',
        Arial,
        sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.hero-tag .tag-icon {
    display: inline-flex;
    align-items: center;
    color: #8b411e;
}

.hero-tag .tag-icon img {
    width: 18px;
    height: 18px;
    display: block;
}

.hero-tag-simple {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

/* Hero Top Text (Type 4) */
.hero-top-text {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* Hero Title */
.hero-title {
    color: #181818;
    text-align: center;

    /* D-Costaline - H1 */
    font-family: Costaline, serif;
    font-size: 88px;
    font-style: normal;
    font-weight: 100;
    line-height: 120px;
    /* 136.364% */
    margin: 0 0 24px;
}

.hero-title .title-highlight {
    color: #833c1e;
    /* D-Alamendro FG - H1 */
    font-family: 'Alamendro FG', serif;
    font-size: 118px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
}

/* Hero Date (Type 2) */
.hero-date {
    color: var(--Black, #181818);
    text-align: center;

    /* D-General Sans Variable - H4 */
    font-family:
        'General Sans Variable',
        system-ui,
        -apple-system,
        'Segoe UI',
        Roboto,
        'Helvetica Neue',
        Arial,
        sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 20px;
}

/* Hero Content */
.hero-content {
    color: #181818;
    text-align: center;

    /* D-General Sans Variable - H3 (para) */
    font-family:
        'General Sans Variable',
        system-ui,
        -apple-system,
        'Segoe UI',
        Roboto,
        'Helvetica Neue',
        Arial,
        sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 32px;
}

.hero-content p {
    margin: 0 0 16px;
}

.hero-content p:last-child {
    margin-bottom: 0;
}

/* Actions container for buttons */
.hero-actions {
    display: inline-block;
    text-align: center;
    margin-top: 8px;
}

.hero-type-1 .hero-actions {
    margin-top: 28px;
}

/* Hero Button */
.hero-btn {
    display: inline-flex;
    padding: 16px;
    justify-content: center;
    align-items: center;
    border: 0.831px solid #833c1e;
    background: #fff;
    backdrop-filter: blur(16.618431091308594px);
    color: #833c1e;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-size: 12px;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        backdrop-filter 0.2s ease;
}

.hero-btn:hover,
.hero-btn:focus {
    border: 0.831px solid #833c1e;
    background: #833c1e;
    color: #fff;
}

.hero-btn-inverted {
    background: transparent;
    color: #8b411e;
    border: 2px solid #8b411e;
}

.hero-btn-inverted:hover,
.hero-btn-inverted:focus {
    background: #8b411e;
    color: #fff;
}

/* ============================================
   HERO TYPE 1: Tag + Centered + Button
   ============================================ */
.hero-type-1 {
    text-align: center;
    padding: 100px 20px;
}

.hero-type-1 .hero-title {
    font-size: 88px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-type-1 .hero-content {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 19px;
}

/* ============================================
   HERO TYPE 2: Tag (no icon) + Title + Date
   ============================================ */
.hero-type-2 {
    text-align: center;
    padding: 90px 20px;
}

.hero-type-2 .hero-title {
    font-size: 64px;
    margin-left: auto;
    margin-right: auto;
}

.hero-type-2 .hero-content {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* reuse the home tag pill styling when hero has .use-home-tag */
.hero-section.use-home-tag .hero-tag {
    padding: 7.771px 15.542px;
    border-radius: 51.289px;
    border: 0.518px solid #b4b2ad;
    color: #181818;
    background: #ffffff;
    font-family:
        'General Sans Variable',
        system-ui,
        -apple-system,
        'Segoe UI',
        Roboto,
        'Helvetica Neue',
        Arial,
        sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* ============================================
   HERO TYPE 3: Title + Content Only
   ============================================ */
.hero-type-3 {
    text-align: center;
    padding: 90px 20px;
    background: #fff;
}

.hero-type-3 .hero-title {
    font-size: 60px;
    margin-left: auto;
    margin-right: auto;
}

.hero-type-3 .hero-content {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

/* ============================================
   HERO TYPE 4: Text + Title + Content + Inverted Button
   ============================================ */
.hero-type-4 {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.hero-type-4 .hero-title {
    font-size: 62px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.hero-type-4 .hero-content {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   HERO TYPE 5: Left-aligned Single Color
   ============================================ */
.hero-type-5 {
    text-align: left;
    padding: 90px 20px;
    background: #fff;
}

.hero-type-5 .hero-inner {
    margin: 0;
}

.hero-type-5 .hero-title {
    font-size: 54px;
    margin-bottom: 24px;
}

.hero-type-5 .hero-content {
    font-size: 17px;
    margin-bottom: 0;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Extra Large Desktop: 1920px+ */
@media (min-width: 1920px) {
    .hero-inner {
        max-width: 1400px;
    }
}

/* Large Desktop: 1400px - 1919px */
@media (min-width: 1400px) and (max-width: 1919px) {
    .hero-inner {
        max-width: 1200px;
    }
}

/* Desktop: 1024px - 1399px */
@media (min-width: 1024px) and (max-width: 1399px) {
    .hero-section {
        padding: 70px 20px;
    }

    .hero-title {
        font-size: 72px;
        line-height: 100px;
    }

    .hero-title .title-highlight {
        font-size: 96px;
    }

    .hero-type-1 .hero-title,
    .hero-type-2 .hero-title,
    .hero-type-3 .hero-title,
    .hero-type-4 .hero-title {
        font-size: 56px;
    }
}

/* Tablet: 768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 48px;
        line-height: 64px;
    }

    .hero-title .title-highlight {
        font-size: 64px;
        line-height: 110%;
    }

    .hero-content {
        font-size: 18px;
    }

    .hero-type-1,
    .hero-type-2,
    .hero-type-3,
    .hero-type-4 {
        padding: 60px 20px;
    }

    .hero-type-5 {
        padding: 50px 20px;
    }

    .hero-tag {
        font-size: 13px;
        padding: 6px 14px;
    }

    .hero-btn {
        padding: 14px 28px;
        font-size: 11px;
    }
}

/* Mobile Large: 360px - 767px */
@media (min-width: 360px) and (max-width: 767px) {
    .hero-section {
        padding: 50px 16px;
    }

    .hero-title {
        /* M-Costaline - H2 */
        font-size: 32px;
        font-weight: 100;
        line-height: 170%;
        /* 54.4px */
    }

    .hero-title .title-highlight {
        /* M-Alamendro FG - H2 */
        color: var(--Brown, #833c1e);
        font-family: 'Alamendro FG';
        font-size: 40px;
        font-weight: 400;
        line-height: 110%;
    }

    .hero-content {
        /* D-General Sans Variable - H3 (para) */
        color: var(--Black, #181818);
        text-align: center;
        font-family: 'General Sans Variable';
        font-size: 18px;
        font-weight: 400;
        line-height: normal;
    }

    .hero-type-1,
    .hero-type-2,
    .hero-type-3,
    .hero-type-4 {
        padding: 50px 16px;
    }

    .hero-type-5 {
        padding: 40px 16px;
    }

    .hero-top-text {
        font-size: 12px;
    }

    .hero-tag {
        font-size: 12px;
        padding: 5px 12px;
    }

    .hero-btn {
        padding: 12px 24px;
        font-size: 11px;
    }
}

/* Mobile Small: 320px - 359px */
@media (max-width: 359px) {
    .hero-section {
        padding: 40px 12px;
    }

    .hero-title {
        /* M-Costaline - H2 */
        font-size: 32px;
        font-weight: 100;
        line-height: 170%;
        /* 54.4px */
    }

    .hero-title .title-highlight {
        /* M-Alamendro FG - H2 */
        color: var(--Brown, #833c1e);
        font-family: 'Alamendro FG';
        font-size: 40px;
        font-weight: 400;
        line-height: 110%;
    }

    .hero-content {
        /* D-General Sans Variable - H3 (para) */
        color: var(--Black, #181818);
        text-align: center;
        font-family: 'General Sans Variable';
        font-size: 18px;
        font-weight: 400;
        line-height: normal;
    }

    .hero-type-1,
    .hero-type-2,
    .hero-type-3,
    .hero-type-4 {
        padding: 40px 12px;
    }

    .hero-type-5 {
        padding: 30px 12px;
    }

    .hero-tag {
        font-size: 11px;
        padding: 4px 10px;
    }

    .hero-btn {
        padding: 10px 20px;
        font-size: 10px;
    }
}

/* Additional explicit breakpoints requested by design */
/* 320px (very small phones) */
@media (max-width: 320px) {
    .hero-section {
        padding: 36px 10px;
    }

    .hero-title {
        color: var(--Black, #181818);
        text-align: center;
        font-family: Costaline, serif;
        /* M-Costaline - H2 */
        font-size: 32px;
        font-weight: 100;
        line-height: 170%;
        /* 54.4px */
    }

    .hero-title .title-highlight {
        color: var(--Brown, #833c1e);
        font-family: 'Alamendro FG', serif;
        /* M-Alamendro FG - H2 */
        font-size: 40px;
        font-weight: 400;
        line-height: 110%;
    }

    .hero-type-2 .hero-title {
        font-size: 32px;
        font-weight: 100;
        line-height: 170%;
    }
}

/* 360px (small phones) */
@media (min-width: 321px) and (max-width: 360px) {
    .hero-section {
        padding: 40px 12px;
    }

    .hero-title {
        color: var(--Black, #181818);
        text-align: center;
        font-family: Costaline, serif;
        font-size: 32px;
        font-weight: 100;
        line-height: 170%;
    }

    .hero-title .title-highlight {
        color: var(--Brown, #833c1e);
        font-family: 'Alamendro FG', serif;
        font-size: 40px;
        font-weight: 400;
        line-height: 110%;
    }

    .hero-type-2 .hero-title {
        font-size: 32px;
        font-weight: 100;
        line-height: 170%;
    }
}

/* 768px (tablet portrait) */
@media (min-width: 361px) and (max-width: 768px) {
    .hero-section {
        padding: 50px 16px;
    }

    .hero-title {
        font-family: Costaline, serif;
        font-size: 40px;
        font-weight: 100;
        line-height: 150%;
    }

    .hero-title .title-highlight {
        font-family: 'Alamendro FG', serif;
        font-size: 52px;
        line-height: 110%;
    }

    .hero-type-2 .hero-title {
        font-size: 40px;
    }
}

/* 1024px (tablet landscape / small desktop) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 48px;
        line-height: 120%;
    }

    .hero-title .title-highlight {
        font-size: 64px;
    }

    .hero-type-2 .hero-title {
        font-size: 48px;
    }
}

/* 1400px (large desktop) */
@media (min-width: 1025px) and (max-width: 1400px) {
    .hero-section {
        padding: 80px 24px;
    }

    .hero-title {
        font-size: 56px;
        line-height: 110%;
    }

    .hero-title .title-highlight {
        font-size: 80px;
    }

    .hero-type-2 .hero-title {
        font-size: 56px;
    }
}

/* 1920px and up (extra large) */
@media (min-width: 1401px) {
    .hero-section {
        padding: 68px 28px 24px;
    }

    .hero-title {
        font-size: 88px;
        line-height: 120px;
    }

    .hero-title .title-highlight {
        font-size: 118px;
    }

    .hero-type-2 .hero-title {
        font-size: 64px;
    }
}

/* Blogs-only tag styling */
.hero-section.blogs-hero .hero-tag {
    border-radius: 52.701px;
    border: 0.527px solid var(--Brown, #833c1e);
    color: #833c1e;
}

/* Small/mobile fixes for hero title to avoid overlap */
@media (max-width: 767px) {
    .hero-type-1 .hero-title {
        font-size: 40px;
        max-width: 100%;
        padding: 0 12px;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .hero-title .title-highlight {
        font-size: 48px;
    }
}

@media (max-width: 360px) {
    .hero-type-1 .hero-title {
        font-size: 32px;
        padding: 0 10px;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .hero-title .title-highlight {
        font-size: 40px;
    }
}

@media (max-width: 320px) {
    .hero-type-1 .hero-title {
        font-size: 30px;
        padding: 0 8px;
        line-height: 1.25;
        margin-bottom: 8px;
    }

    .hero-title .title-highlight {
        font-size: 36px;
    }
}

/* ============================================
   HERO TYPE 7: GD Professional Hero
   Two-column layout with image & play button
   Exact Figma specifications
   ============================================ */

/* Base type-1 styles */
.hero-type-1 {
    padding: 80px 120px;
    background: #ffffff;
}

.hero-type-1 .hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-type-1-container {
    display: flex;
    gap: 19px 36px;
    align-items: flex-end;
    justify-content: center;
}

/* Header section (tag, title, subtitle) */
.hero-type-1-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* Body section (text, buttons) */
.hero-type-1-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

/* Left column that groups header and body */
.hero-type-1-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1 0 0;
    min-width: 500px;
}

/* Legacy support - keep .hero-type-1-content if somehow still used */
.hero-type-1-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Tag/Label */
.hero-type-1-tag {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: #ed6a59;
    margin: 0;
}

/* Title */
.hero-type-1-title {
    font-family: 'IvyOra Display', serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: #005b68;
    margin: 0;
}

/* Subtitle */
.hero-type-1-subtitle {
    font-family: 'IvyOra Display', serif;
    font-size: 24px;
    font-weight: 500;
    font-style: italic;
    line-height: 1;
    color: #403936;
    margin: 0;
}

/* Text content */
.hero-type-1-text {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #403936;
}

.hero-type-1-text p {
    margin: 0 0 16px;
}

.hero-type-1-text p:last-child {
    margin-bottom: 0;
}

/* Action buttons */
.hero-type-1-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-type-1-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 100px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 56px;
}

.hero-type-1-btn-primary {
    background: #ed6a59;
    color: #ffffff;
    border: none;
}

.hero-type-1-btn-primary:hover {
    background: #d85a49;
}

.hero-type-1-btn-secondary {
    background: #ffffff;
    color: #ed6a59;
    border: 1px solid #d4d2e3;
}

.hero-type-1-btn-secondary:hover {
    background: #f9f9f9;
    border-color: #ed6a59;
}

/* Hide mobile image on desktop, hide desktop image on mobile */
.hero-type-1-image-mobile {
    display: none;
}

.hero-type-1-image-desktop {
    display: block;
}

/* Image column - Desktop: 403px × 618px */
.hero-type-1-image-wrapper {
    flex: 0 0 403px;
    width: 403px;
    height: 618px;
    position: relative;
}

/* Background beige container */
.hero-type-1-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #dec9be;
    border-radius: 408.338px 408.338px 4px 4px;
    overflow: clip;
}

/* GD Portrait Image - positioned absolutely within container */
.hero-type-1-image {
    position: absolute;
    left: 0;
    top: 135px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Play Button - centered */
.hero-type-1-play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 75px;
    height: 75px;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease;
}

.hero-type-1-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.hero-type-1-play-button img {
    width: 100%;
    height: 100%;
    display: block;
}

/* ============================================
   HERO TYPE 7: MOBILE RESPONSIVE
   ============================================ */

/* Mobile: 768px and below */
@media (max-width: 768px) {
    .hero-type-1 {
        padding: 40px 16px;
        padding-bottom: 0;
    }

    .hero-type-1-container {
        display: flex;
        flex-direction: column;
        gap: 16.434px;
        align-items: center;
    }

    /* Show mobile image, hide desktop image */
    .hero-type-1-image-mobile {
        display: block;
        width: 327px;
        height: 385px;
        margin: 0 0 16px 0;
        flex: 0 0 auto;
        position: relative;
        overflow: visible;
    }

    .hero-type-1-image-desktop {
        display: none;
    }

    /* Mobile uses natural HTML order: header → image → body */
    .hero-type-1-left {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
        min-width: 0;
        overflow: visible;
    }

    .hero-type-1-header {
        width: 100%;
        gap: 16px;
    }

    .hero-type-1-body {
        width: 100%;
        gap: 16px;
    }

    .hero-type-1-tag {
        text-align: center;
        font-size: 16px;
        font-weight: 700;
    }

    .hero-type-1-title {
        font-size: 32px;
        text-align: center;
    }

    .hero-type-1-subtitle {
        font-size: 16px;
        font-weight: 700;
        font-style: italic;
        text-align: center;
    }

    .hero-type-1-text {
        text-align: left;
    }

    .hero-type-1-actions {
        flex-direction: column;
        gap: 13.667px;
        width: 100%;
    }

    .hero-type-1-btn {
        padding: 13.663px 20.495px;
        height: 48px;
        border-radius: 30px;
    }

    /* Mobile image container - beige background with fixed height */
    .hero-type-1-image-mobile .hero-type-1-image-container {
        position: absolute;
        top: 35px;
        left: 0;
        right: 0;
        height: 350px;
        background: #dec9be;
        border-radius: 243.666px 243.666px 2.387px 2.387px;
        overflow: visible;
        z-index: 1;
    }

    /* Mobile image positioning - positioned independently from container */
    .hero-type-1-image-mobile .hero-type-1-image {
        position: absolute;
        left: 21.5px;
        top: -18.46px;
        width: 282.477px;
        height: 368.151px;
        z-index: 2;
    }

    /* Mobile play button - smaller */
    .hero-type-1-play-button {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 49px;
        height: 49px;
        z-index: 3;
    }
}

/* Tablet: 769px - 1023px */
@media (min-width: 769px) and (max-width: 1023px) {
    .hero-type-1 {
        padding: 40px 16px;
        padding-bottom: 0;
    }

    .hero-type-1-container {
        display: flex;
        flex-direction: column;
        gap: 16.434px;
        align-items: center;
    }

    /* Show mobile image, hide desktop image */
    .hero-type-1-image-mobile {
        display: block;
        width: 327px;
        height: 385px;
        margin: 0 0 16px 0;
        flex: 0 0 auto;
        position: relative;
        overflow: visible;
    }

    .hero-type-1-image-desktop {
        display: none;
    }

    /* Tablet uses natural HTML order: header → image → body */
    .hero-type-1-left {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
        overflow: visible;
    }

    .hero-type-1-header {
        width: 100%;
        gap: 16px;
    }

    .hero-type-1-body {
        width: 100%;
        gap: 16px;
    }

    .hero-type-1-tag {
        text-align: center;
        font-size: 16px;
        font-weight: 700;
    }

    .hero-type-1-title {
        font-size: 32px;
        text-align: center;
    }

    .hero-type-1-subtitle {
        font-size: 16px;
        font-weight: 700;
        font-style: italic;
        text-align: center;
    }

    .hero-type-1-text {
        text-align: left;
        width: 100%;
    }

    .hero-type-1-actions {
        flex-direction: column;
        gap: 13.667px;
        width: 100%;
    }

    .hero-type-1-btn {
        padding: 13.663px 20.495px;
        height: 48px;
        border-radius: 30px;
    }

    /* Tablet image container - beige background with fixed height */
    .hero-type-1-image-mobile .hero-type-1-image-container {
        position: absolute;
        top: 35px;
        left: 0;
        right: 0;
        height: 350px;
        background: #dec9be;
        border-radius: 243.666px 243.666px 2.387px 2.387px;
        overflow: visible;
        z-index: 1;
    }

    /* Tablet image positioning - positioned independently from container */
    .hero-type-1-image-mobile .hero-type-1-image {
        position: absolute;
        left: 21.5px;
        top: -18.46px;
        width: 282.477px;
        height: 368.151px;
        z-index: 2;
    }

    .hero-type-1-play-button {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 49px;
        height: 49px;
        z-index: 3;
    }
}

/* Desktop: 1024px - 1399px - Use exact Figma specs */
@media (min-width: 1024px) and (max-width: 1399px) {
    /* Already using exact specs at this breakpoint */
}

/* Large Desktop: 1400px+ */
@media (min-width: 1400px) {
    .hero-type-1 {
        padding: 40px 120px;
        padding-bottom: 0;
    }
}

/* ============================================
   HERO TYPE-8 - ABOUT PAGE HERO
   Desktop (1200px+) & Mobile (<768px)
   ============================================ */

/* Base Hero Type-8 Styles */
.hero-type-2 {
    padding: 40px 120px;
    background: #fdf9f7;
}

.hero-type-2 .hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-type-2-container {
    display: flex;
    flex-direction: column;
    gap: 59px;
    align-items: flex-end;
}

/* Text Content Section */
.hero-type-2-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
}

.hero-type-2-tag {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    line-height: 1;
    color: #ed6a59;
    margin: 0;
}

.hero-type-2-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.hero-type-2-title {
    font-family: 'IvyOra Display', serif;
    font-size: 48px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    color: #005b68;
    margin: 0;
}

.hero-type-2-subtitle {
    font-family: 'IvyOra Display', serif;
    font-size: 48px;
    font-weight: 500;
    font-style: normal;
    text-align: left;
    line-height: 1;
    color: #005b68;
    margin: 0;
}

.hero-type-2-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

/* Desktop: Show all paragraphs */
.hero-type-2-text-desktop {
    display: flex;
}

/* Mobile: Show only first 2 paragraphs */
.hero-type-2-text-mobile {
    display: none !important;
}

/* Mobile buttons container (hidden on desktop) */
.hero-type-2-buttons-mobile {
    display: none !important;
}

/* Mobile social icons (hidden on desktop) */
.hero-type-2-social-mobile {
    display: none !important;
}

.hero-type-2-paragraph {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    color: #403936;
    margin: 0 0 16px 0;
}

.hero-type-2-paragraph:last-child {
    margin-bottom: 0;
}

.hero-type-2-paragraph strong {
    font-weight: 700;
}

/* Actions Wrapper */
.hero-type-2-actions-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    width: 100%;
}

/* Show desktop actions, hide mobile */
.hero-type-2-actions-desktop {
    display: flex;
}

/* Hide mobile social icons on desktop */
.hero-type-2-social-mobile {
    display: none !important;
}

/* Hide mobile buttons on desktop */
.hero-type-2-buttons-mobile {
    display: none !important;
}

.hero-type-2-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    flex: 1;
    min-width: 280px;
}

.hero-type-2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 100px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 56px;
}

.hero-type-2-btn-primary {
    background: #005b68;
    color: #ffffff;
    border: none;
}

.hero-type-2-btn-primary:hover {
    background: #004552;
}

.hero-type-2-btn-secondary {
    background: #ffffff;
    color: #005b68;
    border: 1px solid #d4d2e3;
}

.hero-type-2-btn-secondary:hover {
    background: #f5f5f5;
}

/* Social Icons */
.hero-type-2-social-icons {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    width: 417px;
}

.hero-type-2-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45.917px;
    height: 45.917px;
    transition: transform 0.3s ease;
}

.hero-type-2-social-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-type-2-social-icon:hover {
    transform: scale(1.1);
}

/* Image Section */
.hero-type-2-image-section {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

/* Desktop watermark (behind image) */
.hero-type-2-watermark-desktop {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 510px;
    opacity: 0.1;
    line-height: 1;
}

/* Mobile watermark (between content sections) */
.hero-type-2-watermark-mobile {
    display: none;
}

.hero-type-2-watermark-first {
    font-family: 'Hurricane', cursive;
    font-size: 81.626px;
    font-weight: 400;
    letter-spacing: 4.8975px;
    color: #403936;
}

.hero-type-2-watermark-last {
    font-family: 'Cinzel', serif;
    font-size: 69.718px;
    font-weight: 400;
    color: #403936;
    margin-left: 35px;
}

.hero-type-2-image-wrapper {
    width: 417px;
    height: 415.147px;
    border-radius: 44.48px;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-type-2-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile content (hidden on desktop) */
.hero-type-2-mobile-content {
    display: none;
}

/* ============================================
   RESPONSIVE - TABLET (768px - 1199px)
   ============================================ */

@media (max-width: 1199px) {
    .hero-section {
        padding: 80px 60px 20px;
    }

    .hero-type-2 {
        padding: 40px 60px;
    }

    .hero-type-2-container {
        gap: 40px;
    }

    .hero-type-2-title {
        font-size: 40px;
    }

    .hero-type-2-subtitle {
        font-size: 40px;
    }

    .hero-type-2-actions-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-type-2-buttons {
        width: 100%;
    }

    .hero-type-2-social-icons {
        width: 100%;
        max-width: 417px;
    }

    .hero-type-2-watermark-desktop {
        min-width: 100%;
    }

    .hero-type-2-watermark-mobile {
        display: none;
    }

    .hero-type-2-image-wrapper {
        width: 100%;
        max-width: 417px;
        height: auto;
        aspect-ratio: 417 / 415.147;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (<768px)
   ============================================ */

@media (max-width: 767px) {
    .hero-section {
        padding: 80px 16px 20px;
    }

    .hero-type-2 {
        padding: 40px 16px;
    }

    .hero-type-2-container {
        gap: 40px;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-type-2-content {
        gap: 16px;
        align-items: flex-start;
        order: 1;
        width: 100%;
    }

    .hero-type-2-title {
        font-size: 32px;
        font-weight: 700;
    }

    .hero-type-2-subtitle {
        font-size: 32px;
        font-weight: 500;
        font-style: italic;
    }

    /* Hide desktop text, show mobile (first 2 paragraphs only) */
    .hero-type-2-text-desktop {
        display: none;
    }

    .hero-type-2-text-mobile {
        display: flex !important;
        flex-direction: column;
        gap: 0;
    }

    /* Hide desktop actions */
    .hero-type-2-actions-desktop {
        display: none;
    }

    /* Hide desktop watermark on mobile */
    .hero-type-2-watermark-desktop {
        display: none !important;
    }

    /* Show mobile buttons */
    .hero-type-2-buttons-mobile {
        display: flex !important;
        gap: 8px;
        align-items: center;
        justify-content: center;
        width: 100%;
        order: 2;
    }

    .hero-type-2-buttons-mobile .hero-type-2-btn {
        padding: 13.663px 20.495px;
        height: 48px;
        border-radius: 30px;
        flex: 1;
    }

    /* Image section order */
    .hero-type-2-image-section {
        order: 3;
        width: 100%;
    }

    /* Show mobile social icons */
    .hero-type-2-social-mobile {
        display: flex !important;
        gap: 24px;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        order: 4;
    }

    /* Show third paragraph */
    .hero-type-2-mobile-content-third {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        width: 100%;
        order: 5;
    }

    /* Show mobile watermark with opacity 10% */
    .hero-type-2-watermark-mobile {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        opacity: 0.1;
        line-height: 1;
        width: 100%;
        margin: 0;
        order: 6;
    }

    /* Show remaining paragraphs (4th and 5th) */
    .hero-type-2-mobile-content-last {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        width: 100%;
        order: 7;
    }

    .hero-type-2-image-wrapper {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 225 / 224;
        height: auto;
    }
}
