/*
Theme Name: Daryaye Andisheh 2026
Author: Mohsen Moridi
Description: Custom WordPress theme.
Version: 1.0
*/

/* CSS Custom Properties for Colors */
:root {
  /* Primary Colors */
  --color-primary: #4a9eff;
  --color-primary-dark: #003892;
  --color-primary-darker: #005f8d;
  
  /* Secondary Colors */
  --color-secondary: #d50000;
  --color-secondary-dark: #b71c1c;
  
  /* Neutral Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-transparent: transparent;
  
  /* Gray Scale */
  --color-gray-50: #f8f9fa;
  --color-gray-100: #f7fafb;
  --color-gray-200: #ecedf1;
  --color-gray-300: #e0e6eb;
  --color-gray-400: #d8dde5;
  --color-gray-500: #e7e7e7;
  --color-gray-600: #d9dee3;
  --color-gray-700: #b7b7b7;
  --color-gray-800: #8f8f8f;
  --color-gray-900: #666666;
  --color-gray-950: #555555;
  --color-gray-1000: #444444;
  --color-gray-1100: #333333;
  --color-gray-1200: #222222;
  
  /* Specific UI Colors */
  --color-text-primary: #384150;
  --color-text-secondary: #959595;
  --color-text-muted: #b5b5b5;
  --color-text-light: #dfdfdf;
  
  /* Border Colors */
  --color-border-light: #eee;
  --color-border-medium: #ddd;
  --color-border-dark: #e1e1e1;
  --color-border-primary: #d50000;
  
  /* Background Colors */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f9f9f9;
  --color-bg-tertiary: #e7eaed;
  --color-bg-dark: #2e303f;
  --color-bg-darker: #0e0f16;
  --color-bg-overlay: #808295;
  --color-bg-overlay-light: #808295cc;
  
  /* Link Colors */
  --color-link: #007bff;
  --color-link-hover: #0073aa;
  
  /* Shadow Colors */
  --color-shadow: #00000042;
  --color-shadow-light: #809cc92e;

  /* Header Colors */
  --color-header-navy: #0c1c38;
  --color-header-navy-light: #16294d;
  
  /* Fill Colors */
  --color-fill-primary: #ffffff;
  --color-fill-secondary: #d50000;
  --color-fill-tertiary: #003893;
  --color-fill-muted: #b7b7b7;
  --color-fill-overlay: #9497a7;
  
  /* Status Colors */
  --color-success: #28a745;
  --color-info: #17a2b8;
  --color-warning: #ffc107;
  --color-danger: #dc3545;
}

body {
  font-family: "Vazirmatn", serif;
  font-optical-sizing: auto;
  font-size: 14px;
  overflow-x: hidden;
  line-height: 1.8rem;
  background: var(--color-bg-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

header#header {
  background: var(--color-bg-primary);
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 99;
}

.container {
  max-width: calc(100% - 20px);
  width: 1400px;
  margin: auto;
}

a {
  text-decoration: none;
}

.header-date {
  font-size: 13px;
  text-align: left;
  display: flex;
  gap: 20px;
  color: inherit;
}

footer#site-footer {
  background: var(--color-primary-dark);
  color: var(--color-white);
  font-size: 12px;
  padding: 32px 0;
  margin-top: auto;
}

footer#site-footer a {
  /* color: var(--color-black); */
  /* display: flex; */
  gap: 10px;
  justify-content: flex-start;
  align-items: flex-start;
}

footer#site-footer .container {
  display: flex;
  gap: 12px;
  flex-direction: column;
  align-items: stretch;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  padding-bottom: 24px;
}

.footer-col {
  flex: 1;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-links-col h3,
.footer-contact-col h3 {
  font-size: 15px;
  color: var(--color-white);
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-links-col .footer-category-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col .footer-category-list a {
  color: rgba(255, 255, 255, 0.75);
  transition: 0.3s color;
}

.footer-links-col .footer-category-list a:hover {
  color: var(--color-white);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.75);
  transition: 0.3s color;
}

.footer-contact-list a:hover {
  color: var(--color-white);
}

p.copyright {
  font-size: 12px;
  color: var(--color-white);
  opacity: 0.7;
  text-align: center;
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  margin-top: 8px;
  width: 100%;
}

a.kj {
  font-size: 12px;
  opacity: 0.6;
  color: var(--color-white);
}

.social-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.social-icons img {
  display: block;
}

.social-icons a {
  display: flex;
  height: 40px;
  width: 40px;
  padding: 7px;
  box-sizing: border-box;
}

.social-icons a:hover {
  background: var(--color-white);
  border-radius: 50%;
}

ul.footer-links a svg {
  top: -5px;
  aspect-ratio: 1;
  max-width: 24px;
  min-width: 24px;
  position: relative;
}

a#footer_logo svg {
  width: 180px;
  fill: var(--color-white);
}

.footercenter ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 14px;
}

.footercenter {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

ul.footer-links {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

ul.footer-links li {
  display: flex;
}

footer#site-footer .footer-links a svg {
  fill: var(--color-secondary);
}

footer#site-footer .social-icons a svg {
  fill: var(--color-white);
  transition: 0.3s fill;
}

footer#site-footer .social-icons a:hover svg {
  fill: var(--color-primary-dark);
}

div#page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 175px;
}

.admin-bar div#page {
  min-height: calc(100vh - 32px);
}

#roznameh-slider {
  max-width: 100px;
  overflow: hidden;
  position: relative;
}

