/*
Theme Name: INT Blog
Author: INT Korean Nha Trang
Version: 1.0
*/

/*
Theme Name: INT Blog
Author: INT Korean Nha Trang
Version: 1.0
*/

/* =========================
   INT BLOG CUSTOM STYLE
========================= */

/* =========================
   INT BLOG CUSTOM STYLE
========================= */

body {
    margin: 0;
   font-family: 'Baloo 2', cursive;
    background: #f8fbff;
    color: #1f2937;
}

a {
    color: inherit;
}

.blog-hero {
    background: linear-gradient(180deg, #eaf4ff 0%, #f8fbff 100%);
    padding: 90px 20px;
    text-align: center;
}

.blog-hero h1 {
    font-size: 46px;
    line-height: 1.2;
    color: #111827;
    margin: 0 0 16px;
    font-weight: 800;
}

.blog-hero p {
    font-size: 18px;
    color: #4b5563;
    margin: 0;
}

.blog-container {
    max-width: 1180px;
    margin: 0 auto;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    padding: 50px 20px;
}

.blog-main {
    min-width: 0;
}

.blog-search {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.blog-search input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    background: #fff;
}

.blog-search input:focus {
    border-color: #0284c7;
}

.blog-search button {
    padding: 14px 24px;
    background: #0284c7;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
}

.blog-search button:hover {
    background: #0369a1;
}

.post-list {
    background: #fff;
    border-radius: 18px;
    padding: 6px 26px;
    border: 1px solid #e5e7eb;
}

.post-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    padding: 26px 0;
    border-bottom: 1px dashed #d1d5db;
}

.post-item:last-child {
    border-bottom: none;
}

.post-thumb {
    display: block;
    text-decoration: none;
}

.post-thumb img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.no-thumb {
    width: 100%;
    height: 170px;
    background: #e0f2fe;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0284c7;
    font-weight: 700;
}

.post-info {
    padding-top: 4px;
}

.post-cat {
    color: #0284c7;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
}

.post-info h2 {
    font-size: 24px;
    line-height: 1.35;
    margin: 0 0 12px;
    font-weight: 800;
}

.post-info h2 a {
    color: #1f2937;
    text-decoration: none;
}

.post-info h2 a:hover {
    color: #0284c7;
}

.post-info p {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.blog-sidebar {
    border-left: 1px solid #e5e7eb;
    padding-left: 24px;
}

.sidebar-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-box h3 {
    margin: 0 0 18px;
    font-size: 20px;
    color: #111827;
}

.sidebar-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-box li {
    margin-bottom: 12px;
}

.sidebar-box a {
    color: #0284c7;
    text-decoration: none;
    font-weight: 600;
}

.sidebar-box a:hover {
    text-decoration: underline;
}

.pagination {
    margin-top: 32px;
}

.pagination .nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #dbeafe;
    background: #fff;
    color: #0284c7;
    text-decoration: none;
}

.pagination .current {
    background: #0284c7;
    color: #fff;
}

/* =========================
   SINGLE POST
========================= */

.single-post-wrap {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.single-post-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 42px;
}

.single-post-box h1 {
    font-size: 42px;
    line-height: 1.25;
    color: #111827;
    margin: 0 0 18px;
}

.single-meta {
    color: #6b7280;
    margin-bottom: 28px;
}

.single-post-box img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.single-content {
    font-size: 18px;
    line-height: 1.85;
    color: #374151;
}

.single-content p {
    margin-bottom: 20px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
    .blog-hero {
        padding: 70px 20px;
    }

    .blog-hero h1 {
        font-size: 36px;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .post-item {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 600px) {
    .blog-search {
        flex-direction: column;
    }

    .post-list {
        padding: 4px 18px;
    }

    .single-post-box {
        padding: 28px 22px;
    }

    .single-post-box h1 {
        font-size: 32px;
    }
}
/* =========================
   HEADER
========================= */

.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo img {
    height: 52px;
    width: auto;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-menu a {
    text-decoration: none;
    color: #111827;
    font-weight: 700;
    font-size: 15px;
}

.main-menu a:hover {
    color: #0284c7;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    background: #0f172a;
    color: #fff;
    margin-top: 80px;
}

.footer-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h3,
.footer-col h4 {
    margin-top: 0;
    margin-bottom: 18px;
}

.footer-col p,
.footer-col li {
    color: #cbd5e1;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-col a:hover {
    color: #38bdf8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 20px;
    color: #94a3b8;
}

@media (max-width: 900px) {

    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    .main-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}
.footer {
  background: #0f172a;
  color: #fff;
  margin-top: 80px;
}

.footer-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1fr 1fr;
  gap: 36px;
}

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 18px;
}

.footer-col h3 {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.footer-col p {
  color: #cbd5e1;
  line-height: 1.75;
  margin: 0 0 12px;
}

.footer-col a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 700;
}

.footer-col a:hover {
  color: #fff;
}

.map-button {
  margin: 18px 0;
}

.map-button a {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 999px;
  background: #3b82f6;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.map-box iframe {
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: 16px;
}

.fb-box {
  background: rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 18px;
}

/* FLOATING SOCIAL BUTTONS */

.social-buttons {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-buttons a {
  width: 150px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f7cff, #3f6df0);
  color: #fff;
  text-decoration: none;
  font-family: 'Baloo 2', sans-serif;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(59, 100, 240, 0.25);
  transition: all 0.25s ease;
}

.social-buttons a:hover {
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .social-buttons {
    right: 16px;
    bottom: 18px;
  }

  .social-buttons a {
    width: 120px;
    height: 58px;
    font-size: 20px;
  }
}
/* =========================
   FOOTER - GIỐNG GITHUB
========================= */

.footer {
  background: #68a7dc;
  color: #ffffff;
  margin-top: 80px;
  padding: 70px 0 60px;
}

.footer-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.footer-logo {
  width: 170px;
  height: auto;
  margin-bottom: 24px;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 24px;
}

.footer-col p {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 14px;
}

.footer-col a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-about p {
  max-width: 330px;
}

.map-button {
  margin: 22px 0 18px;
}

.map-button a {
  display: inline-block;
  background: #ffffff;
  color: #4a90d9;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

.map-box iframe {
  width: 100%;
  height: 210px;
  border: 0;
  border-radius: 12px;
  display: block;
}

.fb-box {
  background: #ffffff;
  border-radius: 10px;
  padding: 22px;
  color: #111827;
  max-width: 260px;
}

.fb-box p {
  color: #111827;
  margin-bottom: 16px;
}

.fb-box a {
  display: inline-block;
  background: #4f7cff;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

/* Xóa style footer cũ nếu còn */
.site-footer,
.footer-bottom {
  display: none !important;
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer {
    padding: 50px 0;
  }
}