.hog-announcement { width: min(560px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 12px; background: #f1f6f3; color: #2d4946; overflow: auto; box-shadow: 0 18px 70px #0005; overscroll-behavior: contain; }
.hog-announcement::backdrop { background: rgb(16 35 32 / 65%); }
.hog-announcement-photo { position: relative; }
.hog-announcement-photo img { display: block; width: 100%; height: auto; aspect-ratio: 2.125; object-fit: cover; }
.hog-announcement-photo::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 16px; background: #f1f6f3; -webkit-mask: url("https://madebyalpha.co.uk/oaks/wp-content/uploads/2026/11/hog-asset-22a3463eb90f5117.svg") center / 1600px 16px no-repeat; mask: url("https://madebyalpha.co.uk/oaks/wp-content/uploads/2026/11/hog-asset-22a3463eb90f5117.svg") center / 1600px 16px no-repeat; pointer-events: none; }
.hog-announcement-content { padding: 28px 32px 32px; text-align: center; font-size: 16px; line-height: 1.55; }
.hog-announcement-content h2, .hog-announcement-content h3 { color: inherit; margin: 0 0 12px; font-size: clamp(24px, 4vw, 32px); line-height: 1.2; }
.hog-announcement-content p { margin: 0 0 16px; }
.hog-announcement-content > :last-child { margin-bottom: 0; }
.hog-announcement-content a { display: inline-flex; align-items: center; gap: 14px; padding: 12px 18px; background: #2d4946; color: #fff; border-radius: 50px; font-weight: 700; text-decoration: none; }
.hog-announcement-content a::after { content: '';  display: grid; place-items: center; width: 28px; height: 28px; background: #8fc57b; border-radius: 50%; background-image: url("https://madebyalpha.co.uk/oaks/wp-content/uploads/2026/11/hog-asset-e814b896535d16d3.svg"); background-position: center; background-repeat: no-repeat; background-size: 6px 11px; }
.hog-announcement-close { position: sticky; float: right; top: 10px; margin: 10px 10px -50px 0; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #2d4946; color: #fff; font-size: 28px; cursor: pointer; }
.hog-announcement :focus-visible { outline: 3px solid #8fc57b; outline-offset: 3px; }
@media(max-width:600px) { .hog-announcement-content { padding: 24px; } }
@media(prefers-reduced-motion:no-preference) { .hog-announcement[open] { animation: hog-announcement-in .25s ease-out; } @keyframes hog-announcement-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } }

/* A geometric cross stays centred independently of the font glyph metrics. */
.hog-announcement-close { padding: 0; line-height: 1; }
.hog-announcement-close::before, .hog-announcement-close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; border-radius: 1px; background: #fff; transform: translate(-50%, -50%) rotate(45deg); }
.hog-announcement-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
