/* ============================================================
   ABOUT PAGE — Follow Along section
   Conditionally loaded via functions.php on template-about.php
   ============================================================ */

/*
  TOC
  1. Follow section wrapper
  2. Follow group layout
  3. Follow list items
  4. Social accounts grid
  5. Dark mode
*/


/* ---- 1. Follow section wrapper ---- */

.about-follow {
    margin-top: 3.5em;
    border-top: 4px solid var(--color-text);
    padding-top: 1.5em;
}


/* ---- 2. Follow group layout ---- */

.about-follow-groups {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5em 3em;
    margin-top: 1em;
    align-items: start;
}

.about-follow-group-title {
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-light-text);
    margin: 0 0 0.4em;
    padding: 0;
}

.about-follow .about-follow-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-follow .about-follow-list li {
    padding-left: 0;
    margin-left: 0;
}


/* ---- 3. Follow list items ---- */

.about-follow-item,
.about-follow-item:visited {
    display: flex;
    align-items: center;
    gap: 0.75em;
    padding: 0.9em 0;
    border-top: 2px solid var(--color-text);
    text-decoration: none;
    color: var(--color-text);
}

.about-follow-item:hover {
    text-decoration: none;
    color: var(--color-text);
}

.about-follow-item:hover .about-follow-item-name {
    color: var(--color-link);
}

.about-follow-item-text {
    display: flex;
    flex-direction: column;
    gap: 0.1em;
    line-height: 1;
}

.about-follow-item-name {
    font-weight: 700;
    font-size: 0.9em;
}

.about-follow-item-desc {
    font-size: 0.75em;
    color: var(--color-light-text);
}


/* ---- 4. Social accounts grid ---- */

/* Named neutrally to avoid content blocker false positives */
.about-follow-group--elsewhere .about-follow-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2em;
}


/* ---- 5. Dark mode ---- */

@media (prefers-color-scheme: dark) {
    .about-follow .about-follow-icon { filter: invert(1); }
}
