/* Stoà Sicula — two-column Facebook / Instagram feeds, loaded on demand. */
.social-feed-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(238,232,225,.52), rgba(247,243,238,0));
}
.social-feed-section-inner,
.social-page-section > .container { position: relative; }
.social-feed-intro { max-width: 700px; margin: 0 auto 34px; text-align: center; }
.social-feed-intro .section-kicker { margin-bottom: 10px; }
.social-feed-intro h2 { margin: 0 0 12px; }
.social-feed-intro h2 em { color: var(--accent, #b67561); font-style: italic; }
.social-feed-intro .section-intro { margin: 0 auto; max-width: 590px; }
.social-page-intro { margin-bottom: 30px; }
.social-feed-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.5vw, 30px);
    align-items: start;
}
.social-feed-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--white, #fffdfa);
    border: 1px solid var(--line, #e7dfd7);
    border-radius: 14px;
    box-shadow: 0 12px 34px rgba(39,45,48,.055);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.social-feed-card:hover {
    transform: translateY(-3px);
    border-color: rgba(182,117,97,.38);
    box-shadow: 0 18px 42px rgba(39,45,48,.09);
}
.social-feed-header {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line, #e7dfd7);
}
.social-feed-brand {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
}
.social-feed-brand svg { width: 25px; height: 25px; display: block; }
.social-feed-brand-facebook { background: #315b9a; }
.social-feed-brand-instagram { background: linear-gradient(145deg, #6c4b9a, #b85c73 55%, #d49a55); }
.social-feed-heading { min-width: 0; flex: 1; }
.social-feed-heading p,
.social-feed-heading h3,
.social-feed-heading span { margin: 0; }
.social-feed-network {
    color: var(--accent-dark, #925b4b);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1.4;
    text-transform: uppercase;
}
.social-feed-heading h3 {
    margin-top: 2px;
    color: var(--ink, #292f35);
    font-family: var(--serif, Georgia, serif);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.05;
}
.social-feed-heading span { display: block; margin-top: 4px; color: var(--muted, #85827d); font-size: 12px; }
.social-feed-open {
    flex: 0 0 auto;
    color: var(--accent-dark, #925b4b);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}
.social-feed-open:hover { color: var(--ink, #292f35); text-decoration: underline; text-underline-offset: 4px; }
.social-feed-body {
    min-height: 0;
    padding: 0 14px 12px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: #fff;
}
.social-feed-placeholder {
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 14px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    text-align: center;
}
.social-feed-placeholder::before {
    content: '';
    display: block;
    width: 34px;
    height: 2px;
    background: var(--accent, #b67561);
    opacity: .7;
}
.social-feed-placeholder p {
    max-width: 330px;
    margin: 0;
    color: var(--ink-2, #4f5659);
    font-size: 13px;
    line-height: 1.55;
}
.social-feed-placeholder small { color: var(--muted, #85827d); font-size: 11.5px; line-height: 1.45; }
.social-feed-load { cursor: pointer; min-height: 42px; padding: 10px 20px; font-size: 12px; }
.social-feed-load:disabled { cursor: wait; opacity: .72; }
.social-feed-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    padding: 9px 14px 11px;
    border-top: 1px solid var(--line, #e7dfd7);
    color: var(--muted, #85827d);
    font-size: 11.5px;
    line-height: 1.45;
}
.social-feed-footer a { color: var(--accent-dark, #925b4b); font-weight: 700; text-decoration: none; }
.social-feed-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.social-feed-privacy {
    max-width: 820px;
    margin: 16px auto 0;
    color: var(--muted, #85827d);
    font-size: 11.5px;
    line-height: 1.55;
    text-align: center;
}
.social-feed-privacy a { color: var(--accent-dark, #925b4b); text-decoration: underline; text-underline-offset: 3px; }
.social-feed-body iframe {
    display: block;
    width: 100%;
    max-width: 500px;
    min-height: 0;
    height: 620px;
    border: 0;
    background: #fff;
}
.social-feed-body .instagram-media {
    width: 100% !important;
    max-width: 540px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    border: 0 !important;
    box-shadow: none !important;
}
.social-feed-body .instagram-media iframe { max-width: 100% !important; }
.social-feed-card.is-expanded .social-feed-body { min-height: 560px; padding: 14px; }
.social-feed-card.is-expanded .social-feed-placeholder { min-height: 520px; padding: 26px 22px; border: 1px dashed #ded4ca; background: #fcfaf7; }
.social-feed-card.is-expanded .social-feed-placeholder::before { width: 54px; }
.social-feed-card.is-expanded .social-feed-body iframe { min-height: 600px; }
.social-feed-card.is-expanded.is-loading .social-feed-body { min-height: 600px; }
.social-feed-card.is-loading .social-feed-body { min-height: 560px; }
.social-feed-card.has-error .social-feed-placeholder p { color: var(--accent-dark, #925b4b); }
.social-feed-card.has-error .social-feed-body { min-height: 0; padding: 12px 14px; }
.social-feed-card.has-error .social-feed-placeholder { min-height: 0; padding: 12px; }
.social-contact-row { display: flex; justify-content: center; margin-top: 28px; }
.social-contact-card {
    width: min(100%, 540px);
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 20px;
    border: 1px solid var(--line, #e7dfd7);
    border-radius: 12px;
    background: var(--white, #fffdfa);
    color: var(--ink, #292f35);
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease;
}
.social-contact-card:hover { transform: translateY(-2px); border-color: rgba(182,117,97,.45); }
.social-contact-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    border-radius: 50%;
    background: #e8f0e9;
    color: #3a7650;
    font-size: 11px;
    font-weight: 800;
}
.social-contact-card > span:nth-child(2) { min-width: 0; flex: 1; }
.social-contact-card strong,
.social-contact-card small { display: block; }
.social-contact-card strong { font-size: 13px; }
.social-contact-card small { margin-top: 3px; color: var(--muted, #85827d); font-size: 12px; }
.social-contact-arrow { color: var(--accent, #b67561); font-size: 22px; }
@media (max-width: 820px) {
    .social-feed-grid { gap: 16px; }
    .social-feed-header { min-height: 80px; gap: 11px; padding: 14px 16px; }
    .social-feed-brand { width: 40px; height: 40px; flex-basis: 40px; }
    .social-feed-heading h3 { font-size: 22px; }
    .social-feed-open { font-size: 11px; }
}
@media (max-width: 680px) {
    .social-feed-grid { grid-template-columns: minmax(0, 1fr); }
    .social-feed-header { min-height: 88px; }
    .social-feed-body { min-height: 0; padding: 0 12px 10px; }
    .social-feed-placeholder { min-height: 0; padding: 10px 12px; }
    .social-feed-body iframe { min-height: 560px; height: 620px; }
    .social-feed-card.is-expanded .social-feed-body { min-height: 520px; padding: 12px; }
    .social-feed-card.is-expanded .social-feed-placeholder { min-height: 480px; padding: 22px 16px; }
    .social-feed-footer { padding-block: 8px; }
    .social-contact-card { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .social-feed-card,
    .social-feed-open,
    .social-contact-card { transition: none; }
    .social-feed-card:hover,
    .social-contact-card:hover { transform: none; }
}

.social-feed-load[hidden] { display: none !important; }
.social-feed-error { max-width: 360px; margin: 12px auto 0; color: var(--accent-dark, #925b4b); font-size: 12px; line-height: 1.6; text-align: center; }
