/* Links Hero */
.links-hero {
    /* background: linear-gradient(135deg, var(--ink) 0%, var(--ink2) 100%); */
    /*background: linear-gradient(45deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, .5)), url('../images/links.png');*/
    background: linear-gradient(45deg, #800000, #800000);
    background-size: cover;
    background-position: center;

    padding: 60px 0;
    /* margin-bottom: 40px; */
    border-bottom: 2px solid var(--red);
    position: relative;
    overflow: hidden;
}

.links-hero::before {
    content: "LINKS";
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-family: var(--serif);
    font-size: 100px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
}

.links-hero-title {
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.links-hero-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    /*background: var(--red);*/
    background: #dfdfdf;
}

.links-hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
    max-width: 600px;
}

/* Links Content */
.links-content-section {
    padding: 30px 0 50px 0;
    background: var(--smoke);
}

.links-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.links-title {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--red);
}

/* Link Items */
.link-item {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--line);
}

.link-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.link-header {
    margin-bottom: 10px;
}

.link-url {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--red);
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-word;
}

.link-url:hover {
    color: var(--red-dark);
    text-decoration: underline;
}

.link-sub-url {
    font-size: 14px;
    color: var(--muted);
    margin-top: 3px;
    margin-bottom: 12px;
    word-break: break-word;
}

.link-sub-url a {
    color: var(--muted);
    text-decoration: none;
}

.link-sub-url a:hover {
    color: var(--red);
    text-decoration: underline;
}

.link-description {
    color: var(--ink3);
    line-height: 1.7;
    font-size: 15px;
}

.link-description p {
    margin-bottom: 10px;
}

.link-description p:last-child {
    margin-bottom: 0;
}

/* Simple Link Items (for plain URLs) */
.simple-link-item {
    margin-bottom: 15px;
    padding: 8px 0;
}

.simple-link {
    color: var(--red);
    font-size: 16px;
    text-decoration: none;
    word-break: break-word;
}

.simple-link:hover {
    color: var(--red-dark);
    text-decoration: underline;
}

.simple-link i {
    font-size: 14px;
    margin-right: 8px;
    color: var(--red);
}

/* Responsive */
@media (max-width: 768px) {
    .links-card {
        padding: 25px;
    }

    .links-hero::before {
        font-size: 70px;
    }

    .link-url {
        font-size: 18px;
    }

    .link-description {
        font-size: 14px;
    }
}