/* ============================================================
   Palmer Feature Sections Widget
   assets/css/palmer-feature-sections.css
   ============================================================ */

/* ── Wrapper ─────────────────────────────────────────────── */
.pfs-wrapper {
    width: 100%;
    font-family: inherit;
}

/* ── Mini Nav ────────────────────────────────────────────── */
.pfs-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
}
.pfs-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
}

.pfs-nav-item {
    flex: 0 0 calc(100% / 6);
    max-width: calc(100% / 6);
}


.pfs-nav-item:nth-child(n+8) {
    
}
.pfs-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 calc(100% / 6);
    min-width: max-content;
    padding: 14px 10px;
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    color: #999;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    outline: none !important;
}



.pfs-nav-item:hover,
.pfs-nav-item:focus {
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 0.5 !important;
}



.pfs-nav-num {
    font-size: 10px;
    color: #7dbfbf;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.pfs-nav-label {
    font-weight: 400;
}

/* ── Header ──────────────────────────────────────────────── */
.pfs-header {
    padding: 40px 0;
    
    margin-bottom: 0;
}

.pfs-header-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 400;
    color: #1a1916;
    margin: 0 0 12px;
    line-height: 1.25;
}

.pfs-header-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.7;
    max-width: 760px;
}

/* ── Section ─────────────────────────────────────────────── */
.pfs-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
}

/* Image on left (default) */
.pfs-layout-image-left {
    grid-template-areas: "image content";
}

.pfs-layout-image-left .pfs-image-panel {
    grid-area: image;
}

.pfs-layout-image-left .pfs-content {
    grid-area: content;
}

/* Image on right */
.pfs-layout-image-right {
    grid-template-areas: "content image";
}

.pfs-layout-image-right .pfs-image-panel {
    grid-area: image;
}

.pfs-layout-image-right .pfs-content {
    grid-area: content;
}

/* ── Image Panel ─────────────────────────────────────────── */
.pfs-image-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    background-color: transparent !important;
}

.pfs-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: absolute;
    inset: 0;
    max-width: 100%;
    max-height: 100%;
}

.pfs-image-placeholder {
    width: 80px;
    height: 80px;
    color: rgba(0, 0, 0, 0.2);
}

.pfs-image-placeholder svg {
    width: 100%;
    height: 100%;
}

/* ── Content Panel ───────────────────────────────────────── */
.pfs-content {
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

/* ── Number ──────────────────────────────────────────────── */
.pfs-number {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #7dbfbf;
    margin-bottom: 10px;
    line-height: 1;
    font-family: inherit;
}

/* ── Title ───────────────────────────────────────────────── */
.pfs-title {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 300;
    line-height: 1.15;
    color: #1a1916;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}

.pfs-title-plain {
    color: #1a1916;
}

.pfs-title-accent {
    color: #7dbfbf;
    font-style: italic;
}

/* ── Description ─────────────────────────────────────────── */
.pfs-description {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin: 0 0 28px;
    max-width: 520px;
}

/* ── Bullet List ─────────────────────────────────────────── */
.pfs-bullet-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pfs-bullet {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 13.5px;
    color: #555;
    line-height: 1.65;
}

.pfs-bullet::before {
    content: '—';
    color: #555;
    flex-shrink: 0;
    font-weight: 300;
    line-height: 1.65;
    margin-top: 0;
}

/* ── Divider between sections ────────────────────────────── */
.pfs-section + .pfs-section {
    border-top: 1px solid #e0e0e0;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .pfs-content {
        padding: 40px 40px;
    }
}

@media (max-width: 768px) {
    .pfs-section {
        grid-template-columns: 1fr;
        grid-template-areas: none !important;
        min-height: auto;
    }

    .pfs-layout-image-left .pfs-image-panel,
    .pfs-layout-image-right .pfs-image-panel {
        grid-area: unset;
        order: 1;
    }

    .pfs-layout-image-left .pfs-content,
    .pfs-layout-image-right .pfs-content {
        grid-area: unset;
        order: 2;
    }

    .pfs-content {
        padding: 36px 24px;
    }

    .pfs-title {
        font-size: clamp(22px, 6vw, 32px);
    }

    .pfs-number {
        font-size: 22px;
    }

    .pfs-header {
        padding: 28px 0;
    }
}

@media (max-width: 480px) {
    .pfs-content {
        padding: 28px 20px;
    }
}

/* ── Links ───────────────────────────────────────────────── */
.pfs-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 28px;
}

.pfs-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #1a1916;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
}

.pfs-link:hover {
    color: #7dbfbf;
}

.pfs-link-icon {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}

.pfs-link-icon svg {
    width: 1em;
    height: 1em;
}

.pfs-link-text {
    line-height: 1.4;
}

.pfs-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    width: fit-content;
    margin: 0 auto;
}