/*
Theme Name: Balloon Decor Ideas
Theme URI: https://balloondecorideas.com/
Author: Balloon Decor Ideas
Description: Bright party theme for balloon decoration galleries: violet header with colour-dot links, confetti page banners, tall 2:3 setup cards with balloon count, space and setup time, a decorator tip on every idea, bubble-style section index, full-screen viewer and image SEO.
Version: 1.0.0
Requires at least: 6.2
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: balloondecorideas
*/

@font-face { font-family: "Baloo 2"; src: url(assets/fonts/baloo-2-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url(assets/fonts/baloo-2-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Rubik"; src: url(assets/fonts/rubik-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Rubik"; src: url(assets/fonts/rubik-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
	--violet: #3b2a6b; --violet-2: #52408a; --coral: #ff6b6b; --mint: #2ec4b6; --sun: #ffd23f; --sky: #4d96ff;
	--bg: #fbfaff; --card: #fff; --ink: #24203a; --mute: #6b6880; --line: #e9e5f5; --lilac: #f1edff;
	--fun: "Baloo 2", "Trebuchet MS", Arial, sans-serif;
	--body: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.7 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-2); text-underline-offset: 3px; text-decoration-color: var(--coral); }
a:hover { color: var(--coral); }
h1, h2, h3 { font-family: var(--fun); font-weight: 800; line-height: 1.1; color: var(--violet); }
h2 { font-size: 1.85rem; margin: 2.4rem 0 .5rem; }
h3 { font-size: 1.2rem; font-weight: 700; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }

/* header */
.bd-hdr { background: var(--violet); position: relative; z-index: 30; }
.bd-hdr-in { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.bd-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; flex: none; }
.bd-brand svg { width: 40px; height: 40px; }
.bd-brand span { font: 700 1.35rem/1 var(--fun); }
.bd-brand b { color: var(--sun); font-weight: 800; }
.bd-links { display: flex; gap: 20px; margin-left: auto; }
.bd-links a { color: #e8e3ff; text-decoration: none; font-weight: 500; font-size: .92rem; display: inline-flex; align-items: center; gap: 7px; }
.bd-links a::before { content: ""; width: 9px; height: 11px; border-radius: 50%; background: var(--coral); }
.bd-links a.c1::before { background: var(--sun); }
.bd-links a.c2::before { background: var(--mint); }
.bd-links a.c3::before { background: var(--sky); }
.bd-links a:hover { color: #fff; }
.bd-pop summary { list-style: none; cursor: pointer; background: var(--sun); color: var(--violet); font: 800 1.05rem/1 var(--fun); padding: 9px 16px 7px; border-radius: 999px; }
.bd-pop summary::-webkit-details-marker { display: none; }
.bd-pop[open] summary { background: #fff; }
.bd-pop-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-radius: 0 0 24px 24px; box-shadow: 0 24px 40px rgba(59, 42, 107, .18); max-height: 76vh; overflow: auto; }
.bd-pop-panel .wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 28px; padding: 18px 0 26px; }
.bd-pop-panel h3 { color: var(--coral); font-size: 1.05rem; margin: 14px 0 6px; }
.bd-pop-panel a { display: block; color: var(--ink); text-decoration: none; padding: 4px 0; }
.bd-pop-panel a:hover { color: var(--violet-2); }

/* page banner with confetti */
.bd-banner { background: var(--violet); color: #fff; padding: 22px 0 34px; border-radius: 0 0 36px 36px; background-image: radial-gradient(circle at 97% 26%, var(--coral) 0 5px, transparent 6px), radial-gradient(circle at 92% 70%, var(--sun) 0 6px, transparent 7px), radial-gradient(circle at 86% 30%, var(--mint) 0 4px, transparent 5px), radial-gradient(circle at 2% 88%, var(--sky) 0 4px, transparent 5px), radial-gradient(circle at 96% 90%, var(--sun) 0 3px, transparent 4px); }
.bd-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: #cfc6f5; margin: 0 0 10px; }
.bd-crumbs a { color: #cfc6f5; text-decoration: none; }
.bd-banner h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem); margin: 0 0 14px; max-width: 900px; }
.bd-pills { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bd-pills span { background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 3px 12px; font-size: .84rem; }
.bd-pills span:first-child { background: var(--sun); color: var(--violet); font-weight: 500; }

/* flow */
.bd-main { padding-bottom: 40px; }
.bd-flow { padding-top: 24px; }
.bd-intro { max-width: 780px; font-size: 1.05rem; }
.bd-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.bd-jump a { text-decoration: none; color: var(--ink); background: var(--card); border: 2px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; font-weight: 500; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; }
.bd-jump a::before { content: ""; width: 10px; height: 12px; border-radius: 50%; background: var(--coral); }
.bd-jump a:nth-child(4n+2)::before { background: var(--sun); }
.bd-jump a:nth-child(4n+3)::before { background: var(--mint); }
.bd-jump a:nth-child(4n)::before { background: var(--sky); }
.bd-jump a:hover { border-color: var(--violet-2); }
.bd-sec { scroll-margin-top: 14px; }
.bd-sec > p { max-width: 820px; }

/* setup cards: tall */
.bd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 20px; margin: 16px 0 6px; align-items: start; }
.bd-card { margin: 0; background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: 0 8px 24px rgba(59, 42, 107, .08); scroll-margin-top: 14px; }
.bd-zoom { display: block; aspect-ratio: 2 / 3; background: var(--lilac); overflow: hidden; }
.bd-zoom img { width: 100%; height: 100%; object-fit: cover; }
.bd-card figcaption { padding: 14px 16px 16px; font-size: .93rem; }
.bd-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0 0 10px; }
.bd-stats div { background: var(--lilac); border-radius: 12px; padding: 6px 8px; text-align: center; }
.bd-stats dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.bd-stats dd { margin: 2px 0 0; font: 800 .98rem/1.15 var(--fun); color: var(--violet); }
.bd-card .cap { margin: 0 0 10px; }
.bd-card .tip { margin: 0; background: #fff6d6; border-radius: 12px; padding: 9px 12px; font-size: .88rem; }
.bd-card .tip b { color: #b0700c; }

/* guide, tables, faq */
.bd-guide { max-width: 840px; }
.table-scroll { overflow-x: auto; margin: 14px 0; background: var(--card); border-radius: 16px; border: 2px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--violet); color: #fff; font-weight: 500; }
.bd-faq { max-width: 840px; }
.bd-faq details { background: var(--card); border-radius: 16px; margin-bottom: 10px; box-shadow: 0 4px 14px rgba(59, 42, 107, .06); }
.bd-faq summary { list-style: none; cursor: pointer; padding: 14px 48px 14px 18px; position: relative; }
.bd-faq summary::-webkit-details-marker { display: none; }
.bd-faq summary h3 { margin: 0; font: 500 1rem/1.45 var(--body); color: var(--ink); }
.bd-faq summary::after { content: "+"; position: absolute; right: 14px; top: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: #fff; font: 800 1.1rem/26px var(--fun); text-align: center; }
.bd-faq details[open] summary::after { content: "\2212"; background: var(--mint); }
.bd-faq details > div { padding: 0 18px 14px; color: var(--mute); }
.bd-ad { margin: 26px 0; min-height: 90px; text-align: center; }

/* tiles */
.bd-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px 14px; }
.bd-tile { display: block; text-decoration: none; color: var(--ink); background: var(--card); border-radius: 18px; overflow: hidden; box-shadow: 0 6px 18px rgba(59, 42, 107, .07); }
.bd-tile img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.bd-tile span { display: block; padding: 10px 12px 12px; }
.bd-tile b { display: block; font: 800 1.08rem/1.15 var(--fun); color: var(--violet); }
.bd-tile small { color: var(--mute); font-size: .8rem; }
.bd-tile:hover b { color: var(--coral); }
.bd-next { margin-top: 46px; }
.bd-row { padding-top: 10px; scroll-margin-top: 10px; }

/* front */
.bd-party { background: var(--violet); color: #fff; padding: 40px 0 46px; border-radius: 0 0 44px 44px; text-align: center; background-image: radial-gradient(circle at 6% 20%, var(--coral) 0 8px, transparent 9px), radial-gradient(circle at 94% 30%, var(--sun) 0 9px, transparent 10px), radial-gradient(circle at 88% 82%, var(--mint) 0 6px, transparent 7px), radial-gradient(circle at 12% 80%, var(--sky) 0 7px, transparent 8px); }
.bd-party h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4rem); margin: 0 auto 12px; max-width: 880px; }
.bd-party .lead { margin: 0 auto 26px; max-width: 620px; color: #dcd5ff; font-size: 1.08rem; }
.bd-picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto; }
.bd-picks a { display: block; text-decoration: none; background: #fff; border-radius: 18px; overflow: hidden; color: var(--violet); }
.bd-picks img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.bd-picks span { display: block; padding: 8px 10px; font: 800 1rem/1.15 var(--fun); }

/* static */
.bd-page { max-width: 780px; padding: 10px 0 30px; }
.bd-page h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 10px 0 16px; }
.bd-plain { padding-top: 16px; }

/* footer */
.bd-foot { background: var(--violet); color: #d2cbf2; margin-top: 56px; padding: 40px 0 24px; font-size: .92rem; border-radius: 44px 44px 0 0; }
.bd-foot a { color: #f1eeff; text-decoration: none; display: block; padding: 3px 0; }
.bd-foot a:hover { color: var(--sun); }
.bd-foot-top { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.bd-foot-brand { margin: 0; }
.bd-foot-brand b { font: 800 1.45rem/1.3 var(--fun); color: #fff; }
.bd-foot-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; align-content: start; }
.bd-foot-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 24px; padding: 16px 0; }
.bd-foot h3 { color: var(--sun); font-size: 1.05rem; margin: 14px 0 6px; }
.bd-legal { border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 14px; margin: 0; font-size: .82rem; color: #ada4d8; }

/* viewer */
.bd-view { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: #1d1636; color: #eee; }
.bd-view[open] { display: grid; grid-template-columns: 52px 1fr 52px; grid-template-rows: auto 1fr auto; }
.bd-view::backdrop { background: rgba(0, 0, 0, .7); }
.bd-view .bar { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; font-size: .88rem; }
.bd-view .close { background: var(--coral); border: 0; color: #fff; font: 800 1rem/1 var(--fun); padding: 9px 16px 7px; border-radius: 999px; cursor: pointer; }
.bd-view .stage { display: flex; align-items: center; justify-content: center; min-height: 0; }
.bd-view .stage img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 14px; }
.bd-view .nav { background: none; border: 0; color: var(--sun); font-size: 1.9rem; cursor: pointer; }
.bd-view .info { grid-column: 1 / -1; padding: 10px 16px 18px; max-width: 720px; margin: 0 auto; text-align: center; }
.bd-view .info p { margin: 0 0 10px; font-size: .94rem; }
.bd-view .act { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.bd-view .act a { color: var(--violet); background: var(--sun); text-decoration: none; font: 800 .98rem/1 var(--fun); padding: 9px 15px 7px; border-radius: 999px; }

@media (max-width: 980px) {
	.bd-links { display: none; }
	.bd-pop { margin-left: auto; }
	.bd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.bd-brand span { font-size: 1.12rem; }
	.bd-grid { grid-template-columns: 1fr; gap: 22px; }
	.bd-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
	.bd-foot-top { grid-template-columns: 1fr; }
	.bd-banner { border-radius: 0 0 24px 24px; }
	h2 { font-size: 1.55rem; }
	.bd-view[open] { grid-template-columns: 30px 1fr 30px; }
}
