/* -------------------------------------------------------------------------
   1. Global Styles & Typography
   -------------------------------------------------------------------------- */
body {
  font-family: 'Georgia', 'Times New Roman', 'Malgun Gothic', serif;
  background-color: #fdfdfd;
  color: #111111;
  margin: 0;
  padding: 0;
  line-height: 1.25;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* -------------------------------------------------------------------------
   2. Header Layout (Date / Brand / Nav)
   -------------------------------------------------------------------------- */
.top-date-bar {
  text-align: center;
  font-size: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #dddddd;
  color: #555555;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.brand-header {
  text-align: center;
  padding: 30px 0;
}
.brand-logo-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 46px;
  font-weight: bold;
  letter-spacing: -1px;
}
.brand-logo-title .logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.main-nav {
  border-top: 1px solid #111111;
  border-bottom: 1px solid #111111;
  padding: 10px 0;
  margin-bottom: 25px;
}
.nav-list {
  display: flex;
  justify-content: center;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: bold;
}
.nav-list a:hover {
  text-decoration: underline;
}

/* -------------------------------------------------------------------------
   3. Main Magazine Grid
   -------------------------------------------------------------------------- */
.magazine-grid {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
}
.grid-left-half, .grid-right-half {
  width: 50%;
  flex-shrink: 0;
}

.large-featured-card {
  position: relative;
  height: 480px;
  background-color: #222222;
  overflow: hidden;
}
.large-featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.large-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  padding: 30px;
  color: #ffffff;
}
.tag-badge-large {
  font-size: 12px;
  font-weight: bold;
  background-color: #d32f2f;
  padding: 4px 8px;
  display: inline-block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.title-large {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 10px 0;
  line-height: 1.3;
}
.date-large {
  font-size: 13px;
  color: #cccccc;
}

.grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 227px 227px;
  gap: 25px;
}
.mini-card {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #eeeeee;
}
.mini-card-img-area {
  width: 100%;
  height: 130px;
  overflow: hidden;
  background-color: #eeeeee;
}
.mini-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mini-card-content {
  padding: 10px;
  flex: 1;
}
.tag-mini {
  font-size: 11px;
  font-weight: bold;
  color: #d32f2f;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.title-mini {
  font-size: 14px;
  font-weight: bold;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* -------------------------------------------------------------------------
   4. AdSense Space
   -------------------------------------------------------------------------- */
.adsense-container {
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
  margin: 30px 0;
  text-align: center;
  background-color: #f9f9f9;
}
.ad-label {
  font-size: 11px;
  color: #999999;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

/* -------------------------------------------------------------------------
   5. Latest Articles Section
   -------------------------------------------------------------------------- */
.section-heading {
  font-size: 22px;
  font-weight: bold;
  border-bottom: 2px solid #111111;
  padding-bottom: 8px;
  margin-bottom: 20px;
  margin-top: 20px;
}
.latest-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 50px;
}
.latest-row-card {
  display: flex;
  gap: 25px;
  background: #ffffff;
  padding-bottom: 20px;
  border-bottom: 1px solid #eeeeee;
  align-items: center;
}
.latest-row-card:last-child {
  border-bottom: none;
}
.latest-row-img-area {
  width: 240px;
  height: 150px;
  flex-shrink: 0;
  overflow: hidden;
  background-color: #eeeeee;
}
.latest-row-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.latest-row-content {
  flex: 1;
}
.latest-row-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 10px 0;
  line-height: 1.3;
}
.latest-row-title a:hover {
  text-decoration: underline;
}
.latest-row-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-view-container {
  background: #ffffff;
  padding: 30px;
  border: 1px solid #eeeeee;
  margin-bottom: 50px;
}

/* -------------------------------------------------------------------------
   6. Footer Section
   -------------------------------------------------------------------------- */
/* 폰트 컬러 조정 등 가독성을 가미한 그레이스케일 배색 */
footer {
  background-color: #f0f0f0;
  border-top: 1px solid #dddddd;
  padding: 40px 0;
  color: #333333;
  font-size: 14px;
}
.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-left h2 {
  font-size: 22px;
  margin: 0 0 10px 0;
}
.footer-right {
  display: flex;
  gap: 20px;
  font-weight: bold;
}
.footer-right a:hover {
  text-decoration: underline;
}

/* -------------------------------------------------------------------------
   7. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .magazine-grid { flex-direction: column; }
  .grid-left-half, .grid-right-half { width: 100%; }
  .latest-row-card { flex-direction: column; align-items: flex-start; gap: 15px; }
  .latest-row-img-area { width: 100%; height: 200px; }
  .footer-flex { flex-direction: column; gap: 20px; }
}