.columns {
  margin: 24px 0;
  align-items: stretch;
  width: calc(100% + 24px);
  margin-right: -12px;
  margin-left: -12px;
}

ul.note-list {
  /* padding: 16px; */
  display: flex;
  flex-direction: column;
  gap: 18px;
  /* border-top: 1px solid #809cc92e; */
}

ul.note-list {
}

ul.note-list li {
  display: flex;
  gap: 11px;
  align-items: center;
  background: var(--color-bg-primary);
  padding-left: 8px;
  border-radius: 6px;
  overflow: hidden;
}

a {
  color: var(--color-black);
}



ul.note-list .post-thumbnail {
  color: var(--color-transparent);
  width: 170px;
}

.column {
  width: 100%;
  padding: 0 12px;
}

div#main-slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  /* padding: 16px; */
  /* background: var(--color-gray-50); */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, .04); */
  border-radius: 8px;
}
div#main-slider img {
  /* border-radius: 8px; */
  aspect-ratio: 1.8;
  width: 100%;
  object-fit: cover;
  border: 1px solid #eee;
}

#main-slider a {
  display: flex;
  position: relative;
  /* gap: 16px; */
  flex-direction: column;
  background: #f1f5f9;
}


.column.column-50 {
  width: 50%;
}

.column.column-25 {
  width: 25%;
}

:root {
  --swiper-navigation-size: 44px;
}

:root {
  --swiper-theme-color: var(--color-white);
}

.swiper-button-next,
.swiper-button-prev {
  padding: 10px;
  aspect-ratio: 1;
  background: var(--color-white);
  border-radius: 30px;
  width: 30px;
  height: 30px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 11px;
  color: var(--color-black);
  font-weight: 900;
}

ul.primary-menu {
  display: flex;
  gap: 9px;
}

ul.primary-menu a {
  display: block;
  padding: 9px 10px 6px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  border-radius: 7px;
  font-size: 14px;
  color: var(--color-text-primary);
  border-bottom: 2px solid transparent;
}

ul.primary-menu a:hover {
  background: var(--color-gray-100);
}

#header-nav ul.primary-menu li.current-menu-item > a,
#header-nav ul.primary-menu li.current_page_item > a {
  color: var(--color-secondary);
  border-bottom-color: var(--color-secondary);
  font-weight: 700;
}

.nothumbnail {
  aspect-ratio: 1;
  display: block;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gray-400);
  padding: 7px;
  box-sizing: border-box;
  border-radius: 6px;
}

.nothumbnail svg {
  fill: var(--color-white);
}

div#pdf-slider {
  text-align: center;
  overflow: hidden;
  position: relative;
  height: 100%;
}

div#pdf-slider img {
  height: auto;
  max-height: 711px;
  width: auto;
  display: block;
  margin: auto;
  /* box-shadow: 0 0 10px var(--color-shadow); */
  /* margin: 10px auto; */
  border: 1px solid #eee;
}

div#pdf-slider h2 {
  /* top: 0; */
  font-size: 11px;
  background: #ffffff;
  color: #003892;
  font-weight: 900;
  padding: 0px 9px;
  border-radius: 6px 6px 0 0;
  /* margin-bottom: 10px; */
  box-shadow: 0px -3px 10px #00000040;
  position: absolute;
  bottom: 2px;
}

div#note-slider {
  overflow: hidden;
  /* height: 353px; */
  position: relative;
}

.note-slide {
  display: flex;
}

div#note-slider img {
  width: 60px;
  object-fit: cover;
}

.section-border-in {
  /* border: 1px solid var(--color-gray-300); */
  padding: 0;
  height: calc(100% - 25px);
  display: flex;
  align-items: center;
  justify-content: center;
  /* border-radius: 16px; */
  /* background: var(--color-bg-primary); */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, .04); */
  /* border-radius: 8px; */
}

.section-border > h2 {
  background: var(--color-secondary);
  display: inline-block;
  color: var(--color-white);
  padding: 4px 10px 0;
  font-size: 14px;
  height: 25px;
  border-radius: 6px 6px 0 0;
}

.note-slide {
  display: flex;
  gap: 30px;
	
    margin-bottom: 12px;
}

.note-slide img {
  aspect-ratio: 1;
  border-radius: 90px;
  width: 100%;
  border: 3px solid var(--color-secondary);
}


.note-slide a {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.note-slide h2 {
  font-size: 13px;
  width: 100%;
  display: block;
  line-height: 1.5em;
}

.note-slide .nothumbnail {
  border-radius: 100px;
}

.section-border {
  position: relative;
  height: 100%;
  /* display: flex; */
  /* flex-direction: column; */
  /* background: #fff; */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, .04); */
  /* border-radius: 8px; */
}

.swiper-button-prev.slide-down {
  position: absolute;
  left: 12px;
  top: 32px;
  border: 3px solid var(--color-secondary);
  transform: rotate(90deg);
}

.swiper-button-next.slide-up {
  position: absolute;
  left: 47px;
  top: 32px;
  border: 3px solid var(--color-secondary);
  transform: rotate(90deg);
  right: unset !important;
}

.news-border-in {
  display: flex;
  flex-direction: column;
  border: 3px solid var(--color-border-light);
  padding: 22px;
  margin-top: -19px;
  border-top: unset;
  border-radius: 0 0 16px 16px;
}

