/* Web Arşivi'nden kalan eklentiler çalışmasa da ana sayfa içeriğini görünür tutar. */
.archive-card-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.g5plus-icon-box.icon-square .icon.archive-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffb126, #f28c00);
  box-shadow: 0 10px 22px rgba(242, 140, 0, .24);
}

.header-modern-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.header-modern-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #f39a08;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Arşivde Slick başlatılamadığında içeriği görünmez yapan asıl kural. */
.slick {
  opacity: 1 !important;
  visibility: visible !important;
}

.slick:not(.slick-initialized) {
  display: flex !important;
  flex-wrap: wrap;
  height: auto !important;
}

.slick:not(.slick-initialized) > * {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.g5plus-posts .slick:not(.slick-initialized) > article {
  width: 50%;
  padding: 0 15px;
}

.widget-posts .slick:not(.slick-initialized) > article,
.partner-carousel .slick:not(.slick-initialized) > * {
  width: 100%;
}

.portfolio-shortcode .portfolio-item-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  height: auto !important;
  min-height: 0 !important;
}

.portfolio-shortcode .portfolio-item {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.g5plus-testimonials .fotorama {
  min-height: 240px;
}

.g5plus-testimonials .fotorama > .testimonial-item:first-child {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.wpb_animate_when_almost_visible {
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 767px) {
  .portfolio-shortcode .portfolio-item {
    width: 50% !important;
  }
}

@media (max-width: 480px) {
  .portfolio-shortcode .portfolio-item {
    width: 100% !important;
  }

  .g5plus-posts .slick:not(.slick-initialized) > article {
    width: 100%;
  }
}

/* Gerçek marka renkleriyle üst ve alt sosyal medya düğmeleri. */
.social-profiles a.brand-social {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  color: #fff !important;
}

.social-profiles a.brand-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social-profiles a.brand-social img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.social-profiles a.brand-x { background: #111 !important; }
.social-profiles a.brand-facebook { background: #1877f2 !important; }
.social-profiles a.brand-linkedin { background: #0a66c2 !important; }
.social-profiles a.brand-google { background: #ea4335 !important; }
.social-profiles a.brand-pinterest { background: #e60023 !important; }

.footer-contact-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.footer-contact-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #ffa60a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.main-footer .widget_nav_menu > div > ul > li > a::before {
  content: "›";
  display: inline-grid;
  width: 17px;
  height: 17px;
  margin-right: 7px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 166, 10, .16);
  color: #ffa60a;
  font: 700 15px/1 Arial, sans-serif;
}

/* Haberler alanını eski carousel ölçülerinden bağımsız, dengeli kartlara çevir. */
.vc_row.mg-top-70.mg-bottom-40 {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 30px;
}

.vc_row.mg-top-70.mg-bottom-40::before,
.vc_row.mg-top-70.mg-bottom-40::after {
  display: none !important;
  content: none !important;
}

.vc_row.mg-top-70.mg-bottom-40 > .wpb_column {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}

.g5plus-posts.style-post-default .slick:not(.slick-initialized) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.g5plus-posts.style-post-default .slick:not(.slick-initialized) > article {
  width: auto !important;
  padding: 0 !important;
  border: 1px solid #e3e7ea;
  background: #fff;
}

.g5plus-posts.style-post-default .entry-thumbnail,
.g5plus-posts.style-post-default .entry-thumbnail > a {
  display: block;
  width: 100%;
  height: 210px;
  overflow: hidden;
}

.g5plus-posts.style-post-default .entry-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.g5plus-posts.style-post-default .entry-content-wrap {
  min-height: 220px;
}

.g5plus-posts.style-post-list .slick:not(.slick-initialized) {
  display: block !important;
}

.g5plus-posts.style-post-list article {
  width: 100% !important;
}

.g5plus-posts.style-post-list .entry-thumbnail img {
  width: 120px !important;
  height: 94px !important;
  object-fit: cover;
}

@media (max-width: 991px) {
  .vc_row.mg-top-70.mg-bottom-40 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .g5plus-posts.style-post-default .slick:not(.slick-initialized) {
    grid-template-columns: 1fr;
  }
}

/* Eski carousel yerine sabit, eşit ve ortalanmış haber kartları. */
.fixed-news-section {
  padding: 70px 20px;
  background: #f5f6f7;
}

.fixed-news-inner {
  width: min(1170px, 100%);
  margin: 0 auto;
}

.fixed-news-title {
  margin: 0 0 34px;
  text-align: center;
  color: #1c3044;
  font-size: 30px;
  font-weight: 700;
}

.fixed-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.fixed-news-card {
  display: flex;
  min-width: 0;
  height: 390px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dfe4e8;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 48, 68, .08);
}

.fixed-news-card img {
  display: block;
  width: 100%;
  height: 215px;
  flex: 0 0 215px;
  object-fit: cover;
  object-position: center;
}

.fixed-news-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.fixed-news-content h3 {
  min-height: 48px;
  margin: 0 0 10px;
  color: #172b40;
  font-size: 18px;
  line-height: 1.3;
  text-transform: uppercase;
}

.fixed-news-content p {
  margin: 0;
  color: #7d8996;
  font-size: 14px;
  line-height: 1.6;
}

.fixed-news-content .fixed-news-link {
  margin-top: auto;
  color: #f39a08;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .fixed-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .fixed-news-section { padding: 45px 14px; }
  .fixed-news-grid { grid-template-columns: 1fr; }
  .fixed-news-card { height: 380px; }
}
