/*
Theme Name: Blessed in Tech Ministries
Theme URI: https://blessedintechministries.org
Author: Blessed in Tech Ministries, Incorporated
Description: Editable block theme for Blessed in Tech Ministries, Incorporated. Every page is a normal WordPress page you can edit; see Appearance > BITM Setup after activating.
Version: 2.0.1
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bitm-community
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--bitm-ink: #08142b;
	--bitm-ink-2: #112449;
	--bitm-blue: #193c70;
	--bitm-gold: #c4891f;
	--bitm-gold-text: #8a5c0c; /* gold dark enough for text on light backgrounds */
	--bitm-gold-bright: #e4ad42;
	--bitm-cream: #f7f3eb;
	--bitm-paper: #fffdf8;
	--bitm-mist: #eaf0f5;
	--bitm-green: #346b56;
	--bitm-red: #9b3b31;
	--bitm-line: rgba(8, 20, 43, 0.14);
	--bitm-shadow: 0 24px 60px rgba(8, 20, 43, 0.14);
	--bitm-max: 1180px;
	--bitm-gutter: max(20px, calc((100% - var(--bitm-max)) / 2));
	--bitm-heading: "Libre Franklin", Arial, sans-serif;
}

body { background: var(--bitm-paper); color: var(--bitm-ink); }
img { max-width: 100%; height: auto; box-sizing: border-box; }
em { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--bitm-gold-bright); outline-offset: 3px; }


/* WordPress adds spacing between stacked blocks; sections handle their own. */
.bitm-main, .bitm-sections { margin: 0 !important; }
.bitm-sections > *, .bitm-main > * { margin-block: 0 !important; }
.bitm-site-header, .bitm-site-footer { margin: 0 !important; }

h1, h2, h3, h4 { font-family: var(--bitm-heading); color: inherit; margin: 0 0 0.5em; letter-spacing: -0.03em; line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 5.4vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 3.1rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }

/* ==========================================================================
   Header
   ========================================================================== */
.bitm-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .bitm-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bitm-site-header { top: 0; } }

.bitm-utility { background: var(--bitm-ink); color: rgba(255, 255, 255, 0.85); font-size: 0.82rem; padding: 6px var(--bitm-gutter); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bitm-utility p { margin: 0 !important; }
.bitm-utility a { color: rgba(255, 255, 255, 0.9); text-decoration: none; font-weight: 600; }
.bitm-utility a:hover { color: var(--bitm-gold-bright); }
.bitm-utility-links a + a { margin-left: 18px; }

.bitm-header-bar { background: rgba(255, 253, 248, 0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--bitm-line); padding: 12px var(--bitm-gutter); display: flex; align-items: center; gap: 24px; }
.bitm-header-bar > * { margin: 0 !important; }
.bitm-logo img { mix-blend-mode: multiply; }
.bitm-nav { margin-left: auto !important; font-weight: 700; font-size: 0.92rem; }
.bitm-nav .wp-block-navigation__container { gap: 22px; }
.bitm-nav a { color: var(--bitm-ink); text-decoration: none; }
.bitm-nav a:hover { color: var(--bitm-gold-text); }
.bitm-nav .wp-block-navigation__responsive-container-open { background: var(--bitm-ink); color: #fff; border-radius: 999px; padding: 8px; }
.bitm-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--bitm-paper); color: var(--bitm-ink); padding: 24px; }
.bitm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 18px; font-size: 1.25rem; }
.bitm-header-donate .wp-block-button__link { padding: 0.7em 1.4em; }
@media (max-width: 1100px) { .bitm-nav .wp-block-navigation__container { gap: 14px; } .bitm-nav { font-size: 0.86rem; } }
@media (max-width: 600px) {
	.bitm-header-bar { gap: 12px; }
	.bitm-logo img { width: 130px !important; }
	.bitm-utility-location { display: none; }
	.bitm-header-donate .wp-block-button__link { padding: 0.6em 1.1em; font-size: 0.88rem; }
}

/* ==========================================================================
   Sections & layout
   ========================================================================== */