.news-border > h2 {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 7px 12px 7px;
  display: flex;
  border-radius: 8px 8px 0 0;
  font-size: 13px;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  z-index: 2;
  position: relative;
}

.new-widget {
  display: grid;
  gap: 7px;
  grid-template-columns: 1fr 1fr;
}

.new-widget a {
  display: flex;
  gap: 8px;
  align-items: center;
  /* border-bottom: 1px solid #eee; */
  /* padding: 11px 0; */
}

.news-meta {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.post-thumbnail {
  width: 128px;
  aspect-ratio: 1;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.news-meta p {
  color: var(--color-gray-800);
  font-size: 16px;
}

span.date {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  margin-right: auto;
  color: var(--color-gray-700);
}

span.date svg {
  width: 19px;
  fill: var(--color-gray-700);
}

.columns {
  display: grid;
}

.column-100 {
  grid-template-columns: 1fr;
}

.column-50-25-25 {
  grid-template-columns: 50% 25% 25%;
}
.column-33 {
  display: flex;
  gap: 24px;
  width: 100%;
  margin: 24px 0;
}

.column-66-33 {
  grid-template-columns: 56% 43%;
}

.column-50-50 {
  grid-template-columns: 50% 50%;
}

.column-25-50-25 {
  grid-template-columns: 25% 50% 25% ;
}

.column-50 {
  grid-template-columns: 50%;
}

.column-25 {
  grid-template-columns: 25% 25% 25% 25%;
}

ul.note-list li a {
  width: 100%;
  font-size: 16px;
}

ul.note-list li .nothumbnail {
  width: 159px;
}

.webgardi {
  display: flex;
  flex-wrap: wrap;
  font-size: 16px;
  gap: 6px;
}

.webgardi a {
  display: flex;
  gap: 5px;
  border: 1px solid var(--color-border-light);
  padding: 2px 2px 2px 9px;
  border-radius: 20px;
  transition: 0.3s;
}

.webgardi a:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

.webgardi a:hover svg {
  fill: var(--color-white);
}

.webgardi a img {
  border-radius: 31px;
  margin: 0 !important;
}




.columns > .columns {
  /* margin: 0; */
  padding: 0 12px;
  margin-top: 0;
  margin-bottom: 0;
}

.back-gray {
  position: relative;
  padding: 48px 58px 48px 12px !important;
}

.back-gray:before {
  content: '';
  display: block;
  position: absolute;
  background: var(--color-gray-200);
  right: 24px;
  height: 100%;
  left: 0;
  border-radius: 0 30px 30px 0;
}

.back-gray .section-border-in {
  background: var(--color-bg-primary);
  border-color: var(--color-fill-overlay);
}

.back-gray .section-border > h2 {
  background: var(--color-fill-overlay);
}

ul.note-list li:first-child {
}

ul.note-list li:last-child {
  border-radius: 6px 6px 13px 13px;
}

ul.note-list .post-thumbnail img {
  border-radius: unset;
}
.post-thumbnail.full-thumb {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  padding: 22px;
}

.post-thumbnail.full-thumb img {
  width: auto;
  display: block;
  margin: auto;
  aspect-ratio: 0.8;
  object-fit: contain;
}

.columns.column-60 {
  grid-template-columns: 60% 20% 20%;
}

div#photo-news-widget {
  overflow: hidden;
  padding: 52px;
  background: var(--color-bg-overlay);
  position: relative;
  border-radius: 9px 0 9px 9px;
}

.news-border.photo-news-widget {}

.news-border.photo-news-widget > h2 {
    background: var(--color-bg-dark);
    font-size: 14px;
}

.news-border.photo-news-widget .news-border-in {
    border: unset;
}

div#photo-news-widget a {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    margin: 11px;
}

#photo-news-widget .nothumbnail {
    width: 100%;
}

#photo-news-widget .post-thumbnail {
    width: 100%;
    aspect-ratio: 1;
}

#photo-news-widget a h2 {
    font-size: 12px;
    background: var(--color-bg-darker);
    color: var(--color-white);
    padding: 9px;
}

div#photo-news-widget a span.date {
    position: absolute;
    top: -20px;
    left: 14px;
    font-size: 10px;
    color: var(--color-white);
    transition: 0.3s;
    background: var(--color-black);
    padding: 4px 4px 2px;
    border-radius: 10px;
}

div#photo-news-widget a span.date svg {
    display: none;
}

div#photo-news-widget a:hover span.date {
    top: 14px;
}

div#photo-news-widget:before {
    content: '';
    width: 120px;
    height: 100%;
    position: absolute;
    background: linear-gradient(90deg, var(--color-bg-overlay) 0%, var(--color-bg-overlay-light) 31%, transparent);
    left: 0;
    top: 0;
    z-index: 2;
    pointer-events: none;
}

div#photo-news-widget:after {
    content: '';
    width: 120px;
    height: 100%;
    position: absolute;
    background: linear-gradient(-90deg, var(--color-bg-overlay) 0%, var(--color-bg-overlay-light) 31%, transparent);
    right: 0;
    top: 0;
    z-index: 2;
    pointer-events: none;
}

.burger_menu_toggle {
  display: none;
  padding: 8px;
  order: -1;
  margin-left: auto;
}


.side-container {
  display: flex;
  gap: 40px;
}

.content-area {
  width: 70%;
  background: var(--color-bg-primary);
  padding: 10px 22px;
  border-radius: 11px;
  border: 1px solid var(--color-border-light);
}

