/* =========================================================
   ROOT
========================================================= */

:root {
	--bg: #f8fafc;
	--surface: #ffffff;
	--surface-2: #f8fafc;
	--gold: #d9a850;
	--text: #072c4d;
	--muted: #041f3f;
	--accent: #d9a850;
	--accent-soft: rgba(248, 250, 252, 0.08);

	--border: rgba(0, 0, 0, 0.08);

	--radius: 28px;

	
}

/* =========================================================
   RESET
========================================================= */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background: #f8fafc;
	color: var(--text);

	font-family: "Montserrat", sans-serif;

	overflow-x: hidden;
}

img {
	width: 100%;
	display: block;
	object-fit: cover;
}

button,
input {
	font-family: inherit;
	font-size: clamp(1.0rem, 1.5vw, 1.0rem);
}

a {
	text-decoration: none;
	color: inherit;
}

.container {
	width: min(1400px, calc(100% - 1.5rem));
	margin-inline: auto;
}

.container_b {
	width: min(1400px, calc(100% - 1.5rem));
	margin-inline: auto;
	background: #f2f6f8;
}
.frame {
	width: 100%;
	margin-inline: auto;
	
}

.frame_a {
	width: 100%;
	margin-inline: auto;
	background: #f2f6f8;
	
}

.frame_b {
	width: 100%;
	margin-inline: auto;
	background: #f8fafc;
	
}

h3 {
	font-size: clamp(2.4rem, 2vw, 2.8rem);

	line-height: 1.05;

	margin-top: 3rem;

	margin-bottom: 1rem;

	font-family: "Cormorant Garamond", serif;
}

h5 {
	font-size: clamp(1.6rem, 2vw, 2.8rem);

	line-height: 1.05;

	margin-top: 3rem;

	margin-bottom: 2rem;

	font-family: "Cormorant Garamond", serif;
}

/* =========================================================
   HEADER
========================================================= */

header {
	position: sticky;
	top: 0;

	z-index: 1000;

	backdrop-filter: blur(18px);

	background-color: rgba(248, 250, 252, 0.78);	

	border-bottom: 1px solid var(--border);
}

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
}

.logo {
	font-size: 1.3rem;
	font-weight: 800;
}

.logo span {
	color: var(--accent);
}

.nav-links {
	display: flex;
	gap: 2rem;
}

.nav-links a {
	color: var(--muted);

	transition: 0.25s ease;
}

.nav-links a:hover {
	color: var(--text);
}

/* =========================================================
   HERO
========================================================= */

.hero {
	padding: 2rem 0 4rem;
}

.hero-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 1.5rem;
}

.hero-main {
	position: relative;

	min-height: 450px;

	border-radius: var(--radius);

	overflow: hidden;

	

}

.hero-main img {
	height: 50%;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 2rem;
}

.badge {
	width: max-content;

	margin-left: 50px;

	background: var(--accent);

	color: white;

	padding: 0.55rem 0.9rem;

	border-radius: 999px;

	font-size: 1.0rem;
}

.badge2 {
	width: max-content;

	margin-left: 50px;

	background: var(--bg);

	color: var(--text);

	padding: 0.55rem 0.9rem;

	border-radius: 999px;

	font-size: 1rem;
}

.hero-overlay h1 {
	color: white;

	font-size: clamp(2rem, 7vw, 5rem);

	line-height: 0.92;

	font-family: "Cormorant Garamond", serif;
}

.hero-overlay p {
	margin-top: 1rem;

	max-width: 60ch;

	line-height: 1.9;

	color: rgba(255, 255, 255, 0.85);
}

/* =========================================================
   SIDE CARDS
========================================================= */

.hero-side {
	display: grid;
	gap: 1.5rem;
}

.side-card {
	background: transparent;
	
	border-radius: var(--radius);

	overflow: hidden;

}




.side-content {
	padding: 3rem;
}

