/*
Theme Name:  Giáp Phạm
Theme URI:   https://giappham.com
Author:      Giáp Phạm
Author URI:  https://giappham.com
Description: A clean, blank WordPress theme built for Elementor Pro. No sidebar, no bloat — just a pure canvas.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: giappham
Tags:        elementor, blank, clean, one-column
*/

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
    color: inherit;
    text-decoration: none;
}

a:hover { text-decoration: underline; }

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol { list-style: none; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */

#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#content {
    flex: 1 0 auto;
    width: 100%;
}

.site-main {
    width: 100%;
}

/* Full-width for Elementor */
.elementor-section.elementor-section-stretched {
    width: 100% !important;
    left: 0 !important;
}

/* ==========================================================================
   HEADER & FOOTER
   ========================================================================== */

#masthead,
#colophon {
    width: 100%;
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    clip: auto !important;
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   WORDPRESS CORE CLASSES
   ========================================================================== */

.alignnone  { margin: 0.5rem 1rem 0.5rem 0; }
.aligncenter { display: block; margin: 0.5rem auto; }
.alignright  { float: right; margin: 0.5rem 0 0.5rem 1rem; }
.alignleft   { float: left; margin: 0.5rem 1rem 0.5rem 0; }

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: #666; margin-top: 0.25rem; }
.sticky { /* WordPress sticky post — style as needed */ }
.bypostauthor { /* Style if needed */ }
