/* Shared styles for the content pages an admin manages: About, FAQ, Testimonials, Gallery, Blog. */

.ct-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }
.ct-crumb a { color: var(--g-700); font-weight: 600; text-decoration: none; }
.ct-crumb a:hover { text-decoration: underline; }
.ct-crumb i { font-size: .6rem; opacity: .6; }
.page-hero .ct-crumb { color: rgba(255, 255, 255, .75); }
.page-hero .ct-crumb a { color: #fff; }
.ct-empty { text-align: center; padding: 3.4rem 1.4rem; background: linear-gradient(180deg, var(--g-50), #fff); border: 1px dashed var(--g-200); border-radius: 22px; color: var(--muted); }
.ct-empty > i { width: 72px; height: 72px; border-radius: 22px; display: inline-grid; place-items: center; font-size: 1.8rem; color: var(--g-700); background: var(--g-100); margin-bottom: 1rem; }
.ct-empty h2 { margin-bottom: .4rem; }
.ct-empty p { max-width: 30rem; margin: 0 auto 1.2rem; }
.ct-empty p:last-child { margin-bottom: 0; }
.ct-pager { margin-top: 2rem; }

/* ---- Testimonials ---- */
.tm-card { position: relative; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem 1.4rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.tm-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tm-card::before { content: "\201C"; position: absolute; right: 1.1rem; top: .2rem; font-size: 4.5rem; line-height: 1; font-weight: 800; color: var(--g-100); font-family: Georgia, serif; pointer-events: none; }
.tm-stars { color: var(--gold); margin-bottom: .6rem; font-size: .9rem; }
.tm-stars .off { color: var(--line); }
.tm-quote { color: var(--text); font-size: 1rem; flex: 1; margin-bottom: 1.1rem; }
.tm-person { display: flex; align-items: center; gap: .7rem; }
.tm-avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; overflow: hidden; background: var(--g-100); color: var(--g-800); display: grid; place-items: center; font-weight: 800; }
.tm-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tm-person strong { display: block; font-size: .92rem; }
.tm-person span { display: block; font-size: .8rem; color: var(--muted); }

/* ---- Gallery ---- */
.gal-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s; }
.gal-card:hover { border-color: var(--g-200); color: inherit; }
.gal-cover { position: relative; aspect-ratio: 4 / 3; background: var(--g-100); color: var(--g-600); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; overflow: hidden; }
.gal-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gal-count { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .74rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; }
.gal-body { padding: .9rem 1.1rem 1.05rem; }
.gal-body strong { display: block; font-size: 1rem; }
.gal-body span { display: block; font-size: .82rem; color: var(--muted); margin-top: .15rem; }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; }
.gal-thumb { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gal-thumb:hover img { transform: scale(1.06); }

/* ---- Blog ---- */
.blog-list { display: flex; flex-direction: column; gap: 1.6rem; }
.blog-row { display: flex; gap: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem; box-shadow: var(--shadow-sm); }
.blog-row-cover { flex: 0 0 200px; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; display: block; }
.blog-row-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-row-body { flex: 1; min-width: 0; }
.blog-date { font-size: .8rem; font-weight: 700; color: var(--g-700); }
.blog-row-body h2 { font-size: 1.25rem; margin: .3rem 0 .5rem; }
.blog-row-body h2 a { color: var(--ink); text-decoration: none; }
.blog-row-body h2 a:hover { color: var(--g-700); }
.blog-row-body p { color: var(--muted); margin-bottom: .6rem; }
.blog-more { font-weight: 700; font-size: .88rem; text-decoration: none; }
@media (max-width: 575.98px) { .blog-row { flex-direction: column; } .blog-row-cover { flex-basis: auto; } }

.blog-cover { width: 100%; border-radius: 18px; margin-bottom: 1.6rem; max-height: 420px; object-fit: cover; }
.blog-share { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.8rem 0; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.blog-comments { margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.blog-comment { display: flex; gap: .8rem; padding: 1rem 0; border-bottom: 1px dashed var(--line); }
.blog-comment:last-child { border-bottom: 0; }
.blog-comment-avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--g-100); color: var(--g-800); display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.blog-comment-date { font-size: .76rem; color: var(--muted); font-weight: 600; margin-left: .5rem; }
.blog-comment p { margin: .3rem 0 0; }

/* ---- Contact page ---- */
.contact-ways { display: grid; gap: .8rem; }
.contact-way { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none !important; transition: transform .2s, box-shadow .2s, border-color .2s; }
.contact-way:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--g-200); color: var(--ink); }
.contact-way .ico { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 1.1rem; background: var(--g-100); color: var(--g-700); }
.contact-way .ico.gold { background: var(--gold-100); color: var(--gold-600); }
.contact-way .ico.wa { background: #dcf8e6; color: #128c4a; }
.contact-way small { display: block; font-size: .82rem; font-weight: 800; color: var(--muted); }
.contact-way strong { display: block; font-size: .98rem; word-break: break-word; }
.contact-note { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: 18px; background: linear-gradient(160deg, #07073f, #000080); color: rgba(255, 255, 255, .88); }
.contact-note > i { font-size: 1.4rem; color: var(--gold); margin-top: .15rem; }
.contact-note strong { display: block; color: #fff; }
.contact-note span { font-size: .9rem; }
.contact-card-form { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 60px rgba(7, 7, 63, .1); padding: clamp(1.3rem, 3vw, 2.2rem); }
.contact-sent { text-align: center; padding: 1.5rem .5rem; }
.contact-sent .ok { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; color: #fff; background: linear-gradient(135deg, var(--g-700), var(--g-500)); box-shadow: 0 14px 30px rgba(0, 0, 128, .3); }
.contact-sent h2 { font-size: 1.5rem; }
.contact-sent p { color: var(--muted); max-width: 26rem; margin: .4rem auto 1.4rem; }

/* "Load more" (gallery albums and photos) */
.load-more { display: flex; flex-direction: column; align-items: center; gap: .75rem; margin-top: 2.2rem; text-align: center; }
.load-more-count { margin: 0; color: var(--muted); font-size: .95rem; }
.load-more-count strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.load-more-bar { width: min(280px, 80%); height: 4px; border-radius: 99px; background: var(--g-100); overflow: hidden; }
.load-more-bar span { display: block; height: 100%; background: var(--gold); border-radius: inherit; transition: width .3s ease; }
.load-more-btn { min-width: 220px; }
.gal-item:focus-visible, .gal-item a:focus-visible { outline: 3px solid var(--gold-600); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .load-more-bar span { transition: none; } }