.news-article h1 {
  font-size: 28px;
  margin-bottom: 26px;
  color: var(--color-primary-dark);
}

.post-meta {
  font-size: 14px;
  color: var(--color-gray-900);
  /* margin-bottom: 15px; */
  /* padding: 4px 0px 2px; */
  /* background: var(--color-gray-100); */
  /* margin: 7px 0; */
  display: flex;
  justify-content: flex-start;
  gap: 17px;
  align-items: center;
  /* border-bottom: 1px solid #eee; */
  /* padding-bottom: 4px; */
  flex-direction: row-reverse;
  margin-bottom: 24px;
}

.post-meta span {
  /* margin-right: auto; */
}

.post-thumbnail img {
}

.post-content {
  font-size: 16px;
  line-height: 1.8;
}

.related-news {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-medium);
}

.related-news h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.related-news ul {
  list-style: none;
  padding: 0;
}

.related-news li {
  margin-bottom: 8px;
}

.related-news a {
  color: var(--color-link);
  text-decoration: none;
}

.related-news a:hover {
  text-decoration: underline;
}

.comments-section {
  /* margin-top: 40px; */
  /* padding-top: 20px; */
  /* border-top: 1px solid #ddd; */
}

.sidebar {
  width: 30%;
  padding: 0;
}


main.news-single {
  margin: 32px 0;
}

#related-news-widget {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 24px 0;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content p br {
  margin-bottom: 20px;
  display: block;
  width: 100%;
  height: 30px;
}

div#related-news-widget a {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  border: 2px solid var(--color-border-light);
  padding: 16px;
  height: 100%;
  transition: 0.3s all ease-in-out;
  border-radius: 8px;
}

div#related-news-widget a h2 {
  font-size: 14px;
  width: 100%;
}

div#related-news-widget .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

div#related-news-widget a h2 span {
  font-weight: 300;
  margin-top: 9px;
}

#related-news-widget > h2 {
  margin-bottom: 10px;
  color: var(--color-secondary);
}

#related-news-widget  .swiper-button-next.photo-next {
  top: 24px;
}

#related-news-widget .swiper-button-prev.photo-prev {
  top: 24px;
  left: 40px !important;
  right: unset !important;
}

.nothumbnail {
  width: 100px;
}

.post-thumbnail {
  width: 105px;
  aspect-ratio: 1;
}

.post-thumbnail img {
}

div#related-news-widget a:hover {
  border: 2px solid var(--color-secondary);
}


.comments-section {
  /* max-width: 800px; */
  margin: 0 auto;
  padding: 40px;
  background: var(--color-bg-secondary);
  border-radius: 8px;
}

#comments {
  font-size: 1.5rem;
  color: var(--color-gray-1100);
  margin-bottom: 15px;
}

.commentlist {
  list-style: none;
  padding: 0;
}

.comment {
  padding: 15px;
  margin-bottom: 15px;
  background: var(--color-bg-primary);
  border-radius: 5px;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

.comment-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

.comment-author img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.comment-meta {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 10px;
  position: absolute;
  left: 0;
  top: 0;
}

.comment-body p {
  font-size: 1rem;
  color: var(--color-gray-1000);
  line-height: 1.6;
}

.reply a {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--color-link-hover);
  text-decoration: none;
}

.reply a:hover {
  text-decoration: underline;
}

.comment-reply-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.comment-form input, .comment-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid var(--color-border-medium);
  border-radius: 5px;
  font-size: 1rem;
}

.comment-form textarea {
  height: 100px;
  resize: vertical;
}

.comment-form input[type="submit"] {
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 3px;
  font-size: 1rem;
}

.comment-form input[type="submit"]:hover {
  background: var(--color-primary-darker);
}


.comment-body {
  position: relative;
}

span.says {
  display: none;
}

cite.fn {
  font-style: normal;
}

.reply a {
  display: inline-block;
  border: 1px solid var(--color-border-light);
  padding: 7px 10px;
  color: var(--color-text-secondary);
}

.comment-meta a {
  color: var(--color-text-muted);
  font-size: 10px;
}

aside .news-border > h2 {
  font-size: 12px;
  padding: 10px 22px 7px;
  border-radius: 6px 6px 0 0;
}

aside .news-border-in {
  border: 2px solid var(--color-secondary);
  padding: 16px;
  border-radius: 6px 0 6px 6px;
}

aside .new-widget {
  padding: 0;
}

aside  .news-meta h2 {
  font-size: 16px;
  text-wrap: auto;
}

aside  .news-meta p {
  font-size: 12px;
  display: none;
}

aside  span.date {
  margin: unset;
  order: 1;
  font-size: 11px;
}

aside  span.date svg {
  width: 15px;
}

aside  a.more-news {
  width: 100%;
  text-align: center;
  border: 1px solid var(--color-border-light);
  margin-top: 14px;
  font-weight: 300;
}

.post-categories a:hover {
    color: var(--color-secondary);
}

aside  .new-widget a {
  border: unset;
}

aside {
  position: sticky;
  top: 47px;
}



.canvas-menu .burger_menu_toggle {
  display: none;
}
.archive-page .container {
}

.content-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.main-content {
  width: 70%;
}

.sidebar {
  /* width: 28%; */
  /* padding: 20px; */
  /* background-color: #f9f9f9; */
  /* border-radius: 8px; */
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
}

.archive-header {
  /* text-align: center; */
  margin-bottom: 20px;
}

