/*
Theme Name: BCTS UK - Tailwind
Theme URI: https://www.birthcertificatetranslationuk.co.uk/
Description: Tailwind CSS child theme of bctsuk for birthcertificatetranslationuk.co.uk. Brand palette taken from the site logo (navy #003060, amber #FFC000). Tailwind homepage, header and footer are live in this version. Templates not present here fall back to the parent theme, so pages still on Bootstrap are untouched.
Author: Prakash Chand Saini
Template: bctsuk
Version: 1.1.0
Text Domain: bctsuk-tw
*/

/* ==========================================================================
   Brand tokens - sampled from assets/images/birth_certificate_translation.png
   navy  #003060  (logo text / shield)
   navy2 #204070  (logo shade)
   amber #FFC000  (logo ribbon)
   ========================================================================== */

:root {
    --bcts-navy-900: #001f3f;
    --bcts-navy-800: #003060;
    --bcts-navy-700: #14355f;
    --bcts-navy-600: #204070;
    --bcts-navy-500: #2f5590;
    --bcts-navy-100: #e6edf6;
    --bcts-navy-50:  #f4f7fb;

    --bcts-amber-600: #cc9a00;
    --bcts-amber-500: #ffc000;
    --bcts-amber-400: #ffd24d;
    --bcts-amber-100: #fff4d1;

    --bcts-ink: #15202b;
    --bcts-muted: #5b6b7c;
    --bcts-line: #dce4ee;
    --bcts-off-white: #f8fafc;
}

/* Child theme CSS intentionally minimal: layout and components are built with
   compiled Tailwind utilities in assets/css/tailwind.css. Only brand tokens and
   genuine overrides belong in this file. */

/* ==========================================================================
   Editor content (.prose-bcts)
   Safety net for HTML typed into the WordPress editor without utility classes.
   Page content we write ourselves carries Tailwind classes directly.
   ========================================================================== */

.prose-bcts > * + * { margin-top: 1.1rem; }
.prose-bcts h2 { margin-top: 2.25rem; font-size: 1.375rem; line-height: 1.3; font-weight: 800; color: var(--bcts-navy-800); }
.prose-bcts h3 { margin-top: 1.75rem; font-size: 1.0625rem; font-weight: 800; color: var(--bcts-navy-800); }
.prose-bcts p, .prose-bcts li { font-size: 0.9375rem; line-height: 1.75; color: var(--bcts-muted); }
.prose-bcts ul, .prose-bcts ol { padding-left: 1.25rem; }
.prose-bcts ul { list-style: disc; }
.prose-bcts ol { list-style: decimal; }
.prose-bcts li + li { margin-top: 0.5rem; }
.prose-bcts a { font-weight: 700; color: var(--bcts-navy-800); text-decoration: underline; text-decoration-color: var(--bcts-amber-500); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.prose-bcts a:hover { color: var(--bcts-amber-600); }
.prose-bcts strong { color: var(--bcts-ink); }
.prose-bcts table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.prose-bcts th, .prose-bcts td { border: 1px solid var(--bcts-line); padding: 0.75rem 1rem; text-align: left; vertical-align: top; }
.prose-bcts th { background: var(--bcts-navy-50); font-weight: 800; color: var(--bcts-navy-800); }
.prose-bcts blockquote { border-left: 4px solid var(--bcts-amber-500); padding-left: 1rem; font-style: normal; color: var(--bcts-ink); }
.prose-bcts img { max-width: 100%; height: auto; border-radius: 1rem; }
.prose-bcts .table-scroll { overflow-x: auto; }

/* Authority strip: continuous slider */
.bcts-marquee{position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);}
.bcts-marquee__track{display:flex;width:max-content;align-items:center;gap:.75rem;animation:bcts-marquee-scroll 34s linear infinite;}
.bcts-marquee:hover .bcts-marquee__track,.bcts-marquee:focus-within .bcts-marquee__track{animation-play-state:paused;}
.bcts-marquee__item{white-space:nowrap;}
@keyframes bcts-marquee-scroll{from{transform:translate3d(-50%,0,0);}to{transform:translate3d(0,0,0);}}
@media (prefers-reduced-motion:reduce){.bcts-marquee__track{animation:none;flex-wrap:wrap;justify-content:center;width:100%;}}

/* Second row runs the other way */
.bcts-marquee__track--reverse{animation-name:bcts-marquee-scroll-rev;}
@keyframes bcts-marquee-scroll-rev{from{transform:translate3d(-50%,0,0);}to{transform:translate3d(0,0,0);}}

/* Blog pagination: one row of buttons */
.bcts-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 .85rem;border-radius:.75rem;border:1px solid var(--bcts-line,#e3e8ef);background:#fff;color:#003060;font-size:.875rem;font-weight:800;line-height:1;text-decoration:none;transition:all .2s ease;}
.bcts-pagination .page-numbers:hover{border-color:#003060;color:#b45309;box-shadow:0 6px 18px rgba(0,48,96,.12);}
.bcts-pagination .page-numbers.current{background:#003060;border-color:#003060;color:#fff;}
.bcts-pagination .page-numbers.dots{border-color:transparent;background:transparent;box-shadow:none;}
.bcts-pagination .page-numbers.prev,.bcts-pagination .page-numbers.next{padding:0 1.1rem;}
