/* Wrapper */
.dog-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.dog-section-heading {
  font-size: 36px; /* Desktop */
  font-weight: 700 !important;
  margin-bottom: 20px;
  color: #3b2416;
}

.dog-section-main {
  flex: 1;
}

.dog-main-image {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
}

.dog-section-main img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  display: block;
}

.dog-section .dog-main-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.dog-section .dog-main-title a {
  text-decoration: none;
  color: #3b2416;
}

.dog-section .dog-main-title a:hover {
  color: #0073e6;
}

.dog-main-excerpt {
  font-size: 18px;
  color: #444;
  line-height: 1.4;
  margin-bottom: 12px;
}

.dog-main-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #444;
  line-height: 1;
}

.dog-main-author img.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.dog-main-author .dog-date {
  font-size: 13px;
  color: #777;
}

.dog-section-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dog-side-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 0px 14px;
}

.dog-side-thumb {
  flex-shrink: 0;
  width: 200px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
}

.dog-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dog-side-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-height: 100px;
}

.dog-section .dog-side-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 22px;
}

.dog-section .dog-side-title a {
  text-decoration: none;
  color: #111;
}

.dog-section .dog-side-title a:hover {
  color: #0073e6;
}

.dog-side-meta {
  font-size: 13px;
  color: #555;
  margin-top: auto;
}

.dog-side-meta .dog-date {
  color: #777;
}

.dog-placeholder {
  width: 200px;
  aspect-ratio: 16 / 9;
  background: #ddd;
  border-radius: 12px;
}

.dog-section .dog-main-title a,
.dog-section .dog-side-title a {
  text-decoration: none;
  color: #111;
}

.dog-section .dog-main-title a:hover,
.dog-section .dog-side-title a:hover {
  color: #447074;
  text-decoration: none;
}

.dog-section img {
  transition: transform 0.25s ease-in-out;
}

.dog-section img:hover {
  transform: scale(1.05);
}

/* Tablet */
@media (max-width: 900px) {
  .dog-section {
    flex-direction: column;
    padding: 0;
    gap: 12;
  }

  .dog-section-heading {
    font-size: 32px; /* Tablet */
  }

  .dog-section > .dog-section-heading {
    margin-left: 0;
  }

  .dog-section-side .dog-side-item {
    padding-left: 0;
  }
}

/* Mobil */
@media (max-width: 600px) {
  .dog-section {
    gap: 20px;
    padding: 0;
  }

  .dog-section-heading {
    font-size: 26px; /* Mobil */
  }

  .dog-section > .dog-section-heading {
    margin-left: 0;
  }

  .dog-section-side .dog-side-item {
    flex-direction: row;
    align-items: center;
    padding-left: 0;
  }

  .dog-side-thumb {
    flex-shrink: 0;
    width: 120px;
    aspect-ratio: 1 / 1; 
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
  }

  .dog-side-thumb img {
    flex: 1;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    height: auto;
  }

  .dog-side-text {
    min-height: auto;
  }

  .dog-section .dog-side-title {
    font-size: 16px;
    line-height: 20px;
  }

  .dog-side-meta {
    font-size: 12px;
  }

  .dog-section .dog-main-title {
    font-size: 18px;
  }

  .dog-main-excerpt {
    font-size: 14px;
  }
}
