/* Umoyo Prayer Guide · testimonies. Loaded through $extraCss, after public.css. */

.hero-btn{border:none;cursor:pointer;font:inherit}

.notice{border-radius:12px;padding:12px 14px;font-size:13px;margin:0 0 14px}
.notice-error{background:#FEF2F2;color:#991B1B;border:1px solid #FECACA}

.list-card{background:#fff;border-radius:16px;border:1px solid #F0E8E0;overflow:hidden}
.empty-state{text-align:center;padding:40px 20px;color:#6B4F3A;background:#fff;border-radius:16px;border:1px solid #F0E8E0}
.empty-state i{font-size:44px;color:#D4A843;opacity:.35;display:block;margin-bottom:10px}
.empty-state h3{font-size:18px;font-weight:700;color:#2C1810;margin:0 0 4px}
.empty-state p{font-size:14px;margin:0}

/* Submit form */
.t-form{background:#fff;border:1px solid #F0E8E0;border-radius:16px;padding:20px;margin:0 0 18px;box-shadow:0 4px 16px rgba(44,24,16,.06)}
.t-form[hidden]{display:none}
.t-form-head{display:flex;justify-content:space-between;align-items:center}
.t-form-head h2{font-size:18px;font-weight:700;color:#2C1810;margin:0}
.t-close{background:none;border:none;color:#B8A090;font-size:18px;cursor:pointer;padding:4px}
.t-close:hover{color:#2C1810}
.t-lead{font-size:13px;color:#6B4F3A;margin:6px 0 14px;line-height:1.6}
.t-check{display:flex;align-items:center;gap:10px;margin:0 0 12px;font-size:13px;color:#2C1810;cursor:pointer}
.t-check input{width:18px;height:18px;accent-color:#D4A843}
.t-field{margin-bottom:12px}
.t-field[hidden]{display:none}
.t-field label{display:block;font-size:12.5px;font-weight:600;color:#2C1810;margin-bottom:5px}
.t-field .req{color:#E85D5D}
.t-field input,.t-field select,.t-field textarea{width:100%;padding:10px 14px;border:1px solid #E8D5C0;border-radius:10px;font:inherit;font-size:14px;color:#2C1810;background:#fff}
.t-field textarea{resize:vertical;min-height:110px}
.t-field input:focus,.t-field select:focus,.t-field textarea:focus{outline:none;border-color:#D4A843;box-shadow:0 0 0 3px rgba(212,168,67,.12)}
.t-hp{position:absolute;left:-10000px;width:1px;height:1px;opacity:0}
.t-captcha{display:flex;justify-content:center;margin:6px 0 14px}
.t-submit{width:100%}
.t-submit:disabled{opacity:.6;cursor:not-allowed}

/* List */
.t-list-head{display:flex;justify-content:space-between;align-items:center;margin:20px 0 12px;gap:8px}
.t-section-title{font-size:18px;font-weight:700;color:#2C1810;margin:0}
.t-add{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;background:#D4A843;color:#fff;border:none;border-radius:10px;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.t-add:hover{background:#c49b3a}

.t-grid{display:grid;grid-template-columns:1fr;gap:12px}
.t-card{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid #F0E8E0;border-radius:16px;padding:16px;color:#2C1810;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s}
.t-card:hover{transform:translateY(-2px);border-color:#D4A843;box-shadow:0 4px 16px rgba(0,0,0,.06)}
.t-card h3{font-size:15px;font-weight:700;margin:0}
.t-card p{font-size:13px;color:#6B4F3A;line-height:1.55;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.t-foot{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:10px;border-top:1px solid #F0E8E0;font-size:11px;color:#B8A090}
.t-more{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:#8B5E3C;font-weight:500}

.t-author{display:flex;align-items:center;gap:10px}
.t-author-text{display:flex;flex-direction:column;min-width:0}
.t-author-text strong{font-size:13px;font-weight:600}
.t-author-text small{font-size:11px;color:#6B4F3A}
.t-avatar{width:38px;height:38px;border-radius:50%;background:#F0E8E0;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}
.t-avatar img{width:100%;height:100%;object-fit:cover}
.t-avatar i{font-size:18px;color:#B8A090}
.t-avatar-lg{width:58px;height:58px}
.t-avatar-lg i{font-size:26px}

/* Detail */
.t-back{padding:8px 0 4px}
.t-back a{display:inline-flex;align-items:center;gap:8px;color:#6B4F3A;font-size:14px;font-weight:500;text-decoration:none}
.t-back a:hover{color:#8B5E3C}
.t-detail{background:#fff;border:1px solid #F0E8E0;border-radius:16px;padding:22px;margin:8px 0 18px}
.t-detail-head{display:flex;align-items:center;gap:14px;padding-bottom:16px;border-bottom:1px solid #F0E8E0;margin-bottom:16px}
.t-detail-meta p{font-size:13px;color:#6B4F3A;margin:2px 0;display:flex;align-items:center;gap:6px}
.t-name{font-size:17px;font-weight:700;color:#2C1810;margin:0}
.t-date{font-size:12px;color:#B8A090}
.t-title{font-size:24px;font-weight:800;color:#2C1810;margin:0 0 14px;line-height:1.25}
.t-text{font-size:16px;line-height:1.9;color:#2C1810}

.t-share{margin-top:20px;padding-top:16px;border-top:1px solid #F0E8E0}
.t-share h4{font-size:14px;font-weight:600;color:#2C1810;margin:0 0 10px}
.t-share-row{display:flex;flex-wrap:wrap;gap:8px}
.t-share-btn,.t-social{display:inline-flex;align-items:center;gap:7px;padding:9px 16px;border:none;border-radius:10px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;text-decoration:none;color:#fff}
.t-share-btn:hover,.t-social:hover{transform:translateY(-2px)}
.t-share-btn.facebook,.t-social.facebook{background:#1877F2}
.t-share-btn.twitter{background:#000}
.t-share-btn.whatsapp{background:#25D366}
.t-share-btn.copy{background:#8B5E3C}
.t-social.youtube{background:#C62828}
.t-social.tiktok{background:#000}

.t-related{margin:0 0 20px}
.t-related h3{font-size:16px;font-weight:700;color:#2C1810;margin:0 0 10px}
.t-related-item{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #F0E8E0;border-radius:12px;padding:12px 14px;margin-bottom:8px;color:#2C1810;text-decoration:none}
.t-related-item:hover{border-color:#D4A843}
.t-related-item > i{color:#B8A090}
.t-related-text{flex:1;min-width:0;display:flex;flex-direction:column}
.t-related-text strong{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.t-related-text small{font-size:12px;color:#6B4F3A}

.toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);background:#2C1810;color:#fff;padding:12px 20px;border-radius:12px;font-size:14px;font-weight:500;z-index:400;max-width:90%;text-align:center;box-shadow:0 8px 32px rgba(0,0,0,.2)}

@media (min-width:640px){
  .t-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:480px){
  .t-title{font-size:20px}
  .t-text{font-size:15px}
  .t-detail{padding:16px}
  .t-form{padding:16px}
}

/* ── Show page: testifier and prayer support ─────────────── */
.t-title{margin-bottom:18px}
.t-label{display:block;font-size:11px;font-weight:600;color:#B8A090;text-transform:uppercase;letter-spacing:.5px}

.t-testifier{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.t-testifier-meta{display:flex;flex-direction:column;min-width:0}
.t-name{font-size:17px;font-weight:700;color:#2C1810}

.t-prayed{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#FFF8F0;border:1px solid #E8D5C0;border-left:4px solid #D4A843;border-radius:14px;padding:12px 14px;margin:0 0 18px}
.t-prayed-plain{border-left-color:#B8A090}
.t-prayed-meta{display:flex;flex-direction:column;min-width:0;flex:1}
.t-church{font-size:15px;font-weight:700;color:#2C1810}
.t-prayed-meta small{font-size:12px;color:#6B4F3A;display:flex;align-items:center;gap:4px}
.t-badge{display:inline-flex;align-items:center;gap:6px;background:#F5EDD4;color:#8B5E3C;font-size:11px;font-weight:600;padding:5px 10px;border-radius:20px;white-space:nowrap}

.t-avatar-sm{width:44px;height:44px}
.t-avatar-sm i{font-size:20px}
.t-avatar-sm img{width:100%;height:100%;object-fit:cover}
.t-channel{font-size:12px;color:#8B5E3C;display:flex;align-items:center;gap:4px;margin-top:2px}

@media (max-width:480px){
  .t-badge{width:100%;justify-content:center}
  .t-name{font-size:16px}
}