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

:root {
	--bg: #f4efe8;
	--surface: #ffffff;
	--surface-2: #faf6f1;

	--text: #111111;
	--muted: #6f6f6f;

	--accent: #d64933;
	--accent-soft: rgba(214, 73, 51, 0.08);

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

	--radius: 28px;

	--shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

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

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

html {
	scroll-behavior: smooth;
}

body {
	background: var(--bg);
	color: var(--text);

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

	overflow-x: hidden;
}

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

}

button,
input {
	font-family: inherit;
}

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

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

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

header {
	position: sticky;
	top: 0;

	z-index: 1000;



	
}

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

.logo {
	font-size: 1.5rem;
	font-weight: 600;
	font-family: "Cormorant Garamond", serif;
}

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

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

.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: 520px;

	border-style: solid;

	border-width: 1px;

	border-color: var(--accent);

	border-radius: var(--radius);

	overflow: hidden;

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

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

.hero-overlay {
	position: absolute;
	inset: 0;

	background: linear-gradient(to top, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.1));

	display: flex;
	flex-direction: column;
	justify-content: flex-end;

	padding: 2.5rem;
}

.badge {
	width: max-content;

	background: var(--accent);

	color: white;

	padding: 0.55rem 0.9rem;

	border-radius: 999px;

	font-size: 0.8rem;

	margin-bottom: 1rem;
}

.hero-overlay h1 {
	color: white;

	font-size: clamp(3rem, 7vw, 6rem);

	line-height: 0.92;

	max-width: 10ch;

	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: var(--surface);
	
	border-style: solid;

	border-width: 1px;

	border-color: var(--accent);

	border-radius: var(--radius);

	overflow: hidden;

	box-shadow: var(--shadow);

	transition: 0.35s ease;
}

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

.side-card img {
	width: 100%;
	
}

.side-content {
	padding: 1.4rem;
}

.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-radius: 20px;

	overflow: hidden;

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

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

	color: white;

	padding: 0.55rem 0.9rem;

	border-radius: 999px;

	font-size: 0.8rem;

	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);
}

.ticker img {
  max-width: 25%;
}

@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;

	flex-wrap: wrap;

	gap: 1rem;

	margin-bottom: 2rem;
}

.filters {
	display: flex;
	gap: 0.8rem;

	flex-wrap: wrap;
}

.filter-btn,
.sort-btn {
	border: none;

	background: var(--surface);

	padding: 0.9rem 1.2rem;

	border-radius: 999px;

	cursor: pointer;

	box-shadow: var(--shadow);

	transition: 0.25s ease;
}

.filter-btn.active,
.filter-btn:hover,
.sort-btn:hover {
	background: var(--accent);

	color: white;
}

/* =========================================================
   ARTICLES
========================================================= */

.news-section {
	padding-bottom: 5rem;
}

.news-grid {
	display: grid;

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

	gap: 1.5rem;
}

.article {
	background: var(--surface);

	border-style: solid;

	border-width: 1px;

	border-radius: var(--radius);

	border-color: var(--accent);

	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);
}

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

.article img {
	height: auto;
}

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

.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(1.6rem, 2vw, 2.8rem);

	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: 110px;

	transition: max-height 0.45s ease;
}

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

.article-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(--accent);

	color: white;

	padding: 0.8rem 1rem;

	border-radius: 14px;

	cursor: pointer;

	transition: 0.25s ease;
}

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

	color: white;
}

/* =========================================================
   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;
}

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

	margin: auto;

	display: grid;

	grid-template-columns: repeat(auto-fit, minmax(220px, 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: var(--muted);

	font-size: 0.9rem;
}

/* =========================================================
   MOBILE
========================================================= */

@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;

justify-content: center;
	}

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

	.hero-main {
		min-height: 300px;
		max-height: 300px;
	}

	.hero-main img {
	height: 300px;
	width: 100%;

	}

	.hero-overlay {
		padding: 1.5rem;
	}

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

	.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.large img {
		height: 280px;
	}

	.article img {
		height: auto;
	}

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

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

	.action-buttons {
		width: 70%;
	}

	.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;
	}

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