.archive-title {
  font-size: 24px;
  margin-bottom: 14px;
  direction: rtl;
  color: #003892;
}

.archive-description {
  font-size: 1.1rem;
  color: var(--color-gray-950);
  direction: rtl;
}

.post-list {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.post-card {
  background-color: var(--color-bg-primary);
  border-radius: 22px;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
  overflow: hidden;
  display: flex;
  border: 1px solid var(--color-border-light);
  padding: 20px;
  gap: 29px;
}

.post-thumbnail img {
}

.post-content {
  /* padding: 20px; */
  direction: rtl;
  width: 100%;
}

.post-title {
  /* font-size: 1.8rem; */
  margin-bottom: 10px;
}

.post-meta {
  font-size: 0.9rem;
  color: var(--color-gray-900);
}

.reading-time {
  margin-right: 10px;
}

.post-excerpt {
  font-size: 14px;
  color: var(--color-gray-1000);
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  padding: 6px 20px;
  color: var(--color-secondary);
  border: 1px solid var(--color-border-dark);
  text-decoration: none;
  border-radius: 2px;
  transition: 0.4s;
  font-size: 12px;
}

.read-more:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
  border: 1px solid var(--color-secondary);
}

.pagination {
  text-align: center;
  margin-top: 30px;
}

.pagination .page-numbers {
  padding: 10px 20px;
  text-decoration: none;
  margin: 0px 2px;
  border: 2px solid var(--color-border-light);
  transition: 0.3s;
  padding: 5px 14px 3px;
}

.pagination a.page-numbers:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
}

.post-card a.post-thumbnail-card {
  width: 33%;
}

.post-card .post-thumbnail {
  width: 100%;
}

.post-thumbnail .nothumbnail {
  width: 100%;
}

.post-card .nothumbnail {
  width: 100%;
}

main.archive-page {
  margin: 41px 0;
}
.canvas-menu {
  width: 100%;
  display: flex;
  align-items: center;
}
form#search-form {
  position: relative;
  flex-shrink: 0;
}

form#search-form input[type="search"] {padding: 5px 16px;border: 1px solid var(--color-border-light);background: var(--color-gray-100);color: #000000;padding-left: 49px;border-radius: 32px;}

form#search-form input[type="search"]::placeholder {
  color: var(--color-gray-700); /* Change color */
}


form#search-form button {
  background: unset;
  border: unset;
  height: 39px;
  width: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  padding-bottom: 2px;
}

form#search-form button circle,form#search-form button line {
  stroke: var(--color-gray-700);
}













/* General Page Styling */
.page-single {
  line-height: 1.6;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}


/* About Us Section */
#about-us {
  background-color: var(--color-bg-secondary);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Office Address Section */
#office-address {
  background-color: var(--color-bg-secondary);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Contact Info Section */
#contact-info {
  background-color: var(--color-bg-secondary);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Copyright Section */
#copyright {
  background-color: var(--color-gray-200);
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Contact Form Styling */
#mana-contact-form-div {
  background-color: var(--color-bg-secondary);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#mana-contact-form {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#mana-contact-form-div .form-left {
  flex: 1;
  padding-right: 20px;
}

#mana-contact-form-div .form-right {
  flex: 2;
}

#mana-contact-form-div input,#mana-contact-form-div  textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid var(--color-gray-700);
  border-radius: 4px;
  font-size: 1rem;
}

#mana-contact-form-div input[type="email"], input[type="text"] {
  font-size: 1rem;
}

#mana-contact-form-div textarea {
  min-height: 150px;
  font-size: 1rem;
}

#mana-contact-form-div #form-messages {
  margin-top: 10px;
  color: var(--color-success); /* Green color for success messages */
}

#mana-contact-form-div button[type="submit"] {
  background-color: var(--color-link);
  color: var(--color-white);
  padding: 12px 25px;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#mana-contact-form-div button[type="submit"]:hover {
  background-color: var(--color-link-hover);
}

.footer-image {
  background: red;
  mask-size: contain;
  mask-position: center;
  width: 24px;
  height: 24px;
  position: relative;
  top: -6px;
}





header#header {
    top: 0;
}

.admin-bar header#header {
    top: 32px;
}

body.scrolled #header-top {
    display: none;
}

a.slide-content {
  display: flex;
}

.slide-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0;
  justify-content: flex-start;
  padding: 9px 18px;
}

.slide-image {
  flex: 1.5;
  /* border: 2px solid #eee; */
  position: relative;
}

.main-slider-button-next.swiper-button-next {
  bottom: 14px;
  top: unset;
  left: 18px;
}

.main-slider-button-prev.swiper-button-prev {
  left: 56px;
  right: unset;
  top: unset;
  bottom: 14px;
}

div#main-slider .swiper-pagination {
  position: absolute;
  /* right: 52px; */
  /* width: 33%; */
  bottom: -10px;
}

/* ============ Header row 1: dark navy bar (bookmark/weather/date | logo | social/location) ============ */

div#header-top {
  background: var(--color-header-navy);
  position: relative;
}

.header-top-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

.header-top-left {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.weather-widget {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}

#header-top .header-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

#header-top .parsidate strong {
  font-size: 15px;
  top: 0;
}

a#logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
  transition: 0.3s all;
}

.site-logo-text {
  font-size: 34px;
  font-weight: 900;
  color: var(--color-white);
}