.bitm-section { padding: clamp(56px, 8vw, 100px) var(--bitm-gutter); }
.bitm-section > *:last-child { margin-bottom: 0; }
.bitm-bg-cream { background: var(--bitm-cream); }
.bitm-bg-mist { background: var(--bitm-mist); }
.bitm-bg-ink { background: var(--bitm-ink); color: #fff; }
.bitm-bg-ink a { color: var(--bitm-gold-bright); }
.bitm-narrow { max-width: 760px; }
.bitm-center { justify-content: center; }

.bitm-eyebrow { font: 800 0.78rem/1.3 var(--bitm-heading); letter-spacing: 0.15em; text-transform: uppercase; color: var(--bitm-gold-text); margin-bottom: 14px !important; }
.bitm-bg-ink .bitm-eyebrow, .bitm-cta .bitm-eyebrow, .bitm-card-dark .bitm-eyebrow, .bitm-aside .bitm-eyebrow { color: var(--bitm-gold-bright); }
.bitm-lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 680px; color: #283a57; }
.bitm-small { font-size: 0.9rem; opacity: 0.85; }
.bitm-text-link a { font-weight: 800; color: var(--bitm-ink); text-decoration: none; border-bottom: 2px solid var(--bitm-gold); padding-bottom: 2px; }
.bitm-text-link a:hover { color: var(--bitm-gold-text); }

.bitm-section-head { max-width: 760px; margin-bottom: 40px; }
.bitm-section-head > * { margin-top: 0 !important; }

.bitm-grid { display: grid; gap: 24px; }
.bitm-grid > * { margin: 0 !important; }
.bitm-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bitm-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bitm-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wp-block-post-template.bitm-grid { list-style: none; padding: 0; }
@media (max-width: 960px) { .bitm-grid-3, .bitm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bitm-grid-2, .bitm-grid-3, .bitm-grid-4 { grid-template-columns: 1fr; } }

.bitm-section .wp-block-buttons { margin-top: 32px; gap: 12px; }
.bitm-section-head + .wp-block-buttons, .bitm-hero-copy .wp-block-buttons { margin-top: 24px; }

/* Two-column image + text */
.bitm-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.bitm-split > * { margin: 0 !important; }
.bitm-split-tight { margin-bottom: 48px !important; }
@media (max-width: 860px) { .bitm-split { grid-template-columns: 1fr; } }
.bitm-framed { margin: 0; }
.bitm-framed img { width: 100%; border-radius: 6px; box-shadow: var(--bitm-shadow); border: 10px solid #fff; }
.bitm-framed figcaption, .wp-block-image figcaption { font-size: 0.88rem; color: #4a5872; margin-top: 10px; text-align: left; }

/* Cards */
.bitm-card { background: #fff; border: 1px solid var(--bitm-line); border-radius: 14px; padding: 26px; box-shadow: 0 8px 24px rgba(8, 20, 43, 0.06); }
.bitm-card > * { margin-top: 0 !important; }
.bitm-card > *:last-child { margin-bottom: 0 !important; }
.bitm-card h3 { margin-bottom: 10px; }
.bitm-card-label { font: 800 0.74rem/1.3 var(--bitm-heading); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bitm-gold-text); margin-bottom: 10px !important; }
.bitm-who { font-size: 0.93rem; color: #33445f; background: var(--bitm-cream); border-left: 3px solid var(--bitm-gold); padding: 8px 12px; border-radius: 0 8px 8px 0; }
.bitm-card-photo-top { padding: 0; overflow: hidden; }
.bitm-card-photo-top > *:not(.bitm-card-photo) { padding-inline: 24px; }
.bitm-card-photo-top > *:last-child { padding-bottom: 24px; }
.bitm-card-photo { margin: 0 0 20px !important; }
.bitm-card-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.bitm-card-dark { background: var(--bitm-ink-2); border-color: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: none; }
.bitm-card-wide { margin-top: 24px !important; }
.bitm-step-number { font: 800 2.2rem/1 var(--bitm-heading); color: var(--bitm-gold); margin-bottom: 12px !important; }

.bitm-people .bitm-person { background: #fff; border-radius: 12px; padding: 18px 20px; border-left: 4px solid var(--bitm-gold); }
.bitm-person h3 { font-size: 1.1rem; margin-bottom: 4px; }
.bitm-person p { margin: 0; color: #33445f; font-size: 0.95rem; }

/* Timeline */
.bitm-timeline { border-left: 3px solid var(--bitm-gold); margin-left: 8px; padding-left: 28px; max-width: 820px; }
.bitm-milestone { position: relative; margin: 0 0 32px !important; }
.bitm-milestone::before { content: ""; position: absolute; left: -38px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--bitm-gold-bright); border: 3px solid var(--bitm-paper); }
.bitm-milestone-year { font: 800 0.9rem/1 var(--bitm-heading); color: var(--bitm-gold-text); letter-spacing: 0.08em; margin-bottom: 6px !important; }
.bitm-milestone h3 { margin-bottom: 6px; }

/* Lists with check marks */
.bitm-checks { list-style: none; padding: 0; margin: 0 0 1.5em; }
.bitm-checks li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.bitm-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--bitm-gold-bright); color: var(--bitm-ink); font-weight: 800; font-size: 0.8rem; display: grid; place-items: center; }

.bitm-pill { display: inline-block; background: rgba(228, 173, 66, 0.16); color: var(--bitm-gold-bright); border: 1px solid rgba(228, 173, 66, 0.5); border-radius: 999px; padding: 4px 14px; font-weight: 800; font-size: 0.82rem; }

/* Gallery */
.bitm-gallery .wp-block-image { margin: 0; }
.bitm-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }

/* ==========================================================================
   Home hero
   ========================================================================== */
.bitm-home-hero { background: linear-gradient(180deg, var(--bitm-mist) 0%, var(--bitm-paper) 100%); padding-top: clamp(40px, 6vw, 80px); }
.bitm-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.bitm-hero-grid > * { margin: 0 !important; }
.bitm-hero-copy h1 em { color: var(--bitm-blue); }
.bitm-trust { font-size: 0.88rem; font-weight: 700; color: #33445f; margin-top: 22px !important; }
.bitm-hero-media { position: relative; padding: 0 0 40px 0; }
.bitm-hero-main { margin: 0 !important; }
.bitm-hero-main img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border: 10px solid #fff; border-radius: 4px; box-shadow: var(--bitm-shadow); transform: rotate(1.2deg); }
.bitm-hero-main figcaption { position: absolute; left: -14px; bottom: 70px; background: var(--bitm-ink); color: #fff !important; font-weight: 700; padding: 12px 16px; border-radius: 6px; max-width: 70%; }
.bitm-hero-side { position: absolute !important; right: -10px; top: -26px; width: 38%; margin: 0 !important; background: #fff; padding: 8px 8px 4px; box-shadow: var(--bitm-shadow); transform: rotate(3deg); }
.bitm-hero-side img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.bitm-hero-side figcaption { font-size: 0.75rem !important; font-weight: 700; text-align: center !important; margin: 6px 0 2px !important; color: var(--bitm-ink) !important; }
@media (max-width: 900px) {
	.bitm-hero-grid { grid-template-columns: 1fr; }
	.bitm-hero-side { width: 34%; right: 0; }
}

.bitm-rail { display: grid; grid-template-columns: 1fr 1fr; margin-top: 48px !important; border-radius: 4px; overflow: hidden; box-shadow: var(--bitm-shadow); }
.bitm-rail > * { margin: 0 !important; }
.bitm-rail-card { padding: 24px 28px; color: #fff; height: 100%; box-sizing: border-box; }
.bitm-rail-food { background: var(--bitm-blue); }
.bitm-rail-warm { background: var(--bitm-ink); }
.bitm-rail-card p { margin: 0 !important; }
.bitm-rail-label { font: 800 0.72rem/1.3 var(--bitm-heading); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bitm-gold-bright); }
.bitm-rail-title { font: 800 1.2rem/1.3 var(--bitm-heading); margin: 6px 0 4px !important; }
.bitm-rail-title a { color: #fff !important; text-decoration: none; }
.bitm-rail-title a::after { content: " →"; }
.bitm-rail-note { font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); }
@media (max-width: 760px) { .bitm-rail { grid-template-columns: 1fr; } }

/* Stats band */
.bitm-stats { background: var(--bitm-gold-bright); padding-block: 32px; }
.bitm-stat { border-left: 1px solid rgba(8, 20, 43, 0.25); padding-left: 18px; }
.bitm-stat p { margin: 0; font-size: 0.92rem; }
.bitm-stat .bitm-stat-number { font: 800 clamp(1.8rem, 3vw, 2.4rem)/1.1 var(--bitm-heading); letter-spacing: -0.03em; margin-bottom: 4px; }

/* ==========================================================================
   Inner page hero, notices, CTA
   ========================================================================== */
.bitm-page-hero { background: linear-gradient(135deg, var(--bitm-ink) 0%, var(--bitm-blue) 100%); color: #fff; padding-block: clamp(56px, 8vw, 96px); }
.bitm-page-hero .bitm-eyebrow { color: var(--bitm-gold-bright); }
.bitm-page-hero .bitm-lede { color: rgba(255, 255, 255, 0.88); }
.bitm-page-hero h1 { max-width: 900px; font-size: clamp(2.3rem, 4.6vw, 4.2rem); }
.bitm-page-hero-simple .wp-block-post-title { margin: 0; }
.bitm-page-hero-simple .wp-block-post-date { color: rgba(255, 255, 255, 0.8); margin-top: 12px; }
.bitm-prose { max-width: 100%; }
.bitm-prose h2 { font-size: 1.6rem; margin-top: 1.6em; }

.bitm-notice-band { padding-block: 28px; background: var(--bitm-cream); }
.bitm-notice { background: #fff; border: 1px solid var(--bitm-line); border-left: 6px solid var(--bitm-gold); border-radius: 10px; padding: 18px 22px; }
.bitm-notice p { margin: 0; }
.bitm-notice-alert { border-left-color: var(--bitm-red); }

.bitm-cta { background: linear-gradient(135deg, var(--bitm-blue) 0%, var(--bitm-ink-2) 100%); color: #fff; text-align: center; border-bottom: 4px solid var(--bitm-gold-bright); }
.bitm-cta > * { margin-left: auto !important; margin-right: auto !important; max-width: 760px; }
.bitm-cta .wp-block-buttons { justify-content: center; }
.bitm-cta p { color: rgba(255, 255, 255, 0.86); }

/* Buttons */
.wp-block-button__link { text-decoration: none; transition: transform 0.15s ease, background 0.15s ease; }
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button.is-style-ink .wp-block-button__link { background: var(--bitm-ink); color: #fff; }
.wp-block-button.is-style-ink .wp-block-button__link:hover { background: var(--bitm-blue); color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--bitm-ink); border: 2px solid var(--bitm-ink); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--bitm-ink); color: #fff; }
.wp-block-button.is-style-light .wp-block-button__link { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.7); }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: #fff; color: var(--bitm-ink); }

/* Tables (food schedule, warming data) */
.bitm-schedule-section h2 { font-size: 1.7rem; margin-top: 40px; }
.bitm-schedule-section h2:first-of-type { margin-top: 0; }
.wp-block-table.bitm-schedule, .wp-block-table.bitm-data-table { margin: 0 0 12px; overflow-x: auto; }
.wp-block-table.bitm-schedule table, .wp-block-table.bitm-data-table table { border-collapse: collapse; width: 100%; min-width: 560px; background: #fff; border-radius: 10px; overflow: hidden; }
.wp-block-table.bitm-schedule th, .wp-block-table.bitm-data-table th { background: var(--bitm-ink); color: #fff; text-align: left; font-family: var(--bitm-heading); font-size: 0.85rem; letter-spacing: 0.04em; padding: 12px 14px; border: 0; }
.wp-block-table.bitm-schedule td, .wp-block-table.bitm-data-table td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--bitm-line); vertical-align: top; color: var(--bitm-ink); }
.wp-block-table.bitm-schedule td:first-child { font-weight: 700; }
.wp-block-table.bitm-schedule td:last-child { color: var(--bitm-gold-text); font-weight: 700; }
.wp-block-table.bitm-schedule table.has-fixed-layout { table-layout: auto; }
.bitm-data-table td:last-child { font-weight: 800; }
.bitm-editor-note { display: none; }
.editor-styles-wrapper .bitm-editor-note { display: block; background: #fff8e1; border: 1px dashed var(--bitm-gold); padding: 10px 14px; font-size: 0.85rem; }

/* ==========================================================================
   Forms — always dark text on white fields for readability
   ========================================================================== */
.bitm-form-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.bitm-form-layout > * { margin: 0 !important; }
@media (max-width: 900px) { .bitm-form-layout { grid-template-columns: 1fr; } }
.bitm-aside { background: var(--bitm-ink); color: #fff; border-radius: 14px; padding: 28px; }
.bitm-aside a { color: var(--bitm-gold-bright); }
.bitm-aside h3 { margin-top: 1.2em; }
.bitm-aside h3:first-of-type { margin-top: 0; }

.bitm-form { background: #fff; color: var(--bitm-ink); border: 1px solid var(--bitm-line); border-radius: 14px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--bitm-shadow); }
.bitm-form h2 { font-size: 1.7rem; }
.bitm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 20px 0; }
@media (max-width: 640px) { .bitm-form-grid { grid-template-columns: 1fr; } }
.bitm-field { display: flex; flex-direction: column; gap: 6px; }
.bitm-field-wide { grid-column: 1 / -1; }
.bitm-form label { font-weight: 700; color: var(--bitm-ink); }
.bitm-form input, .bitm-form select, .bitm-form textarea { font: inherit; font-size: 1rem; color: var(--bitm-ink); background: #fff; border: 2px solid #8692a6; border-radius: 10px; padding: 12px 14px; width: 100%; box-sizing: border-box; }
.bitm-form input::placeholder, .bitm-form textarea::placeholder { color: #5b6880; }
.bitm-form input:focus, .bitm-form select:focus, .bitm-form textarea:focus { border-color: var(--bitm-blue); outline: 3px solid rgba(228, 173, 66, 0.6); outline-offset: 1px; }
.bitm-form small { color: #3f4d66; font-size: 0.85rem; }
.bitm-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 600 !important; margin-bottom: 12px; }
.bitm-consent input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--bitm-blue); }
.bitm-form-note { font-size: 0.88rem; color: #3f4d66; }
.bitm-form-note a { color: var(--bitm-blue); }
.bitm-button { font: 800 1rem var(--bitm-heading); background: var(--bitm-ink); color: #fff; border: 0; border-radius: 999px; padding: 15px 28px; cursor: pointer; }
.bitm-button:hover { background: var(--bitm-blue); }
.bitm-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bitm-form-success, .bitm-form-error { border-radius: 12px; padding: 18px 22px; margin-bottom: 20px; font-weight: 600; }
.bitm-form-success { background: #e6f2ec; border: 2px solid var(--bitm-green); color: #163d2e; }
.bitm-form-success h3 { margin-bottom: 4px; }
.bitm-form-error { background: #fbeceb; border: 2px solid var(--bitm-red); color: #5c1d17; }

/* ==========================================================================
   Footer
   ========================================================================== */
.bitm-footer { background: var(--bitm-ink); color: rgba(255, 255, 255, 0.82); padding: 64px var(--bitm-gutter) 28px; font-size: 0.95rem; }
.bitm-footer a { color: #fff; text-decoration: none; }
.bitm-footer a:hover { color: var(--bitm-gold-bright); }
.bitm-footer h3 { color: var(--bitm-gold-bright); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.bitm-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.bitm-footer-grid > * { margin: 0 !important; }
.bitm-footer p { line-height: 1.9; }
.bitm-footer-logo { margin: 0 0 16px !important; }
.bitm-footer-logo img { width: 170px; background: #fff; padding: 8px 12px; border-radius: 8px; }
.bitm-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); margin: 40px 0 0 !important; padding-top: 20px; font-size: 0.85rem; }
@media (max-width: 900px) { .bitm-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bitm-footer-grid { grid-template-columns: 1fr; } }

/* Blog cards */
.wp-block-post-template .bitm-card .wp-block-post-featured-image img { border-radius: 10px; }
.wp-block-post-template .bitm-card .wp-block-post-title a { color: var(--bitm-ink); text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
.bitm-logo { flex: none; }
@media (max-width: 600px) {
	.bitm-hero-main figcaption { left: 8px; bottom: 56px; max-width: 80%; font-size: 0.85rem; }
	.bitm-hero-side { right: 12px; top: -18px; }
	.bitm-hero-main img { transform: none; }
}
@media (max-width: 640px) {
	.wp-block-table.bitm-schedule table { min-width: 0; }
	.wp-block-table.bitm-schedule thead { position: absolute; left: -9999px; }
	.wp-block-table.bitm-schedule tr { display: block; border-bottom: 1px solid var(--bitm-line); padding: 12px 14px; }
	.wp-block-table.bitm-schedule td { display: block; border: 0; padding: 2px 0; }
	.wp-block-table.bitm-schedule td:empty { display: none; }
}
.bitm-program-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 40px; align-items: center; margin-bottom: 40px; }
.bitm-program-head > * { margin: 0 !important; }
.bitm-program-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; box-shadow: var(--bitm-shadow); }
@media (max-width: 860px) { .bitm-program-head { grid-template-columns: 1fr; } }
.bitm-rail > p:empty, .bitm-grid > p:empty, .bitm-form-main > p:empty { display: none; }