.side-content h3 {
	font-size: 1.5rem;

	line-height: 1.1;

	margin-bottom: 0.8rem;

	font-family: "Cormorant Garamond", serif;
}

.side-content p {
	color: var(--muted);

	line-height: 1.8;
}

/* =========================================================
   BREAKING NEWS
========================================================= */

.breaking-news {
	display: flex;
	align-items: center;

	gap: 1rem;

	margin-bottom: 3rem;

	background: var(--surface);

	padding: 1rem 1.2rem;
	border: 1px solid #d8dfe4;
	border-radius: 20px;

	overflow: hidden;

	box-shadow: var(--shadow);
}

.breaking-badge {
	background: var(--muted);

	color: white;

	padding: 0.55rem 0.9rem;

	border-radius: 999px;

	font-size: 1rem;

	flex-shrink: 0;
}

.ticker {
	overflow: hidden;
	width: 100%;
}

.ticker-track {
	display: flex;
	gap: 2rem;

	white-space: nowrap;

	animation: ticker 9s linear infinite;
}

.ticker-track span {
	color: var(--muted);
}

@keyframes ticker {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

/* =========================================================
   FEATURED SLIDER
========================================================= */

.featured-slider {
	margin-bottom: 5rem;
}

.slider-header {
	display: flex;
	justify-content: space-between;
	align-items: center;

	margin-bottom: 1.5rem;
}

.slider-header h2 {
	font-size: clamp(2rem, 4vw, 4rem);

	font-family: "Cormorant Garamond", serif;
}

.slider-controls {
	display: flex;
	gap: 0.8rem;
}

.slider-controls button {
	width: 54px;
	height: 54px;

	border: none;

	border-radius: 50%;

	background: var(--surface);

	cursor: pointer;

	box-shadow: var(--shadow);

	transition: 0.25s ease;
}

.slider-controls button:hover {
	background: var(--accent);

	color: white;
}

.slider-wrapper {
	overflow: hidden;
}

.slider-track {
	display: flex;

	gap: 1.5rem;

	transition: transform 0.5s ease;
}

.swipe-card {
	min-width: 420px;

	background: var(--surface);

	border-radius: var(--radius);

	overflow: hidden;

	box-shadow: var(--shadow);

	flex-shrink: 0;

	transition: 0.35s ease;
}

.swipe-card:hover {
	transform: translateY(-8px);
}

.swipe-card img {
	height: 260px;
}

.swipe-content {
	padding: 1.5rem;
}

.swipe-content h3 {
	font-size: 1.6rem;

	line-height: 1.1;

	margin-bottom: 1rem;

	font-family: "Cormorant Garamond", serif;
}

.swipe-content p {
	color: var(--muted);

	line-height: 1.8;
}

/* =========================================================
   CONTROLS
========================================================= */

.controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #f2f6f8;
	flex-wrap: wrap;

	gap: 1rem;

	margin-bottom: 2rem;
}



/* =========================================================
   ARTICLES
========================================================= */
.news-section {
	padding-top: 1rem;
	padding-bottom: 3rem;
}

.news-grid {
	display: grid;

	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));

	gap: 1.5rem;
}

.article {
	background: #f8fafc;

	border-radius: var(--radius);

	border: 1px solid #d8dfe4;

	overflow: hidden;

	box-shadow: var(--shadow);

	transition: transform 0.35s ease, opacity 0.35s ease;

	display: flex;
	flex-direction: column;
}

.article:hover {
	transform: translateY(-8px);
	border-color: var(--gold);
}

.article.large {
	grid-column: span 2;
}

.article img {
	height: 240px;
}

.article.large img {
	height: 420px;
}

.article-content {
	padding: 1.5rem;

	display: flex;
	flex-direction: column;

	flex: 1;
}

.meta {
	display: flex;
	justify-content: space-between;
	align-items: center;

	margin-bottom: 1rem;

	color: var(--muted);

	font-size: 0.85rem;
}

