/* 기본 스타일 */

.gh-content > .container > section {
  margin-top: 4rem;
}

.gh-content > .container > section > h2 {
  margin-bottom: 1rem;
}

.gh-content > .container > section > h3 {
  margin-top: 2rem;
}

/* 포스트 스타일 */

.post,
.featured-posts {
  margin-bottom: 0;
}

/* quick-links */

.quick-links {
  background-color: #f8f9fa;
  padding: 2rem 0;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 2rem;
}

.quick-links-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.quick-links h3 {
  color: #2c3e50;
  font-size: 2.5rem;
  font-weight: 600;
}

.quick-link-btn {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quick-link-btn:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .quick-links-buttons {
    flex-direction: column;
    align-items: center;
  }

  .quick-link-btn {
    width: 200px;
  }
}

/* address */

#footer_address {
  max-width: 720px;
  width: 100%;
  margin: 0px auto;
  padding: 0 35px;
  background-color: #ffffff;
  text-align: center;
  color: #333;
  overflow: hidden;
}

#footer_address h2 {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 0;
  margin-bottom: 2rem;
}

#footer_address address {
  font-style: normal;
  line-height: 1.9;
  margin-bottom: 30px;
}

#footer_address address p {
  margin: 8px 0;
  font-size: 16px;
  color: #555;
}

#footer_address address p strong {
  color: #1a1a1a;
}

/* 링크 (a) 스타일 */
#footer_address a {
  color: #007aff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

#footer_address a:hover {
  text-decoration: underline;
  color: #0056b3;
}

#footer_address iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 12px;
}

/* recommendations */

.gh-recommendations {
  margin-top: 4rem;
}

.gh-recommendations h2 {
  margin-bottom: 2rem;
  text-align: center;
}

.gh-recommendations .recommendations {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  padding: 0;
  margin: 0;
  list-style-type: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 35px;
}

.gh-recommendations .recommendation {
  flex: 0 0 calc(20% - 20.8px);
  max-width: calc(20% - 20.8px);
}

@media (max-width: 1200px) {
  .gh-recommendations .recommendation {
    flex: 0 0 calc(25% - 19.5px);
    max-width: calc(25% - 19.5px);
  }
}

@media (max-width: 900px) {
  .gh-recommendations .recommendation {
    flex: 0 0 calc(33.333% - 17.33px);
    max-width: calc(33.333% - 17.33px);
  }
}

@media (max-width: 600px) {
  .gh-recommendations .recommendation {
    flex: 0 0 calc(50% - 13px);
    max-width: calc(50% - 13px);
  }
}

@media (max-width: 400px) {
  .gh-recommendations .recommendation {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.gh-recommendations .recommendation:first-child {
  margin-top: 4px;
}

.gh-recommendations .recommendation a {
  display: grid;
  grid-template-columns: 24px auto;
  gap: 4px 12px;
}

.gh-recommendations .recommendation a:hover {
  opacity: 1;
}

.gh-recommendations .recommendation-favicon {
  grid-row: span 2;
  width: 100%;
  border-radius: 4px;
}

.gh-recommendations .recommendation-title {
  margin-top: -2px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.009em;
}

.gh-recommendations .recommendation a:hover .recommendation-title {
  opacity: 0.8;
}

.gh-recommendations .recommendation-url {
  order: 1;
  overflow: hidden;
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--color-secondary-text);
  text-overflow: ellipsis;
}

.gh-recommendations .recommendation-description {
  display: -webkit-box;
  display: none;
  grid-column: 2;
  overflow-y: hidden;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--color-secondary-text);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/*
.gh-recommendations button {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  padding: 0;
  margin-top: 24px;
  font-size: 1.2rem;
  font-weight: 550;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  cursor: pointer;
  background-color: transparent;
  border: 0;
}

.gh-recommendations button svg {
  width: 12px;
  margin-top: -1px;
}

.gh-recommendations button:hover {
  opacity: 0.8;
}
*/
