.formare-archive-page {
    --formare-text: #172033;
    --formare-muted: #5f6b80;
    --formare-border: rgba(15, 23, 42, 0.08);
    --formare-accent: #1d4ed8;
    --formare-accent-soft: rgba(29, 78, 216, 0.08);
    --formare-accent-soft-2: rgba(14, 165, 233, 0.08);
    --formare-surface: rgba(255, 255, 255, 0.96);
    --formare-shadow-1: 0 16px 40px rgba(15, 23, 42, 0.05);
    --formare-shadow-2: 0 24px 56px rgba(15, 23, 42, 0.08);

    position: relative;
    max-width: 1560px;
    margin: 0 auto;
    padding: 34px 20px 90px;
    overflow: hidden;
}

.formare-archive-page::before,
.formare-archive-page::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.75;
    pointer-events: none;
}

.formare-archive-page::before {
    top: 30px;
    left: -120px;
    width: 320px;
    height: 320px;
}

.formare-archive-page::after {
    right: -120px;
    top: 240px;
    width: 360px;
    height: 360px;
}

.formare-archive-shell {
    position: relative;
    z-index: 1;
    width: 100%;
}

.formare-archive-header {
    max-width: 1320px;
    margin: 0 auto 26px;
}

.formare-archive-header-copy {
    max-width: 920px;
}

.formare-archive-title {
    margin: 0;
    color: var(--formare-text);
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.formare-archive-subtitle {
    max-width: 860px;
    margin: 16px 0 0;
    color: var(--formare-muted);
    font-size: 1.04rem;
    line-height: 1.9;
}

.formare-years-nav {
    max-width: 1320px;
    margin: 0 auto 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.formare-years-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(0, 140, 255, 0.153);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--formare-text);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    margin-bottom: 15px;
}

.formare-years-nav-link:hover {
    transform: translateY(-1px);
    border-color: rgba(29, 78, 216, 0.16);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.06);
}

.formare-accordion-timeline {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    gap: 28px;
}

.formare-year-section {
    display: grid;
    gap: 14px;
}

.formare-year-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.formare-year-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--formare-text);
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.formare-year-count {
    color: var(--formare-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.formare-year-items {
    position: relative;
    display: grid;
    gap: 14px;
    padding-left: 26px;
}

.formare-year-items::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(29, 78, 216, 0.18), rgba(29, 78, 216, 0.02));
    border-radius: 999px;
}

.formare-entry {
    position: relative;
    display: block;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--formare-shadow-1);
    overflow: hidden;
}

.formare-entry[open] {
    box-shadow: var(--formare-shadow-2);
}

.formare-entry-summary-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 18px 18px 0;
    list-style: none;
    cursor: pointer;
}

.formare-entry-summary-row::-webkit-details-marker {
    display: none;
}

.formare-entry-dot {
    position: absolute;
    left: -23px;
    top: 26px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #facc15;
    box-shadow: 0 0 0 6px rgba(250, 204, 21, 0.16);
    flex: 0 0 auto;
}

.formare-entry-summary-main {
    min-width: 0;
    flex: 1 1 auto;
    padding-left: 18px;
}

.formare-entry-title {
    margin: 0;
    color: var(--formare-text);
    font-size: 1.08rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
    font-weight: 700;
}

.formare-entry-meta-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    color: var(--formare-muted);
    font-size: 0.86rem;
    line-height: 1.6;
}

.formare-entry-toggle {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-right: 4px;
}

.formare-entry-toggle::before,
.formare-entry-toggle::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 2px;
    width: 14px;
    height: 2px;
    background: rgba(15, 23, 42, 0.55);
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.formare-entry-toggle::after {
    transform: rotate(90deg);
}

.formare-entry[open] .formare-entry-toggle::after {
    opacity: 0;
    transform: rotate(90deg) scaleX(0);
}

.formare-entry-panel {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    padding: 0 18px 18px 18px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    align-items: start;
}

.formare-entry-panel--no-media {
    grid-template-columns: 1fr;
}

.formare-entry-panel-media {
    width: 100%;
    max-width: 220px;
    padding-top: 18px;
}

.formare-entry-panel-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.formare-entry-panel-content {
    min-width: 0;
    padding-top: 18px;
}

.formare-entry-summary-text {
    margin: 0;
    color: var(--formare-muted);
    font-size: 0.96rem;
    line-height: 1.8;
}

.formare-entry-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.formare-entry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.formare-entry-button:hover {
    transform: translateY(-1px);
}