.category {
	background: var(--accent-soft);

	color: var(--accent);

	padding: 0.45rem 0.8rem;

	border-radius: 999px;
}

.article h2 {
	font-size: clamp(2rem, 2vw, 2.6rem);

	line-height: 1.05;

	margin-bottom: 1rem;

	font-family: "Cormorant Garamond", serif;
}

.article-text {
	color: var(--muted);

	line-height: 1.9;

	overflow: hidden;

	max-height: 220px;

	font-size: 1rem;

	transition: max-height 0.45s ease;
}

.article.expanded .article-text {
	max-height: 600px;
}

.article_a {
	background: #f8fafc;

	border-radius: var(--radius);

	border: 1px solid #d8dfe4;

	overflow: hidden;

	box-shadow: var(--shadow);

	transition: transform 0.35s ease, opacity 0.35s ease;

	display: flex;
	flex-direction: column;
}

.article_a:hover {
	transform: translateY(-8px);
	border-color: var(--gold);
}

.article_a.large {
	grid-column: span 2;
}

.article_a img {
	height: 240px;
}

.article_a.large img {
	height: 420px;
}

.article_a-content {
	padding: 1.5rem;

	display: flex;
	flex-direction: column;

	flex: 1;
}

.article_a h2 {
	font-size: clamp(2rem, 2vw, 2.4rem);

	line-height: 1.05;

	margin-bottom: 1rem;

	font-family: "Cormorant Garamond", serif;
}

.article_a-text {
	color: var(--muted);

	line-height: 1.9;

	overflow: hidden;

	max-height: 220px;

        font-size: 1rem;

	transition: max-height 0.45s ease;
}

.article_a.expanded .article_a-text {
	max-height: 600px;
}

.article_b {
	background: #f2f6f8;

	border: 1px solid #d8dfe4;

	border-radius: var(--radius);


	overflow: hidden;

	box-shadow: var(--shadow);

	transition: transform 0.35s ease, opacity 0.35s ease;

	display: flex;
	flex-direction: column;
}

.article_a:hover {
	transform: translateY(-8px);
	border-color: var(--gold);
}



.article_b.large {
	grid-column: span 2;
}

.article_b img {
	height: 240px;
}

.article_b.large img {
	height: 420px;
}

.article_b-content {
	padding: 1.5rem;

	display: flex;
	flex-direction: column;

	flex: 1;
}

.article_b h2 {
	font-size: clamp(2rem, 2vw, 2.4rem);

	line-height: 1.05;

	margin-bottom: 1rem;

	font-family: "Cormorant Garamond", serif;
}

.article_b-text {
	color: var(--muted);

	line-height: 1.9;

	overflow: hidden;

	max-height: 110px;

	transition: max-height 0.45s ease;
}

.article_b.expanded .article_b-text {
	max-height: 600px;
}

.article_b-text::first-letter {
	initial-letter: 2;

	color: var(--accent);

	margin-right: 0.2rem;
}


.actions {
	margin-top: auto;

	display: flex;
	justify-content: space-between;
	align-items: center;

	gap: 1rem;

	padding-top: 1.5rem;
}

.action-buttons {
	display: flex;
	gap: 0.7rem;
}

.action-buttons button {
	border: none;

	background: var(--muted);
	color: #f8fafc;
	padding: 0.8rem 1rem;

	border-radius: 14px;

	cursor: pointer;

	transition: 0.25s ease;
}

.action-buttons button:hover {
	background: var(--surface-2);

	color: var(--gold);
}