.site-tagline {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.header-top-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

#header-top .social-icons a svg {
  fill: rgba(255, 255, 255, 0.85);
  transition: 0.3s fill;
}

#header-top .social-icons a:hover svg {
  fill: var(--color-header-navy);
}

.location-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ============ Header row 2: white utility bar (search / PDF / ticker / breaking news) ============ */

div#header-utility {
  background: var(--color-bg-primary);
  border-bottom: 1px solid var(--color-border-light);
}

.header-utility-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.pdf-download-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-medium);
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
  transition: 0.3s all;
}

.pdf-download-btn:hover {
  border-color: var(--color-primary-dark);
  color: var(--color-primary-dark);
}

.header-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  font-size: 13px;
  overflow: hidden;
}

.header-ticker .ticker-time {
  flex-shrink: 0;
  color: var(--color-secondary);
  font-weight: 700;
}

.header-ticker .ticker-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--color-text-primary);
}

.breaking-news-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
  transition: 0.3s background;
}

.breaking-news-btn:hover {
  background: var(--color-secondary-dark);
}

/* ============ Header row 3: white nav bar ============ */

div#header-nav {
  background: var(--color-bg-primary);
}

div#header-nav .container {
  padding: 4px 0;
}

.under_slider {
  display: flex;
  gap: 24px;
  margin: 24px 0 20px;
}

.featured-post {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
}

.latest-post {
  flex: 1;
}

.under_slider a {
  aspect-ratio: 1.5;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  position: relative;
}

.under_slider img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.under_slider a h2 {
  position: absolute;
  bottom: 0;
  background: #003892cf;
  margin: 0;
  border-radius: 7px;
  padding-top: 32px;
  color: var(--color-white);
  padding: 24px;
  width: 100%;
  font-size: 15px;
  min-height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: 0.3s;
  justify-content: center;
  text-align: center;
}

.news-border-in img {
  border-radius: 110px;
  border: 2px dotted var(--color-primary);
  width: 66px;
  aspect-ratio: 1;
  object-fit: cover;
}

span.copy-link {
  border: 1px solid;
  border-radius: 4px;
  padding: 0 5px;
}

span.post-short-link {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
  
  margin-right: auto;
}

.news-border-in .nothumbnail {
  border-radius: 110px;
  padding: 2px;
  border: 2px dotted var(--color-primary);
}


.news-border {
  /* background: var(--color-bg-primary); */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, .04); */
  border-radius: 8px;
  height: 100%;
  padding: 0;
  /* margin-bottom: 32px; */
}


.new-widget h3 {
  font-size: 13px;
  line-height: 1.5;
}

.parsidate {
  display: flex;
  align-items: center;
  gap: 3px;
}

.parsidate strong {
  font-size: 31px;
  font-weight: 900;
  position: relative;
  top: 2px;
}

.parsidate div {
  display: flex;
  flex-direction: column;
  line-height: 1em;
  gap: 4px;
  font-size: 10px;
}

div#pdf-slider a {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
}

.podcast-card {
  display: flex;
  flex-direction: column;
}

ul.note-list li.first-post {
  display: flex;
  flex-direction: column;
  padding: 0;
}

ul.note-list li.first-post img {
  width: 100% !important;
}

ul.note-list li.first-post .post-thumbnail.thumb {
  width: 100%;
  /* aspect-ratio: 2; */
}

.mnini-post-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

li.first-post .mnini-post-info {
  position: absolute;
  bottom: 0;
}

li.first-post {
  position: relative;
}

li.first-post .post-thumbnail {
  width: 100%;
  aspect-ratio: 1.5;
}

li.first-post {}

a.card-posts-linkl {
  display: flex;
  gap: 16px;
}

.mnini-post-info h2 {
  font-size: 16px;
  /* color: #fff; */
  /* text-shadow: 0px 3px 3px black, 0px -3px 3px black, -3px 0px 3px black, 3px 0px 3px black; */
  line-height: 1.7em;
}

.mnini-post-info span.post-date {
  font-size: 12px;
  color: var(--color-gray-900);
}

li.first-post .mnini-post-info {
  color: var(--color-white);
  background: linear-gradient(0deg, #00000080, #00000000);
  min-height: 40%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px !important;
  text-align: center;
  /* opacity: 0; */
  transition: 0.3s all;
}

li.first-post .mnini-post-info span.post-date {
  margin-bottom: 10px;
}

.columns.column-33 .news-border > h2 {
  background: unset;
  color: #003892;
  font-size: 18px;
  margin: 30px 0 16px;
  padding: 0;
}


.wp-block-latest-posts__lis li {
    display: flex;
    flex-direction: row;
}

.wp-block-latest-posts__featured-image img {
    min-width: 50px;
    max-width: 58px;
    border-radius: 6px;
}

.wp-block-latest-posts__list li {
    display: flex;
    gap: 12px;
    line-height: 1.5em;
    align-items: center;
}

.wp-block-latest-posts.wp-block-latest-posts__list li > a {
    width: 100%;
}

.wp-block-latest-posts.wp-block-latest-posts__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    background: #f1f5f9;
    border-radius: 6px;
    margin: 16px 0 32px;
}

ul.wp-block-categories-list {
    display: flex;
    flex-direction: column;
    gap: 4PX;
    padding: 12px;
    background: #f1f5f9;
    border-radius: 6px;
    margin: 16px 0 32px;
}

ul.wp-block-categories-list li {
    font-size: 11px;
    color: #7b7b7b;
}