.formare-entry-button--primary {
    background: linear-gradient(135deg, var(--formare-accent) 0%, #3b82f6 100%);
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(29, 78, 216, 0.18);
}

.formare-entry-button--secondary {
    background: rgba(15, 23, 42, 0.04);
    color: var(--formare-text);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.formare-entry-button--ghost {
    background: transparent;
    color: var(--formare-text);
    border: 1px solid rgba(15, 23, 42, 0.10);
}

.formare-archive-empty {
    margin: 20px auto 0;
    padding: 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.06);
    color: var(--formare-muted);
    text-align: center;
}

@media (max-width: 900px) {
    .formare-entry-panel {
        grid-template-columns: 1fr;
    }

    .formare-entry-panel-media {
        max-width: 220px;
    }
}

@media (max-width: 640px) {
    .formare-archive-page {
        padding: 24px 14px 52px;
    }

    .formare-years-nav {
        margin-bottom: 18px;
    }

    .formare-year-items {
        padding-left: 18px;
    }

    .formare-entry-dot {
        left: -16px;
    }

    .formare-entry-summary-row {
        gap: 10px;
        padding-right: 14px;
    }

    .formare-entry-summary-main {
        padding-left: 12px;
    }

    .formare-entry-actions {
        flex-direction: column;
    }
}





/* =========================
   FORMARE - SINGLE
   ========================= */

.formare-single-breadcrumbs {
    max-width: 1320px;
    margin: 0 auto;
    padding: 26px 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.formare-single-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.formare-single-breadcrumbs a:hover {
    text-decoration: underline;
}

.formare-single-breadcrumbs-separator {
    opacity: 0.55;
}

.formare-single-breadcrumbs-current {
    color: #0f172a;
    font-weight: 600;
}

.formare-single-page {
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 20px 72px;
}

.formare-single-article {
    width: 100%;
}

.formare-single-layout {
    display: grid;
    gap: 40px;
    align-items: start;
}

.formare-single-layout--with-media {
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
}

.formare-single-layout--no-media {
    grid-template-columns: 1fr;
}

.formare-single-media {
    position: sticky;
    top: 40px;
}

.formare-single-image-card {
    overflow: hidden;
    background: transparent;
    border-radius: 22px;
    padding: 0;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.formare-single-image-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.formare-single-main {
    min-width: 0;
}

.formare-single-content-card,
.formare-single-related-media-section {
    background: #ffffff;
    border-radius: 22px;
    padding: 30px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.formare-single-back {
    margin-bottom: 18px;
}

.formare-single-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.3;
}

.formare-single-back-link:hover {
    text-decoration: underline;
}

.formare-single-header {
    margin-bottom: 20px;
}

.formare-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.formare-single-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 700;
}

.formare-single-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.formare-single-content {
    color: #334155;
    font-size: 1rem;
    line-height: 1.85;
}

.formare-single-content > *:first-child {
    margin-top: 0;
}

.formare-single-content > *:last-child {
    margin-bottom: 0;
}

.formare-single-content p {
    margin: 0 0 1.2em;
}

.formare-single-content h2,
.formare-single-content h3,
.formare-single-content h4 {
    margin: 1.6em 0 0.7em;
    line-height: 1.25;
    color: #0f172a;
}

.formare-single-content ul,
.formare-single-content ol {
    margin: 0 0 1.2em 1.3em;
}

.formare-single-content li + li {
    margin-top: 0.35em;
}

.formare-single-content a {
    color: #1d4ed8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.formare-single-content strong {
    color: #0f172a;
}

.formare-single-content blockquote {
    margin: 1.5em 0;
    padding: 16px 18px;
    border-left: 4px solid rgba(15, 23, 42, 0.15);
    background: rgba(15, 23, 42, 0.03);
    border-radius: 12px;
}

.formare-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.formare-single-action {
    margin-top: 26px;
}

.formare-single-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 14px;
    background: #0f172a;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid #0f172a;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.formare-single-button:hover {
    transform: translateY(-1px);
    opacity: 0.96;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.formare-single-related-media-section {
    margin-top: 28px;
}

.formare-single-related-media-heading {
    margin-bottom: 18px;
}

.formare-single-related-media-title {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.2;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.formare-single-related-media-subtitle {
    margin: 10px 0 0;
    color: #64748b;
    line-height: 1.75;
}

.formare-single-related-media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.formare-single-related-media-card {
    min-width: 0;
}

.formare-single-related-media-link {
    display: block;
    height: 100%;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.formare-single-related-media-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.formare-single-related-media-visual {
    aspect-ratio: 1.25 / 1;
    overflow: hidden;
    background: linear-gradient(180deg, #dbe5f0 0%, #eef4fb 100%);
}

.formare-single-related-media-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.formare-single-related-media-body {
    padding: 16px;
}

.formare-single-related-media-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.formare-single-related-media-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 700;
}

.formare-single-related-media-card-title {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.45;
}

.formare-single-navigation {
    margin-top: 24px;
}

.formare-single-navigation .post-navigation .nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.formare-single-navigation .post-navigation .nav-previous,
.formare-single-navigation .post-navigation .nav-next {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
}

.formare-single-navigation .post-navigation .nav-previous {
    justify-content: flex-start;
}

.formare-single-navigation .post-navigation .nav-next {
    justify-content: flex-end;
}

.formare-single-navigation .post-navigation a {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    padding: 8px 16px;
    background: #0f172a;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.formare-single-navigation .post-navigation a:hover {
    transform: translateY(-1px);
    opacity: 0.96;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
}

.formare-single-navigation .post-navigation .nav-previous a {
    padding-left: 16px;
    clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
}

.formare-single-navigation .post-navigation .nav-next a {
    padding-right: 16px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
}

.formare-single-navigation .nav-subtitle {
    display: block;
    margin-bottom: 2px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.1;
    font-weight: 500;
}

.formare-single-navigation .nav-title {
    display: block;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .formare-single-layout {
        gap: 24px;
    }

    .formare-single-layout--with-media {
        grid-template-columns: 1fr;
    }

    .formare-single-media {
        position: static;
        max-width: 360px;
    }

    .formare-single-related-media-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .formare-single-breadcrumbs {
        padding: 20px 14px 0;
    }

    .formare-single-page {
        padding: 20px 14px 56px;
    }

    .formare-single-content-card,
    .formare-single-related-media-section {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .formare-single-title {
        font-size: clamp(1.7rem, 8vw, 2.4rem);
    }

    .formare-single-navigation .post-navigation .nav-links {
        flex-direction: column;
        align-items: stretch;
    }

    .formare-single-navigation .post-navigation .nav-previous,
    .formare-single-navigation .post-navigation .nav-next {
        justify-content: stretch;
    }

    .formare-single-navigation .post-navigation .nav-previous a,
    .formare-single-navigation .post-navigation .nav-next a {
        width: 100%;
        clip-path: none;
        padding: 10px 14px;
        border-radius: 14px;
    }
}