/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter {
	margin: 6rem auto;

	background: var(--surface);

	border-radius: 40px;

	padding: 5rem 2rem;

	text-align: center;

	box-shadow: var(--shadow);

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.newsletter h2 {
	font-size: clamp(2.5rem, 5vw, 5rem);

	margin-bottom: 1rem;

	font-family: "Cormorant Garamond", serif;
}

.newsletter p {
	color: var(--muted);

	line-height: 1.9;

	margin-bottom: 2rem;

	max-width: 700px;
}

.news-form {
	display: flex;
	justify-content: center;
	align-items: center;

	gap: 1rem;

	flex-wrap: wrap;

	width: 100%;
}

.news-form input {
	width: min(420px, 100%);

	border: none;

	background: var(--surface-2);

	padding: 1rem 1.2rem;

	border-radius: 14px;

	outline: none;
}

.news-form button {
	border: none;

	background: var(--accent);

	color: white;

	padding: 1rem 1.5rem;

	border-radius: 14px;

	cursor: pointer;

	transition: 0.25s ease;
}

.news-form button:hover {
	transform: translateY(-3px);
}

/* =========================================================
   FOOTER
========================================================= */

footer {
	padding: 4rem 0;

	border-top: 1px solid var(--border);

	margin-top: 4rem;

	background: #f2f6f8;
}

.footer-grid {
	width: min(1200px, 100%);

	margin: auto;

	display: grid;

	grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));

	gap: 3rem;
}

.footer-grid h4 {
	margin-bottom: 1rem;
}

.footer-grid p,
.footer-grid a {
	color: var(--muted);

	line-height: 2;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.footer-bottom {
	width: min(1200px, 100%);

	margin: 3rem auto 0;

	padding-top: 2rem;

	border-top: 1px solid var(--border);

	display: flex;
	justify-content: space-between;
	align-items: center;

	flex-wrap: wrap;

	gap: 1rem;

	color: #f8fafc;

	font-size: 0.9rem;
}


/* =========================================================
   MOBILE
========================================================= */
@media(hover: hover) and (pointer: coarse) {
    article:hover {
        border-color:var(--gold);
    }

}



@media (max-width: 980px) {
	.hero-grid {
		grid-template-columns: 1fr;
	}

	.article.large {
		grid-column: span 1;
	}
}

@media (max-width: 768px) {
	.navbar {
		flex-direction: column;
		gap: 1rem;
	}

	.nav-links {
		width: 100%;

		overflow: auto;

		padding-bottom: 0.5rem;
	}

	.nav-links::-webkit-scrollbar {
		display: none;
	}

	.hero-main {
		min-height: 320px;
	}

	.hero-overlay {
		padding: 1.5rem;
	}

	.hero-overlay h1 {
		max-width: 100%;
	}

	.side-content {
	padding: 0.2rem;
	}

	.slider-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.swipe-card {
		min-width: 85%;
	}

	.controls {
		flex-direction: column;
		align-items: flex-start;
	}

	.filters {
		overflow: auto;
		width: 100%;
		padding-bottom: 0.5rem;
	}

	.filters::-webkit-scrollbar {
		display: none;
	}

	.article:hover {
	
	border-color: var(--gold);
	}

	.article_a:hover {
	
	border-color: var(--gold);
	}

	.article_b:hover {
	
	border-color: var(--gold);
	}




	.article.large img {
		height: 280px;
	}

	.article img {
		height: 220px;
	}

	.meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.actions {
		flex-direction: column;
		align-items: center;
	}

	.action-buttons {
		width: 50%;
	}

	.action-buttons button {
		flex: 1;
	}

	.newsletter {
		padding: 3rem 1.5rem;
		border-radius: 28px;
	}

	.news-form {
		flex-direction: column;
	}

	.news-form input,
	.news-form button {
		width: 100%;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer-brand {
		align-items: center;
text-align: justify;
	}

	.footer-bottom {
		justify-content: center;
		text-align: center;
	}


	.guide-grid {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.guide-brand {
		align-items: center;
	}

}
.guide {
	padding: 4rem 0;

	border-top: 1px solid var(--border);

	margin-top: 4rem;

	background: #041f3f;
}

.guide-grid {
	width: min(1200px, 100%);

	margin: auto;

	display: grid;

	grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));

	gap: 3rem;
}

.guide-grid h4 {
	font-size: clamp(1.2rem, 1.5vw, 2.4rem);
	
	font-family: "Cormorant Garamond", serif;

	color: #ffffff;
}

.guide-grid p,
.guide-grid a {
	margin-top: 1rem;
	color: #ffffff;

	
}

.guide-brand {
	display: flex;
	flex-direction: column;
	gap: 0rem;
	margin-bottom: 1rem;
}

.guide-btn {
	border: none;

	background: var(--gold);

	color: white;

	padding: 0.9rem 1.2rem;

	margin-top: 3rem;

	border-radius: 999px;

	cursor: pointer;

	box-shadow: var(--shadow);

	transition: 0.25s ease;
}

.guide-btn.active,
.guide-btn:hover,
.sort-btn:hover {
	background: var(--surface-2);

	color: var(--muted);
}

.ul {
		list-style: none
}

.border-b {
		border-bottom-style: #f8fafc;
		border-bottom-width: 1px
}

.modal-window {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  &:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  & > div {
    width: 420px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2em;
    background: #faf6f1;
  }

}

.modal-close {
  color: #111111;
  line-height: 50px;
  font-size: 16px;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 70px;
  text-decoration: none;
  &:hover {
    color: #111111;
  }
}

.modal-window {
  & > div {
    border-radius: 1px;
	  color: #111111;
	  font-size: 50%;
  }
}

.modal-window div:not(:last-of-type) {
  margin-bottom: 15px;
}

.boxes {
  margin: auto;
  padding: 50px;
	border-radius: var(--radius);
	border: 1px solid #d8dfe4;
}

.box-table {
    margin: auto;
    padding: 20px;
	border-radius: var(--radius);
	border: 1px solid var(--gold);
	
}

.table {
  table-layout: fixed;
  width: auto;
}

td {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
text-align: left;
}

th {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
text-align: right;
}

.liquid-glass {
  cursor: pointer;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.2);
 	background: #f2f6f8;

	border: 1px solid #d8dfe4;

	border-radius: var(--radius);

border-color: var(--gold);
  will-change: transform;
  transition: transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1);

  &:hover {
    transform: scale(1.05);
border-color: var(--gold);
  }

  .inner {
	border-radius: var(--radius);
    backdrop-filter: blur(3px);
    padding: 1rem 2rem;
    box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, 0.4),
      inset -1px -1px 1px 1px rgba(255, 255, 255, 0.4);
  }
}

.popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 2000;
	align-items: center;
	justify-content: center;
}

.popup.active {
	display: flex;
}

.popup-content {
	background: #f2f6f8;
	padding: 3rem;
		border-style: solid;

	border-width: 1px;

	border-radius: var(--radius);

	border-color: var(--gold);
	max-width: 500px;
	width: 90%;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	animation: popupSlideIn 0.5s ease-out;
}

@keyframes popupSlideIn {
	from { transform: scale(0.8) translateY(-50px); opacity: 0; }
	to { transform: scale(1) translateY(0); opacity: 1; }
}

.popup-content h2 {
	
	font-size: 2.5rem;
	
	margin-bottom: 1rem;
}

.popup-content p {
	margin-bottom: 2rem;
	opacity: 0.9;
}

.countdown {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.countdown-unit {
	background: rgba(255, 107, 53, 0.1);
	border: 2px solid #ff6b35;
	border-radius: 10px;
	padding: 1rem;
	min-width: 60px;
}

.countdown-unit span {
	display: block;
	font-size: 2rem;
	font-weight: 700;
	color: #ffd700;
}

.countdown-unit label {
	font-size: 0.8rem;
	opacity: 0.7;
}

.close-popup {
	background: none;
	border: none;
	color: #ffffff;
	font-size: 2rem;
	cursor: pointer;
	position: absolute;
	top: 1rem;
	right: 1rem;
}

