/* O'Regan's design system: black ground, #FFC200 accent, Archivo. */
.ogp, .ogp-single { --ogp-y: #FFC200; --ogp-bg: #05070A; --ogp-card: #0C0D0F; --ogp-line: rgba(255,194,0,.55); --ogp-muted: rgba(255,255,255,.72); font-family: Archivo, sans-serif; color: #fff; }

/* Tabs */
.ogp-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 36px; }
.ogp .ogp-tab { appearance: none; border: 1px solid var(--ogp-line) !important; background: linear-gradient(90deg, #2E2504 0%, #0C0B07 45%, #05070A 100%) !important; color: #fff !important; font: 600 15px/1 Archivo, sans-serif; padding: 13px 22px !important; border-radius: 50px; cursor: pointer; transition: background .2s, color .2s; }
.ogp .ogp-tab:hover, .ogp .ogp-tab:focus-visible { border-color: var(--ogp-y) !important; color: var(--ogp-y) !important; }
.ogp .ogp-tab.is-active { background: var(--ogp-y) !important; color: #000 !important; border-color: var(--ogp-y) !important; }

/* Grid + cards */
.ogp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ogp-card { display: flex; flex-direction: column; background: var(--ogp-card); border: 1px solid var(--ogp-line); border-radius: 14px; overflow: hidden; transition: transform .25s, border-color .25s; }
.ogp-card[hidden] { display: none; }
.ogp-card:hover { transform: translateY(-4px); border-color: var(--ogp-y); }
.ogp-card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #15171a; overflow: hidden; }
.ogp-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.ogp-card:hover .ogp-card-media img { transform: scale(1.05); }
.ogp-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); font: 500 13px Archivo, sans-serif; letter-spacing: 3px; text-transform: uppercase; }
.ogp-badge { position: absolute; top: 14px; left: 14px; background: var(--ogp-y); color: #000; font: 700 12px/1 Archivo, sans-serif; letter-spacing: 1px; text-transform: uppercase; padding: 8px 12px; border-radius: 4px; }
.ogp-badge-static { position: static; display: inline-block; margin-bottom: 14px; }
.ogp-card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.ogp-loc { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--ogp-muted); font-size: 14px; }
.ogp-loc .ogp-ico { color: var(--ogp-y); }
.ogp .ogp-title { margin: 0 !important; font: 700 24px/1.2 Archivo, sans-serif !important; }
.ogp-title a { color: #fff !important; text-decoration: none; }
.ogp-title a:hover { color: var(--ogp-y) !important; }
.ogp-sum { margin: 0; color: var(--ogp-muted); font-size: 15px; line-height: 1.6; }
.ogp-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; color: var(--ogp-y) !important; font: 600 15px Archivo, sans-serif; text-decoration: none; }
.ogp-more:hover { color: #fff !important; }
.ogp-none, .ogp-empty { color: var(--ogp-muted); text-align: center; }

/* Single project */
.ogp-single { background: var(--ogp-bg); padding: 200px 50px 100px; }
.ogp-single-inner { max-width: 1460px; margin: 0 auto; border: 1px solid var(--ogp-line); border-radius: 16px; padding: 32px; background: linear-gradient(135deg, #05070A 0%, #0E0C05 60%, #2A2104 100%); }
.ogp-back { display: inline-flex; align-items: center; gap: 8px; color: var(--ogp-muted) !important; text-decoration: none; font-size: 15px; margin-bottom: 26px; }
.ogp-back:hover { color: var(--ogp-y) !important; }
.ogp-single-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.ogp-media-main { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #15171a; border: 1px solid rgba(255,255,255,.08); }
.ogp-media-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ogp-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.ogp-single .ogp-thumb { appearance: none; padding: 0 !important; border: 2px solid transparent !important; background: #15171a !important; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; }
.ogp-single .ogp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .7; transition: opacity .2s; }
.ogp-single .ogp-thumb:hover img, .ogp-single .ogp-thumb.is-active img { opacity: 1; }
.ogp-single .ogp-thumb.is-active { border-color: var(--ogp-y) !important; }
.ogp-single .ogp-single-title { margin: 0 0 22px !important; font: 700 48px/1.1 Archivo, sans-serif !important; color: #fff; }
.ogp-facts { margin: 0 0 24px; }
.ogp-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.12); }
.ogp-facts div:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.ogp-facts dt { color: var(--ogp-muted); font-size: 15px; }
.ogp-facts dd { margin: 0; font-weight: 600; font-size: 15px; text-align: right; }
.ogp-content { color: var(--ogp-muted); font-size: 17px; line-height: 1.75; }
.ogp-content p { margin: 0 0 16px; }
.ogp-list { list-style: none; margin: 8px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ogp-list li { position: relative; padding-left: 22px; font-size: 16px; }
.ogp-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 9px; background: var(--ogp-y); border-radius: 2px; }
.ogp-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--ogp-y); color: #000 !important; text-decoration: none; font: 600 17px Archivo, sans-serif; padding: 15px 28px; border-radius: 50px; transition: background .2s; }
.ogp-cta:hover { background: #fff; }

/* Responsive (headings scale per breakpoint) */
@media (max-width: 1540px) { .ogp-single .ogp-single-title { font-size: 41px !important; } }
@media (max-width: 1170px) { .ogp-single .ogp-single-title { font-size: 36px !important; } .ogp .ogp-title { font-size: 21px !important; } }
@media (max-width: 900px) {
	.ogp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ogp-single { padding: 170px 20px 60px; }
	.ogp-single-grid { grid-template-columns: 1fr; gap: 28px; }
	.ogp-single .ogp-single-title { font-size: 31px !important; }
}
@media (max-width: 767px) {
	.ogp-tabs { flex-wrap: nowrap; overflow-x: auto; margin-bottom: 24px; padding-bottom: 4px; scrollbar-width: none; }
	.ogp-tabs::-webkit-scrollbar { display: none; }
	.ogp .ogp-tab { flex: 0 0 auto; font-size: 14px; padding: 11px 18px !important; }
	.ogp-grid { gap: 12px; }
	.ogp-card-body { padding: 12px 12px 14px; gap: 6px; }
	.ogp .ogp-title { font-size: 16px !important; }
	.ogp-sum { display: none; }
	.ogp-loc, .ogp-more { font-size: 13px; }
	.ogp-badge { top: 8px; left: 8px; font-size: 10px; padding: 6px 8px; }
	.ogp-single { padding: 190px 10px 40px; }
	.ogp-single-inner { padding: 18px; }
	.ogp-single .ogp-single-title { font-size: 26px !important; }
	.ogp-thumbs { gap: 8px; }
	.ogp-content { font-size: 15px; }
}
