/*
Theme Name: KI-Recht-Pro
Theme URI:
Author: Daniel Schöfbeck Nayeb Agha, LL.M.
Author URI:
Description: Editorial WordPress Theme für KI-, Datenschutz- und Compliance-Themen
Version: 1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ki-recht-pro
*/

/* Fonts */
@font-face {
    font-family: 'Antic Didone';
    src: url('assets/fonts/Antic_Didone/AnticDidone-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/Montserrat/static/Montserrat-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/Montserrat/static/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/Montserrat/static/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/Montserrat/static/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/Montserrat/static/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Variables */
:root {
    --color-bg: #FAFAF8;
    --color-text: rgba(0,0,0,0.8);
    --color-line: rgba(0,0,0,0.8);

    --space-h1-h2: 60px;
    --space-h2-p: 20px;
    --space-p-p: 24px;
    --space-section: 60px;

    --space-h1-h2-m: 30px;
    --space-h2-p-m: 15px;
    --space-p-p-m: 12px;
    --space-section-m: 24px;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base */
html {
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    width: 100%;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

/* Grid */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding-inline: 24px;
}

/* Typography */
h1 {
    font-family: 'Antic Didone', serif;
    font-size: 64px;
    line-height: 105px;
    font-weight: 400;
    color: var(--color-text);
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    line-height: 50px;
    font-weight: 400;
    color: var(--color-text);
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    line-height: 36px;
    font-weight: 600;
    color: var(--color-text);
}

p {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 26px;
    font-weight: 400;
    text-align: left;
    color: var(--color-text);
    opacity: 0.9;
}

small,
.meta {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: var(--color-text);
}

p.button {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
    text-transform: none;
}

/* Vertical Spacing */
h1 + h2 {
    margin-top: var(--space-h1-h2);
}

h2 + p {
    margin-top: var(--space-h2-p);
}

p + p {
    margin-top: var(--space-p-p);
}

.section {
    margin-bottom: var(--space-section);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 38px;
        line-height: 70px;
    }

    h2 {
        font-size: 18px;
        line-height: 26px;
    }

    p {
        font-size: 14px;
        line-height: 22px;
        opacity: 1;
    }

    h1 + h2 {
        margin-top: var(--space-h1-h2-m);
    }

    h2 + p {
        margin-top: var(--space-h2-p-m);
    }

    p + p {
        margin-top: var(--space-p-p-m);
    }

    .section {
        margin-bottom: var(--space-section-m);
    }
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--color-bg);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.site-title {
    font-family: 'Antic Didone', serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
}

/* Burger */
.burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.burger span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--color-text);
    transition: transform 0.3s ease;
}

.menu-open .burger span:last-child {
    transform: rotate(-30deg);
    transform-origin: left center;
}

/* Overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 140px 24px 24px 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

@media (min-width: 769px) {
    .menu-overlay {
        padding-left: calc((100vw - 1140px) / 2 + 24px);
    }
}

.menu-open .menu-overlay {
    opacity: 1;
    pointer-events: auto;
}

.menu-open {
    overflow: hidden;
}

/* Menu Links */
.menu-overlay ul {
    list-style: none;
    text-align: left;
}

.menu-overlay li {
    margin-bottom: 52px;
}

.menu-overlay li:last-child {
    margin-bottom: 0;
}

.menu-overlay a {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.menu-overlay a:hover,
.menu-overlay a:focus {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .menu-overlay li {
        margin-bottom: 30px;
    }

    .menu-overlay a {
        font-size: 32px;
    }
}

/* Menu Identity */
.menu__identity {
    position: absolute;
    left: 24px;
    top: 180px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: var(--color-text);
    opacity: 0.8;
}

@media (min-width: 769px) {
    .menu__identity {
        left: calc((100vw - 1140px) / 2 - 20px);
    }
}

/* Menu Quote */
.menu__main {
    margin-bottom: 80px;
}

.menu__quote {
    max-width: 400px;
    text-align: left;
}

.menu__quote-author {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    line-height: 16px;
    font-weight: 400;
    color: var(--color-text);
    opacity: 0.5;
    margin-bottom: 8px;
}

.menu__quote-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    color: var(--color-text);
    opacity: 0.7;
}

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

    .menu__main {
        margin-bottom: 60px;
    }

    .menu__quote {
        max-width: 280px;
    }

    .menu__quote-text {
        font-size: 13px;
        line-height: 20px;
    }
}

/* Main Offset */
.site-main {
    padding-top: 80px;
    min-width: 0;
}

/* Front Page */
.page--front {
    position: relative;
    min-height: 100vh;
    min-width: 0;
}

/* Hero */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: flex-start;
    padding-top: 60px;
    min-width: 0;
}