ul.wp-block-categories-list li a {
    font-size: 16px;
}


a.download-btn {
    background: #003892;
    color: #fff;
    padding: 8px;
    margin: 12px auto;
    display: inline-block;
    text-align: center;
    border-radius: 4px;
    display: inline-flex;
    gap: 10px;
}

h1.entry-title {
    margin-bottom: 20px;
}

div#primary.single-rozname-post {
    width: 100% !important;
}

.pdfemb-viewer {
    width: 100% !important;
}




/* Roznameh archive layout */
.roznameh-archive .roznameh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(239px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* Each item */
.roznameh-item {
    border: 2px solid #ffffff;
    border-radius: 12px;
    overflow: hidden;
    /* padding: 16px; */
    background: #fff;
    text-align: center;
    transition: box-shadow 0.2s ease;
}
.roznameh-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Thumbnail */
.roznameh-thumb {
    margin-bottom: -1px;
}
.roznameh-thumb img {
    max-width: 100%;
    border-radius: 8px;
    height: auto;
    display: block;
    margin: auto;
}

/* Title */
.roznameh-title {
    font-size: 18px;
    font-weight: 600;
    margin: 6px 0;
}
.roznameh-title a {
    color: #222;
    text-decoration: none;
    font-size: 14px;
}
.roznameh-title a:hover {
    color: #0073aa;
}

/* Buttons */
.roznameh-actions {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.roznameh-actions a {
    display: inline-block;
    padding: 7px 14px 4px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    margin: 0;
    line-height: 1;
}

/* Download button */
.roznameh-actions .download-btn {
    background: #0073aa;
    color: #fff;
}
.roznameh-actions .download-btn:hover {
    background: #005f87;
}

/* View button */
.roznameh-actions .view-btn {
    background: #f4f4f4;
    color: #222;
    border: 1px solid #ddd;
}
.roznameh-actions .view-btn:hover {
    background: #e0e0e0;
}

/* Pagination */
.roznameh-pagination {
    margin-top: 32px;
    text-align: center;
}


div#primary.roznameh-archive {
    width: 100%;
}
.customNewsSection {
  margin: 2rem auto;
  direction: rtl; /* because your site is Persian */
  max-width: 1400px;
}

.customNewsTitle {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-right: 4px solid #e60023; /* red line */
  padding-right: 0.5rem;
}

.customNewsBox {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

/* Main big post */
.customNewsMain {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

.customNewsMain img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  aspect-ratio: 1.7;
  object-fit: cover;
}

.customNewsMainContent {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  color: #fff;
  padding: 1rem;
  min-height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px 20px !important;
  text-align: center;
  flex-direction: column;
  color: #fff;
  text-shadow: 0px 3px 3px black, 0px -3px 3px black, -3px 0px 3px black, 3px 0px 3px black;
}

.customNewsMainContent strong {
  display: block;
  /* font-size: 1.1rem; */
  margin-bottom: 0.4rem;
}

.customNewsMainContent p {
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
  text-align: right;
}

/* Side smaller posts */
.customNewsList {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.customNewsItem {
  display: flex;
  text-decoration: none;
  color: inherit;
  gap: 1.2rem;
  align-items: center;
}

.customNewsItem img {
  width: 162px;
  height: auto;
  border-radius: 4px;
  flex-shrink: 0;
  aspect-ratio: 1.3;
  border-radius: 10px;
  overflow: hidden;
  object-fit: cover;
}

.customNewsItem strong {
  display: block;
  font-size: 18px;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.customNewsItem p {
  font-size: 14px;
  color: #999999;
  margin: 0;
  line-height: 1.5;
}

/* Desktop layout */
@media (min-width: 1024px) {
  .customNewsBox {
    flex-direction: row; /* main on right, list on left */
  }

  .customNewsMain {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
  }

  .customNewsList {
    flex: 1;
  }
}

/* Mobile layout */
@media (max-width: 1023px) {
  .customNewsBox {
    flex-direction: column;
    margin: 0 8px;
    gap: 10px;
  }

  .customNewsMainContent {
    position: static;
    color: #000;
    background: #f1f5f9;
    text-shadow: unset;
    text-align: right;
    padding: 10px 12px 2px !important;
  }
}
.single-post-thumbnail img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 24px;
}
.customNewsSection.video {}

.customNewsSection.video .customNewsBox {
    flex-direction: row-reverse;
}

.customNewsSection.video a.customNewsMain {
    flex: 2;
}

.customNewsSection.video .customNewsItem p {
    display: none;
}
.section-container.media-1 {
    position: relative;
}

.section-container.media-1:before {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    background: #8ba4f71c;
    position: absolute;
    border-radius: 230px 0;
    max-width: calc(100% - 20px);
    right: 10px;
    z-index: -1;
}

.under_slider a:hover h2 {
  opacity: 1;
}

.slide-text h2 {
  color: var(--color-primary-dark);
}

.author img {
  width: 28px;
  border: unset;
}

span.author-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #9f9f9f;
}

p.top_title {
  margin-bottom: 11px;
}

header.archive-header {
  border: 2px solid #f1f5f9;
  border-radius: 10px;
  padding: 17px 10px;
}

.news-border > h2 svg {
  margin-left: 7px;
}

.notes-title {
  width: 100%;
}
li.first-post:hover .mnini-post-info {
  opacity: 1;
}

.post-meta span.author img {
  border-radius: 51px;
  margin: 0 0 0 7px;
  width: 94px;
  order: -1;
  border: 3px solid #003892;
  aspect-ratio: 1;
  object-fit: cover;
}


.post-meta span.author {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  /* font-size: 16px; */
}

.post-excerpt {
  background: #f1f5f9;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 18px;
}

p.logged-in-as {
  display: none;
}

span.required {
  display: none;
}

.slide-image h2 {
  position: absolute;
  bottom: 0;
  padding: 12px 18px;
  right: -3px;
  color: #fff;
  text-shadow: 0px 3px 3px black, 0px -3px 3px black, -3px 0px 3px black, 3px 0px 3px black;
}

ul.note-list li.first-post h2 {
  color: #fff;
  text-shadow: 0px 3px 3px black, 0px -3px 3px black, -3px 0px 3px black, 3px 0px 3px black;
}

/* Latest News Section - Grid Layout */
.latest-news-section {
  width: 100%;
  padding: 20px 0;
}



.latest-news-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  max-width: 100%;
  margin: 0 auto;
}

.latest-news-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
}