.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 5px;
  grid-column-start: 1;
  grid-row-start: 1;
  grid-row-end: 3;
  align-content: start;
  max-width: 700px;
  margin: 0 auto;
  transition: all 150ms linear;
margin-bottom: 1rem;
}

.gallery input[type="radio"] {
  display: none;
}

.gallery label {
  position: relative;
  display: block;
  padding-bottom: 60%;
  margin: 0px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

.gallery label:before {
  border-style: solid;

	border-width: 1px;

	border-color: var(--accent);
  content: '';
  position: absolute;
}

.gallery img {
  display: none;
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 2;
  width: 100%;border-style: solid;

	border-width: 1px;

	border-color: var(--accent);
  transition: all 150ms linear;
}

.gallery input[name="select"]:checked + label + img {
  display: block;
}

.gallery input[name="select"]:checked + label:before {
  border-style: solid;

	border-width: 1px;

	border-color: var(--accent);
}


.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;
}

/* Popup */
.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: #f4efe8;
	padding: 3rem;
		border-style: solid;

	border-width: 1px;

	border-radius: var(--radius);

	border-color: var(--accent);
	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;
}


.rounded-icon, a::before {
  font-family: "FontAwesome";
  color: #fff;
 margin-right: 10px;
  display: inline-block;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  border-radius: 50%;
  background-color: var(--accent);
}

.menucircle {
  position: relative;
  right: -30px;
}
.menucircle #centerA {
  background: #d64933;

  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  z-index: 9999;
  position: absolute;
  top: 0px;
  left: 0px;
  transition: all 0.5s ease;
}
.menucircle .sub-btn {
  width: 10px;
  height: 10px;
  position: absolute;
  border-radius: 50%;
  transition: all 0.5s ease;
  z-index: 9999;
  animation: blink 1.8s infinite;
}
.menucircle .sub-btn i {
  opacity: 0;
}
.menucircle .sub-btn.btn-1 {
  top: -15px;
  left: 5px;
  background: #d64933;
  animation-delay: 0.3s;
}
.menucircle .sub-btn.btn-2 {
  top: 0px;
  left: 25px;
  animation-delay: 0.6s;
  background: #1877F2;
}
.menucircle .sub-btn.btn-3 {
  top: 23px;
  left: 18px;
  animation-delay: 0.9s;
  background: linear-gradient(
    to right,
    #833ab4,#fd1d1d,#fcb045
  );
}
.menucircle .sub-btn.btn-4 {
  top: 23px;
  left: -8px;
  animation-delay: 1.2s;
  background: #6f6f6f;
}
.menucircle .sub-btn.btn-5 {
  top: 0px;
  left: -15px;
  animation-delay: 1.5s;
  background: #67EEBD;
}
.menucircle .sub-btn a {
  font-size: 25px;
  margin-top: 10px;
  display: block;
  margin-left: 10px;
  color: #000;
}
.menucircle.opened #centerA {
  width: 50px;
  height: 50px;
}
.menucircle.opened .sub-btn {
  width: 50px;
  height: 50px;
}
.menucircle.opened .sub-btn i {
  opacity: 1;
  transition: all 0.5s 0.5s ease;
}
.menucircle.opened .sub-btn.btn-1 {
  top: 0;
  left: 150px;
}
.menucircle.opened .sub-btn.btn-2 {
  top: 60px;
  left: 140px;
}
.menucircle.opened .sub-btn.btn-3 {
  top: 110px;
  left: 110px;
}
.menucircle.opened .sub-btn.btn-4 {
  top: 140px;
  left: 60px;
}
.menucircle.opened .sub-btn.btn-5 {
  top: 150px;
  left: 0px;

}@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.1;
  }
  100% {
    opacity: 1;
  }
}