.hero__inner {
    display: grid;
    grid-template-columns: 420px 1fr;
    grid-template-rows: auto auto auto auto;
    column-gap: 120px;
    align-items: start;
    min-width: 0;
}

.hero__meta {
    display: none;
}

.hero__name-vertical {
    position: absolute;
    left: -44px;
    top: 60px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    opacity: 0.8;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
}

.hero__rule--top {
    grid-column: 2;
    grid-row: 1;
    width: 48px;
    height: 1px;
    background: rgba(0,0,0,0.8);
    margin-top: 120px;
    margin-bottom: 5px;
}

.hero__title {
    grid-column: 2;
    grid-row: 2;
}

.hero__portrait {
    grid-column: 1;
    grid-row: 1 / 5;
    width: 420px;
    height: 620px;
    background: rgba(0,0,0,0.12);
    position: relative;
}

.hero__rule--bottom {
    grid-column: 2;
    grid-row: 3;
    width: 48px;
    height: 1px;
    background: rgba(0,0,0,0.8);
    margin-top: 5px;
    margin-bottom: 5px;
}

.hero h2 {
    margin: 0;
}

.hero__label {
    grid-column: 2;
    grid-row: 4;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    line-height: 50px;
    font-weight: 400;
}

/* Front Footer */
.front-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
}

