/* =========================================================
   ACK Diocese of Mombasa: site typography
   Headings: Lora (dignified serif, easy to read)
   Body:     Open Sans (clean sans-serif)
   Labels, menu and buttons keep the template's Poppins.
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@500;600;700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
    --ack-navy: #13294b;
    --ack-red: #bf0a30;
    --ack-text: #454b54;
}

/* Body text: larger and darker for comfortable reading */
body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: var(--ack-text);
}
p { margin-bottom: 1.1em; }

/* Headings */
h1, h2, h3, h4, h5,
.section-title h2,
.page-title-wrap .page-title {
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    color: var(--ack-navy);
    letter-spacing: 0;
}
.typo-white h1, .typo-white h2, .typo-white h3, .typo-white h4,
.typo-white .section-title h2, .page-title-wrap .page-title,
.footer h3, .footer .title { color: #fff; }

.section-title h2.section-title, .title-wrap h2 { font-size: 38px; line-height: 1.25; }
.page-title-wrap .page-title { font-size: 48px; }
h3 { font-size: 24px; }
h4 { font-size: 21px; line-height: 1.35; }
h5 { font-size: 18px; }

/* Small red labels above headings stay in Poppins */
.sub-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Card titles: a little lighter so they read cleanly */
.sermon-title h4, .blog-title h4, .ministries-title h4, .event-title h5,
.team-name h3, .clergy-card h3, .leader-card h3, .value-box h4 {
    font-weight: 600;
    line-height: 1.35;
}
.sermon-title a, .blog-title a, .ministries-title a, .event-title a, .team-name a { color: var(--ack-navy); }
.sermon-title a:hover, .blog-title a:hover, .ministries-title a:hover, .event-title a:hover { color: var(--ack-red); }

/* Secondary text */
.team-designation p, .post-date, .sermon-info { font-size: 14px; }

/* Footer: soft white text on navy */
.footer, .footer p, .footer .widget-text p, .footer li a, .footer .side-item-text a { color: rgba(255,255,255,.82); }
.footer p { font-size: 15.5px; }
.footer a:hover { color: #fff; }

/* Phones and small tablets */
@media (max-width: 767px) {
    body { font-size: 16px; }
    .section-title h2.section-title, .title-wrap h2 { font-size: 28px; }
    .page-title-wrap .page-title { font-size: 34px; }
    h4 { font-size: 19px; }
}

/* Countdown circles: keep numbers and labels compact */
.day-counter .count-view { font-family: 'Poppins', sans-serif; font-size: 30px; line-height: 1.1; }
.day-counter .day-count-details span { font-size: 13px; line-height: 1.2; display: block; }

/* ===================== Events calendar ===================== */
.ackcal-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:16px; margin-bottom:22px; }
.ackcal-label { font-family:'Poppins',sans-serif; font-size:13px; letter-spacing:1.5px; text-transform:uppercase; color:var(--ack-red); font-weight:600; }
.ackcal-title { font-size:40px; margin:4px 0 0; }
.ackcal-legend { display:flex; flex-wrap:wrap; gap:6px 14px; font-size:13px; }
.ackcal-legend i { display:inline-block; width:12px; height:12px; border-radius:3px; margin-right:6px; vertical-align:-1px; }
.ackcal-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); border:1px solid #e3e7ee; border-radius:10px; overflow:hidden; background:#fff; box-shadow:0 6px 28px rgba(0,0,0,.06); }
.ackcal-dow { background:var(--ack-navy); color:#fff; text-align:center; padding:12px 4px; font-family:'Poppins',sans-serif; font-size:13px; font-weight:600; letter-spacing:1px; text-transform:uppercase; }
.ackcal-cell { min-height:118px; border-right:1px solid #eef0f4; border-bottom:1px solid #eef0f4; padding:8px; position:relative; }
.ackcal-cell:nth-child(7n) { border-right:0; }
.ackcal-empty { background:#f8f9fb; }
.ackcal-past .ackcal-num { color:#b3b9c3; }
.ackcal-num { font-family:'Poppins',sans-serif; font-weight:600; font-size:15px; color:var(--ack-navy); display:inline-block; width:30px; height:30px; line-height:30px; text-align:center; border-radius:50%; }
.ackcal-today { background:#fff6f8; }
.ackcal-today .ackcal-num { background:var(--ack-red); color:#fff; }
.ackcal-chip { display:block; color:#fff !important; font-size:12.5px; line-height:1.3; padding:5px 7px; border-radius:5px; margin-top:5px; overflow:hidden; font-weight:600; }
.ackcal-chip-t, .ackcal-chip-v { display:block; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-box-orient:vertical; }
.ackcal-chip-t { -webkit-line-clamp:2; }
.ackcal-chip-v { -webkit-line-clamp:2; font-weight:400; font-size:11.5px; opacity:.92; margin-top:2px; }
.ackcal-chip-v i { font-size:10px; margin-right:3px; }
.ackcal-chip:hover { opacity:.88; }
.ackcal-list { margin-top:50px; }
.ackcal-list h3 { font-size:28px; margin-bottom:20px; }
.ackcal-none { background:#f7f8fb; border-radius:8px; padding:22px; text-align:center; }
.ackcal-item { display:flex; gap:20px; align-items:center; background:#fff; border-radius:10px; box-shadow:0 5px 22px rgba(0,0,0,.06); padding:18px 20px; margin-bottom:16px; scroll-margin-top:140px; }
.ackcal-item:target { box-shadow:0 0 0 3px var(--ack-red); }
.ackcal-done { opacity:.6; }
.ackcal-date { flex:0 0 74px; height:74px; border-radius:10px; color:#fff; text-align:center; display:flex; flex-direction:column; justify-content:center; }
.ackcal-date b { font-family:'Poppins',sans-serif; font-size:28px; line-height:1; }
.ackcal-date span { font-family:'Poppins',sans-serif; font-size:13px; text-transform:uppercase; letter-spacing:1px; }
.ackcal-info h4 { font-size:20px; margin:0 0 6px; }
.ackcal-info p { margin:0; display:flex; flex-wrap:wrap; gap:6px 18px; font-size:15px; }
.ackcal-info i { color:var(--ack-red); margin-right:6px; }
.ackcal-tag { font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:1px; }
@media (max-width:767px) {
  .ackcal-title { font-size:30px; }
  .ackcal-cell { min-height:58px; padding:4px; }
  .ackcal-num { width:26px; height:26px; line-height:26px; font-size:13px; }
  .ackcal-chip { font-size:0; height:7px; padding:0; margin-top:3px; border-radius:4px; }
  .ackcal-chip-t, .ackcal-chip-v { display:none; }
  .ackcal-dow { font-size:11px; padding:8px 2px; letter-spacing:0; }
}

/* ===================== Sermons (YouTube) ===================== */
.ack-sermon-card { background:#fff; border-radius:10px; overflow:hidden; box-shadow:0 6px 26px rgba(0,0,0,.07); height:100%; display:flex; flex-direction:column; }
.ack-thumb { position:relative; display:block; overflow:hidden; }
.ack-thumb img { width:100%; aspect-ratio:16/9; object-fit:cover; display:block; transition:transform .4s; }
.ack-sermon-card:hover .ack-thumb img { transform:scale(1.05); }
.ack-thumb:after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(11,29,58,.55)); }
.ack-play { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:66px; height:66px; border-radius:50%; background:var(--ack-red); color:#fff; display:flex; align-items:center; justify-content:center; font-size:22px; z-index:2; box-shadow:0 0 0 8px rgba(191,10,48,.25); transition:transform .3s; }
.ack-sermon-card:hover .ack-play { transform:translate(-50%,-50%) scale(1.1); }
.ack-cat { position:absolute; left:14px; bottom:12px; z-index:2; background:#fff; color:var(--ack-navy); font-family:'Poppins',sans-serif; font-size:12px; font-weight:600; letter-spacing:.5px; padding:4px 11px; border-radius:20px; }
.ack-sermon-card .sermon-details { padding:22px 24px 24px; flex:1; display:flex; flex-direction:column; }
.sermon-title-h { font-size:20px; line-height:1.35; margin-bottom:12px; }
.sermon-title-h a { color:var(--ack-navy); }
.sermon-title-h a:hover { color:var(--ack-red); }
.ack-sermon-info { list-style:none; padding:0; margin:0 0 16px; font-size:14.5px; flex:1; }
.ack-sermon-info li { padding:3px 0; }
.ack-sermon-info i { color:var(--ack-red); }
.ack-sermon-info .title { font-weight:600; color:var(--ack-navy); }
.ack-sermon-links { display:flex; justify-content:space-between; align-items:center; border-top:1px solid #eef0f4; padding-top:14px; }
.ack-sermon-links .link { font-weight:600; }
.ack-yt { font-size:14px; color:#6b7280; }
.ack-yt:hover { color:#ff0000; }
.ack-filter button { border:1px solid #dde2ea; background:#fff; color:var(--ack-navy); font-family:'Poppins',sans-serif; font-size:14px; font-weight:500; padding:8px 18px; border-radius:30px; margin:0 4px 10px; cursor:pointer; }
.ack-filter button.active, .ack-filter button:hover { background:var(--ack-red); border-color:var(--ack-red); color:#fff; }
.ack-thumb, .ack-thumb img { border-radius:0 !important; max-width:none !important; width:100% !important; background:none !important; padding:0 !important; }
.ack-sermon-links a { display:inline-flex !important; align-items:center; gap:6px; width:auto !important; margin:0 !important; }
.ack-sermon-links .link:after, .ack-sermon-links .link:before { display:none !important; }

/* Menu: "Watch Live" item shows only in the mobile menu (desktop has the red button) */
.navbar .navbar-main .ack-mobile-only { display:none; }
/* Pulsing red dot used on the Watch Live button and page */
.ack-live-dot { display:inline-block; width:9px; height:9px; border-radius:50%; background:#ff3b3b; margin-right:8px; vertical-align:middle; animation:ackPulse 1.6s infinite; }
.h-donate-btn .ack-live-dot { background:#fff; }
@keyframes ackPulse { 0% { box-shadow:0 0 0 0 rgba(255,59,59,.7); } 70% { box-shadow:0 0 0 9px rgba(255,59,59,0); } 100% { box-shadow:0 0 0 0 rgba(255,59,59,0); } }