.latest-news-item a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  height: 100%;
}

.latest-news-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1;
}

.latest-news-item h3 {
  margin: 10px 9px 5px 2px;
  font-size: 12px;
  line-height: 1.6;
}

.latest-news-item .meta {
  font-size: 11px;
  color: #666;
  margin-top: auto;
  padding: 1px 10px 10px;
  line-height: 1;
}

.content-latest-news {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}


.post-content a.fancybox.image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    /* aspect-ratio: 1; */
    /* object-fit: cover; */
}

.post-content a.fancybox.image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}


a.download-video-button {
    background: #003892;
    color: #fff;
    margin: 10px 0;
    display: inline-block;
    padding: 0 10px;
    border-radius: 6px;
}

a.download-video-button:before {
    display: inline-block;
    content: '';
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    width: 10px;
    height: 10px;
    transform: rotate(-45deg);
    margin-left: 9px;
}

/* ============ Header: social icons sizing (row 1) ============ */

.header-top-right .social-icons {
  gap: 2px;
}

.header-top-right .social-icons a {
  width: 26px;
  height: 26px;
  padding: 4px;
}

/* ============ Hormozgan stats strip ============ */

.hormozgan-stats {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-darker));
  border-radius: 16px;
  margin: 24px 0;
  padding: 24px 32px;
}

.hormozgan-stats .container {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.hormozgan-stats-title {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.hormozgan-stats-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.hormozgan-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
}

.hormozgan-stat-item .stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.stat-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.stat-text strong {
  font-size: 20px;
  font-weight: 900;
}

.stat-text span {
  font-size: 12px;
  opacity: 0.8;
}

/* ============ City pulse ============ */

.city-pulse-wrap {
  margin: 32px 0;
}

.city-pulse-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.city-pulse-item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-gray-400);
}

.city-pulse-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s transform;
}

.city-pulse-item:hover img {
  transform: scale(1.06);
}

.city-pulse-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px;
  background: linear-gradient(0deg, #000000cc, transparent);
  color: var(--color-white);
}

.city-pulse-info strong {
  display: block;
  font-size: 14px;
}

.city-pulse-info span {
  font-size: 10px;
  opacity: 0.85;
}

/* ============ Special report banner + ad slot ============ */

.special-report-banner {
  position: relative;
  display: block;
  height: 100%;
  min-height: 220px;
  border-radius: 12px;
  overflow: hidden;
}

.special-report-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.special-report-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(0deg, #000000d9, transparent);
  color: var(--color-white);
}

.special-report-tag {
  display: inline-block;
  background: var(--color-secondary);
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 11px;
  margin-bottom: 10px;
}

.special-report-content h2 {
  font-size: 20px;
  margin: 0;
  line-height: 1.5;
}

.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-gray-200);
}

.ad-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-slot-placeholder {
  color: var(--color-gray-800);
  font-size: 14px;
  border: 2px dashed var(--color-border-medium);
  width: 100%;
  height: 100%;
  min-height: 220px;
}

.ad-slot-wide {
  width: 100%;
  min-height: 120px;
  margin: 8px 0 32px;
}

/* ============ Category icon grid ============ */

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.category-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border-light);
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-bg-primary);
  transition: 0.3s box-shadow, 0.3s border-color;
}

.category-card:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-card img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
}

.category-card-body {
  padding: 10px 12px 14px;
}

.category-card-tag {
  color: var(--color-secondary);
  font-size: 11px;
  font-weight: 700;
}

.category-card-body h3 {
  font-size: 13px;
  line-height: 1.6;
  margin: 6px 0;
}

.category-card-body p {
  font-size: 11px;
  color: var(--color-gray-800);
  line-height: 1.5;
}

/* ============ Bottom widget row: notes / most-viewed / latest / events ============ */

.numbered-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.numbered-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.7;
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 10px;
}

.numbered-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.numbered-list .num {
  color: var(--color-secondary);
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}

.mini-calendar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--color-bg-tertiary);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
}

.mini-calendar strong {
  font-size: 30px;
  font-weight: 900;
  color: var(--color-primary-dark);
  line-height: 1;
}

.mini-calendar span {
  font-size: 11px;
  color: var(--color-gray-900);
  margin-top: 4px;
}

.events-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.events-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.event-date {
  flex-shrink: 0;
  background: var(--color-gray-200);
  color: var(--color-gray-900);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
}