.front-footer__inner {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.front-footer a {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    opacity: 0.6;
    text-decoration: none;
    color: var(--color-text);
}

/* Front Page Desktop - No Scroll */
@media (min-width: 1024px) {
    html,
    body {
        height: 100%;
    }

    body.home {
        overflow: hidden;
    }

    body.home .site-main {
        height: calc(100vh - 80px);
        overflow: hidden;
        padding-top: 80px;
        min-height: 0;
    }

    body.home .page--front {
        height: 100%;
        min-height: 0;
    }

    body.home .hero {
        height: 100%;
        min-height: 0;
        padding-top: 40px;
        padding-bottom: 60px;
    }

    body.home .front-footer {
        bottom: 16px;
    }
}

/* Front Page Mobile */
@media (max-width: 820px) {
    .hero {
        align-items: flex-start;
        padding-top: 16px;
        min-height: auto;
    }

    .hero__inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__meta {
        display: block;
        order: 1;
        position: static;
        writing-mode: horizontal-tb;
        transform: none;
        margin-bottom: 45px;
        font-family: 'Montserrat', sans-serif;
        font-size: 12px;
        line-height: 18px;
        font-weight: 400;
        opacity: 0.8;
    }

    .hero__name-vertical {
        display: none;
    }

    .hero__rule--top {
        order: 2;
        width: 48px;
        height: 1px;
        background: rgba(0,0,0,0.8);
        margin-top: 0;
        margin-bottom: 5px;
    }

    .hero__title {
        order: 3;
        margin-bottom: 10px;
        margin-left: -2px;
    }

    .hero__portrait {
        order: 4;
        width: 350px;
        height: 484px;
        max-width: 100%;
        align-self: flex-start;
        margin-bottom: 18px;
    }

    .hero__rule--bottom {
        order: 5;
        width: 48px;
        height: 1px;
        background: rgba(0,0,0,0.8);
        margin-bottom: 4px;
    }

    .hero__label {
        order: 6;
        margin-bottom: 8px;
        margin-left: -2px;
        font-size: 18px;
        line-height: 26px;
    }

    .front-footer {
        position: static;
        margin-top: 80px;
        padding-bottom: 24px;
    }

    .front-footer__inner {
        gap: 40px;
    }

    .page--front {
        min-height: auto;
    }
}

/* Small Mobile (≤ 400px) */
@media (max-width: 400px) {
    .hero__portrait {
        align-self: flex-start;
    }
}

/* About Page */
.page--about {
    padding-top: 60px;
    padding-bottom: 80px;
}

.about__image {
    width: 100%;
    height: 320px;
    background: rgba(0,0,0,0.12);
}

.about__image-section {
    margin-bottom: 48px;
}

.about__content h2 {
    margin-bottom: var(--space-h2-p);
}

@media (max-width: 768px) {
    .page--about {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .about__image {
        height: 220px;
    }

    .about__image-section {
        margin-bottom: 32px;
    }

    .about__content h2 {
        margin-bottom: var(--space-h2-p-m);
    }
}

/* Site Footer */
.site-footer {
    margin-top: 100px;
    padding: 40px 0;
}

.footer-nav {
    text-align: center;
}

.footer-nav small {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.footer-nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    opacity: 0.6;
    text-decoration: none;
    color: var(--color-text);
    transition: opacity 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus {
    opacity: 1;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 32px 0;
    }

    .footer-nav small {
        gap: 24px;
    }
}

/* Entry Header */
.entry-header {
    padding-top: 60px;
    margin-bottom: var(--space-section);
}

.entry-rule {
    display: block;
    width: 48px;
    height: 1px;
    background: rgba(0,0,0,0.8);
}

.entry-rule:first-child {
    margin-bottom: 5px;
}

.entry-rule:last-child {
    margin-top: 5px;
}

@media (max-width: 768px) {
    .entry-header {
        padding-top: 40px;
        margin-bottom: var(--space-section-m);
    }
}

/* About Portrait */
.about-portrait {
    margin-bottom: var(--space-section);
}

.about-portrait__image {
    width: 520px;
    height: 340px;
    max-width: 100%;
    background: rgba(0,0,0,0.12);
    margin-bottom: 12px;
}

.about-portrait__name {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: var(--color-text);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .about-portrait {
        margin-bottom: var(--space-section-m);
    }
}

/* Services Page */
.services__intro {
    margin-bottom: var(--space-section);
}

.service {
    padding: 60px 0;
}

.service:first-of-type {
    padding-top: 0;
}

.service__title {
    margin-bottom: var(--space-h2-p);
}

.service__note {
    font-weight: 300;
    opacity: 0.7;
}

.service__text {
    margin-bottom: 24px;
}

.service__link {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.service__link:hover,
.service__link:focus {
    opacity: 1;
}

.service__divider {
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
    .services__intro {
        margin-bottom: var(--space-section-m);
    }

    .service {
        padding: 40px 0;
    }

    .service__text {
        margin-bottom: 20px;
    }
}

.service__links {
    display: flex;
    gap: 24px;
}

.service__more {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.service__more:hover,
.service__more:focus {
    opacity: 1;
}

/* Service Detail Pages */
.service-detail__intro {
    margin-bottom: var(--space-section);
}

.service-detail__section {
    margin-bottom: var(--space-section);
}

.service-detail__section h3 {
    margin-bottom: var(--space-h2-p);
}

.service-detail__nav {
    display: flex;
    gap: 24px;
    padding-top: 40px;
}

.service__back {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.service__back:hover,
.service__back:focus {
    opacity: 1;
}

@media (max-width: 768px) {
    .service-detail__intro {
        margin-bottom: var(--space-section-m);
    }

    .service-detail__section {
        margin-bottom: var(--space-section-m);
    }

    .service-detail__nav {
        padding-top: 24px;
    }
}

/* Blog Archive */
.blog__intro {
    margin-bottom: var(--space-section);
}

.blog__posts {
    margin-bottom: var(--space-section);
}

.post-teaser {
    padding: 60px 0;
    border-bottom: 1px solid rgba(0,0,0,0.8);
}

.post-teaser:first-child {
    padding-top: 0;
}

.post-teaser:last-child {
    border-bottom: none;
}

.post-teaser__title {
    font-weight: 400;
    margin-bottom: var(--space-h2-p);
}

.post-teaser__title a {
    color: var(--color-text);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.post-teaser__title a:hover,
.post-teaser__title a:focus {
    opacity: 0.6;
}

.post-teaser__excerpt {
    margin-bottom: 24px;
}

.post-teaser__excerpt p {
    margin: 0;
}

.post-teaser__more a {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.post-teaser__more a:hover,
.post-teaser__more a:focus {
    opacity: 1;
}

.blog-pagination {
    display: flex;
    gap: 24px;
    padding-top: 40px;
}

.blog-pagination a {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.blog-pagination a:hover,
.blog-pagination a:focus {
    opacity: 1;
}

/* Single Post */
.single__nav {
    padding-top: 60px;
}

.single__back {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.single__back:hover,
.single__back:focus {
    opacity: 1;
}

@media (max-width: 768px) {
    .blog__intro {
        margin-bottom: var(--space-section-m);
    }

    .blog__posts {
        margin-bottom: var(--space-section-m);
    }

    .post-teaser {
        padding: 40px 0;
    }

    .post-teaser__excerpt {
        margin-bottom: 20px;
    }

    .blog-pagination {
        padding-top: 24px;
    }

    .single__nav {
        padding-top: 40px;
    }
}

/* Contact Page */
.contact__message {
    margin-bottom: var(--space-section);
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.8);
}

.contact__message p {
    margin: 0;
    opacity: 1;
}

.contact__message--success p {
    color: var(--color-text);
}

.contact__message--error p {
    color: var(--color-text);
}

.contact__intro {
    margin-bottom: var(--space-section);
}

.contact__divider {
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,0.8);
    margin-bottom: var(--space-section);
}

.contact__form {
    max-width: 600px;
}

.contact__field {
    margin-bottom: 32px;
}

.contact__field label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 8px;
}

.contact__field .required {
    opacity: 0.6;
}

.contact__field input[type="text"],
.contact__field input[type="email"],
.contact__field input[type="tel"],
.contact__field textarea {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 26px;
    font-weight: 200;
    color: var(--color-text);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.3);
    padding: 8px 0;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact__field input[type="text"]:focus,
.contact__field input[type="email"]:focus,
.contact__field input[type="tel"]:focus,
.contact__field textarea:focus {
    border-bottom-color: rgba(0,0,0,0.8);
}

.contact__field textarea {
    resize: vertical;
    min-height: 120px;
}

.contact__field--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact__field--checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 1px solid rgba(0,0,0,0.5);
    cursor: pointer;
}

.contact__field--checkbox input[type="checkbox"]:checked {
    background: rgba(0,0,0,0.8);
    border-color: rgba(0,0,0,0.8);
}

.contact__field--checkbox input[type="checkbox"]:checked::after {
    content: '';
    display: block;
    width: 4px;
    height: 8px;
    border: solid #FAFAF8;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin: 1px auto;
}

.contact__field--checkbox label {
    margin-bottom: 0;
}

.contact__field--checkbox a {
    color: var(--color-text);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.contact__field--checkbox a:hover,
.contact__field--checkbox a:focus {
    opacity: 1;
}

.contact__field--honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.contact__captcha {
    margin-bottom: 32px;
}

.contact__submit {
    margin-bottom: 24px;
}

.contact__submit button {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: var(--color-text);
    background: transparent;
    border: none;
    padding: 8px 0;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.contact__submit button:hover,
.contact__submit button:focus {
    opacity: 1;
}

.contact__hint {
    font-size: 11px;
    line-height: 16px;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .contact__intro {
        margin-bottom: var(--space-section-m);
    }

    .contact__divider {
        margin-bottom: var(--space-section-m);
    }

    .contact__field {
        margin-bottom: 24px;
    }
}

/* Legal Pages (Impressum, Datenschutz) */
.legal__intro {
    margin-bottom: var(--space-section);
}

.legal__section {
    margin-bottom: var(--space-section);
}

.legal__section h3 {
    margin-bottom: var(--space-h2-p);
}

.legal__section a {
    color: var(--color-text);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.legal__section a:hover,
.legal__section a:focus {
    opacity: 1;
}

@media (max-width: 768px) {
    .legal__intro {
        margin-bottom: var(--space-section-m);
    }

    .legal__section {
        margin-bottom: var(--space-section-m);
    }
}

/* Resources Page */
.resources__intro {
    margin-bottom: var(--space-section);
}

.resources__divider {
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,0.8);
    margin-bottom: var(--space-section);
}

.resource-section {
    margin-bottom: var(--space-section);
}

.resource-section h3 {
    margin-bottom: var(--space-h2-p);
}

.resource-item {
    margin-bottom: 32px;
}

.resource-item:last-child {
    margin-bottom: 0;
}

.resource-item a {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 26px;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.resource-item a:hover,
.resource-item a:focus {
    opacity: 0.6;
}

.resource-item p {
    margin-top: 8px;
}

.resources__transparency {
    padding-top: 40px;
}

.resources__transparency small {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .resources__intro {
        margin-bottom: var(--space-section-m);
    }

    .resources__divider {
        margin-bottom: var(--space-section-m);
    }

    .resource-section {
        margin-bottom: var(--space-section-m);
    }

    .resource-item {
        margin-bottom: 24px;
    }

    .resources__transparency {
        padding-top: 24px;
    }
}

/* Post Resources Block (Single Post) */
.post-resources {
    margin-top: 60px;
}

.post-resources__divider {
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,0.8);
    margin-bottom: 20px;
}

.post-resources__title {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 12px;
}

.post-resources p {
    margin-bottom: 14px;
}

.post-resources__link {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.post-resources__link:hover,
.post-resources__link:focus {
    opacity: 1;
}

.post-resources__meta {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: var(--color-text);
    opacity: 0.5;
    margin-bottom: 16px;
}

.post-resources__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 768px) {
    .post-resources {
        margin-top: 24px;
    }

    .post-resources__divider {
        margin-bottom: 15px;
    }

    .post-resources__title {
        margin-bottom: 10px;
    }

    .post-resources p {
        margin-bottom: 12px;
    }

    .post-resources__meta {
        margin-bottom: 12px;
    }

    .post-resources__links {
        gap: 8px;
    }
}

/* Blog Post Content */
.entry-content p + h2 {
    margin-top: 48px;
}

.entry-content a {
    color: var(--color-text);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.entry-content a:hover,
.entry-content a:focus {
    opacity: 1;
}

@media (max-width: 768px) {
    .entry-content p + h2 {
        margin-top: 32px;
    }
}
