/* shared-content.css — long-form editorial styles for SEO landing pages.
 *
 * Owns the below-the-grid content furniture: .content-container, .content-section,
 * .intro-text, .pick-card, .included-list, .comparison-table, the .faq-* accordion
 * and .internal-links.
 *
 * Extracted verbatim from get-well-soon-flowers-singapore.html (Aug 2026) when the
 * five guide/landing pairs were consolidated — five inline copies would have been
 * five things to drift (CLAUDE.md note 6).
 *
 * Depends on the per-page :root palette: --terracotta, --warm-cream, --warm-brown,
 * --sage-green, --deep-sage, --dusty-rose. Every consuming page defines all six.
 *
 * Consumers: apology, 520-day, condolence-funeral, graduation, mothers-day
 * (…-flowers-singapore.html). The four already-built-out pages (get-well-soon,
 * qixi, thank-you, valentines-day) still carry their own inline copies — migrating
 * them is the remaining half of this cleanup.
 *
 * FAQ accordion markup this expects:
 *   <div class="faq-item">
 *     <div class="faq-question">Question?</div>
 *     <div class="faq-answer"><p>Answer.</p></div>
 *   </div>
 * with a click handler toggling .active on .faq-item.
 */

.content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 1rem;
}

.content-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.content-section h2 {
    color: #444;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.content-section h3 {
    color: #444;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.content-section p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.content-section a {
    color: var(--terracotta);
    text-decoration: underline;
}

.content-section a:hover {
    color: #999;
}

.pick-card {
    padding: 1.4rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    background: var(--warm-cream);
    border-left: 4px solid var(--terracotta);
}

.pick-card:last-child {
    margin-bottom: 0;
}

.pick-card h3 {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 0.4rem;
}

.pick-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.btn-browse {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--terracotta);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-browse:hover {
    background: var(--deep-sage);
    color: white;
}

/* .content-section a (0,1,1) outranks .btn-browse (0,1,0) and would make
   button text terracotta-on-terracotta; restore the intended white. */
.content-section a.btn-browse,
.content-section a.btn-browse:hover {
    color: white;
    text-decoration: none;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background: var(--terracotta);
    color: white;
    font-weight: 700;
}

.comparison-table tr:nth-child(even) {
    background: var(--warm-cream);
}

.included-list {
    list-style: none;
    padding: 0;
}

.included-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
}

.included-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--sage-green);
    font-weight: 700;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 1rem 0;
    cursor: pointer;
    font-weight: 700;
    color: #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}

.faq-question::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--terracotta);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-question::after {
    content: '\2212';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding-bottom: 1rem;
}

.faq-answer p {
    color: #999;
    line-height: 1.7;
}

.internal-links {
    text-align: center;
    padding: 1.5rem 0 0;
    font-size: 0.95rem;
}

.internal-links p {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    color: var(--warm-brown);
    margin-bottom: 0.6rem;
}

.internal-links a {
    color: var(--terracotta);
    text-decoration: underline;
    white-space: nowrap;
}

.intro-text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Pull-quote card for suggested message copy. Ported from the apology and
 * condolence guides; --text-base was page-local and is inlined as 1rem. */
.message-card {
    background: var(--warm-cream);
    border-left: 4px solid var(--dusty-rose);
    border-radius: 0 12px 12px 0;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    transition: transform 0.2s ease;
}

.message-card:hover {
    transform: translateX(4px);
}

.message-card::before {
    content: '\201C';
    font-size: 2.5rem;
    color: var(--dusty-rose);
    position: absolute;
    top: 0.2rem;
    left: 0.8rem;
    line-height: 1;
}

.message-card p {
    margin-bottom: 0;
    padding-left: 1.5rem;
    font-style: italic;
    color: #444;
    font-size: 1rem;
}

/* Inline text helpers carried over from the merged guides. --text-sm was
 * page-local in the 520 guide and is inlined as 0.875rem. */
.chinese-text {
    font-size: 1.1em;
    letter-spacing: 0.5px;
}

.message-translation {
    display: block;
    font-style: normal;
    font-size: 0.875rem;
    color: #999;
    margin-top: 0.3rem;
}

.date-label {
    font-weight: 700;
    color: #444;
    font-size: 0.95rem;
}

.date-detail {
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .content-container { padding: 0 1.2rem 1rem; }
    .content-section { padding: 1.5rem; }
    .comparison-table { font-size: 0.85rem; }
    .comparison-table th,
    .comparison-table td { padding: 0.6rem 0.5rem; }
}
