
/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, #f8faff 0%, #e8f4fd 100%) !important;
    padding: 60px 0 !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    margin-top: 70px !important;
    min-height: 200px !important;
}

.hero-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.hero-content {
    text-align: center !important;
    margin-bottom: 0 !important;
}

.hero-title {
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    color: #4A90E2 !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.2 !important;
}

.hero-subtitle {
    font-size: 1.125rem !important;
    color: #666 !important;
    margin-bottom: 0 !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.6 !important;
}

/* Hero Background Shapes */
.hero-bg-shapes {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

.shape {
    position: absolute !important;
    border-radius: 50% !important;
    opacity: 0.1 !important;
}

.shape-1 {
    width: 200px !important;
    height: 200px !important;
    background: linear-gradient(45deg, #4A90E2, #50C878) !important;
    top: 10% !important;
    left: 10% !important;
    animation: float 6s ease-in-out infinite !important;
}

.shape-2 {
    width: 150px !important;
    height: 150px !important;
    background: linear-gradient(45deg, #50C878, #4A90E2) !important;
    top: 60% !important;
    right: 15% !important;
    animation: float 8s ease-in-out infinite reverse !important;
}

.shape-3 {
    width: 100px !important;
    height: 100px !important;
    background: linear-gradient(45deg, #4A90E2, #50C878) !important;
    top: 20% !important;
    right: 30% !important;
    animation: float 7s ease-in-out infinite !important;
}

.shape-4 {
    width: 120px !important;
    height: 120px !important;
    background: linear-gradient(45deg, #50C878, #4A90E2) !important;
    bottom: 30% !important;
    left: 20% !important;
    animation: float 9s ease-in-out infinite reverse !important;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Hero Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0 !important;
        min-height: 150px !important;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 30px 0 !important;
        min-height: 120px !important;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.95rem !important;
    }
}/*
Theme Name: Generic
Theme URI: https://generic.tools/
Author: Web Guy
Author URI: https://webguy.io/
Description: A fully responsive, SEO-ready, schema-ready, social-media-ready, accessibility-ready, translation-ready, and jQuery-ready starter theme for designers and developers, which comes with its own built-in, lightweight CSS grid (https://generic.tools/grid/). This generic/starter/clean/simple/bare/blank/minimalist/example/cheatsheet/white-label/HTML5/CSS3/base/foundation/framework/skeleton/boilerplate/whatever theme was created specifically as a tool to assist you with building client sites virtually from scratch or building your own themes. It's updated to reflect new standards and trends in web design to provide a solid foundation for features that every website is expected to support nowadays, but please post bug reports, suggestions for improvement, or support requests on GitHub (https://github.com/webguyio/generic-theme/issues) if you're getting jammed up. The biggest point of discussion would be the semi-minification of Generic's code. This simplicity, like the omission of comments in the code is intentional. If you prefer formatting, you're welcome to format the code any way you like. If I was able to help you out, consider making a donation (https://webguy.io/donate). Thank you and enjoy!
Tags: accessibility-ready, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready, blog, e-commerce, portfolio
Version: 2.0.2
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: generic

Generic WordPress Theme © 2015-2025 GenericTools
Generic is distributed under the terms of the GNU GPL
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}input[type="search"]{-webkit-appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;transition:all 0.5s ease}

body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;color:#767676;line-height:normal;word-wrap:break-word;background:#222;}

h1, h2, h3, h4, h5, h6{font-weight:bold;margin-bottom:10px!important;}
h2, h3, h4, h5, h6{margin-top:40px;}
h1{font-size:35px;}
h2{font-size:30px;}
h3{font-size:25px;}
h4{font-size:20px;}
h5{font-size:18px;}
h6{font-size:16px;}
p{margin:10px 0;}
.page #content p, .single-post #content p{font-size:18px;line-height:145%;}
* p:last-of-type, #sidebar .widget-container:last-child{margin-bottom:0;}
a{color:#007acc;}
a:hover, a:focus{text-decoration:none;}
strong{font-weight:bold;}
em{font-style:italic;}
pre{overflow-x:auto;white-space:pre-wrap}
pre, code{font-family:'courier new',courier,serif}
hr{height:1px;border:0;margin:30px 0;background:#ccc}
blockquote{padding:15px;border-left:4px solid #ccc;margin:30px 0}
blockquote p:first-of-type{margin-top:0}
.entry-content ul, .widget-container ul, .comment-body ul, .entry-content ol, .widget-container ol, .comment-body ol{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;margin:30px 0 30px 60px}
.entry-content ul ul, .widget-container ul ul, .comment-body ul ul, .entry-content ol ol, .widget-container ol ol, .comment-body ol ol, .entry-content ul ol, .widget-container ul ol, .comment-body ul ol, .entry-content ol ul, .widget-container ol ul, .comment-body ol ul{margin-top:0;margin-bottom:0}
.entry-content ol, .widget-container ol, .comment-body ol{list-style:decimal outside;list-style-type:decimal-leading-zero;margin-left:70px}
.entry-content ul li, .widget-container ul li, .comment-body ul li{list-style-type:'— '}
.entry-content li, .widget-container li, .comment-body li{line-height:125%;margin:20px 0}
input, textarea{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;padding:15px;border:0;border-bottom:1px solid transparent;outline:0;margin-top:10px;background:#f6f6f6}
input:focus, textarea:focus{border-bottom:1px solid #007acc}
input[type="submit"], button, .button{display:inline-block;font-family:georgia,serif;font-size:18px;color:#fff;text-align:center;text-decoration:none;padding:15px 25px;border:0;background:#007acc;cursor:pointer}
input[type="submit"]:hover, input[type="submit"]:focus, button:hover, button:focus, .button:hover, .button:focus{opacity:0.8}
a img, input[type="image"], iframe{border:0}
a img:hover, a:focus img, a svg:hover, a:focus svg{opacity:0.8}
img, img[src$=".svg"], svg{display:inline-block;line-height:normal;vertical-align:middle}
img, video, audio, table, select, textarea{max-width:100% !important;height:auto}
table{width:100%;margin:30px 0}

#wrapper{display:flex;flex-direction:column;max-width:100%;min-height:100vh;margin:0 auto}
#header, #container, #footer{padding:5%}
#branding{float:left}
#logo{max-height:100%}
#container{flex:1;background:#fff}
#content{width:75%;padding-right:5%;float:left}
#content.full-width{width:100%;padding-right:0;float:none}
#sidebar{width:25%;float:right}
#footer{clear:both}

#menu{margin-top:10px;float:right}
#menu div:first-of-type{float:left}
#menu ul{font-size:0}
#menu ul, #menu li, #menu a{position:relative;display:inline;list-style:none;margin:0;padding:0}
#menu li.menu-item-has-children > a:after, #menu li.page_item_has_children > a:after{font-family:serif;content:' ▾';line-height:0}
#menu li.current-menu-item a, #menu li.current_page_parent a{}
#menu a{display:inline-block;font-size:18px;color:#fff;text-align:right;text-decoration:none;line-height:33px;padding-bottom:10px;margin-top:-1px;margin-right:25px}
#menu a:hover, #menu a:focus{color:#767676;text-decoration:none}
#menu ul.sub-menu, #menu ul.children{position:absolute;display:block;top:100%;left:-9999px;margin-top:20px;transition:unset;z-index:1000}
#menu ul.sub-menu a, #menu ul.children a{width:200px;font-size:14px;color:#333;text-align:left;line-height:20px;padding:15px;border:1px solid #eee;background:#fff}
#menu ul.sub-menu a:hover, #menu ul.sub-menu a:focus, #menu ul.children a:hover, #menu ul.children a:focus{color:#767676;background:#f7f7f7}
#menu li.menu-item-has-children a:hover + ul.sub-menu, #menu li.menu-item-has-children a:focus + ul.sub-menu, #menu li.menu-item-has-children a + ul.sub-menu:hover, #menu li.menu-item-has-children a + ul.sub-menu:focus-within, #menu li.page_item_has_children a:hover + ul.children, #menu li.page_item_has_children a:focus + ul.children, #menu li.page_item_has_children a + ul.children:hover, #menu li.page_item_has_children a + ul.children:focus-within{left:0}
#menu .menu-toggle{display:none;color:#fff;text-align:center;padding:0;border:0;margin:0;background:none;transition:unset}
#menu .menu-toggle:hover, #menu .menu-toggle:focus{color:#007acc}
#menu .menu-icon{font-size:50px}

#search{float:right}
#search .search-field{width:36px;height:36px;color:transparent;padding:10px;border-color:transparent;margin-top:0;background-color:#transparent;background-image:url(images/find-light.png);cursor:pointer}
#search .search-field:focus{width:200px;color:#fff;border-color:#007acc;cursor:text}
.widget-container .search-field{width:100%}
.error404 .entry-content .search-field, .search .entry-content .search-field{width:200px;margin-top:30px}
.error404 .entry-content .search-field, .search .entry-content .search-field, .widget-container .search-field{background-color:#f6f6f6}
.search-field{background:url(images/find.png) no-repeat 98% center / 24px auto}

#site-title h1, #site-title a{display:inline;font-size:40px;font-weight:normal;color:#fff;text-decoration:none;margin-bottom:0}
#site-description, #copyright, #copyright a{color:#8a8a8a}
.single h1.entry-title a{color:#767676;text-decoration:none}
h2.entry-title, h3.widget-title{margin-top:0}
#commentform label{display:block}
#commentform #comment{width:100%;max-width:400px !important;height:auto}
#comments .comment-author{line-height:14px}
#comments .comment-author img{margin-right:5px;float:left}
#comments .comment{margin:20px 10px}
#comments .comment-body{padding:15px}
#comments .odd > .comment-body{background:#f6f6f6}
#comments .comment-body > p{font-size:16px;margin:15px 0 0}
#copyright{text-align:center}
.entry-meta, .entry-footer, .archive-meta{margin:30px 0}
.entry-footer{clear:both}
.entry-meta, .entry-meta a, .entry-footer, .entry-footer a, .comment-meta, .comment-meta a, .comment-author, .comment-author a{font-size:14px;color:#767676}

.sticky{padding-bottom:60px;border-bottom:4px solid #ccc}
.bypostauthor{}
.post, .widget-container, .search article{margin-bottom:60px}
.post:last-of-type{margin-bottom:0}
.wp-caption{width:auto !important}
.wp-caption.aligncenter, .wp-caption-text, .gallery-caption{text-align:center}
.wp-block-gallery ul, .wp-block-gallery ul li, .wp-block-gallery ul li:before{content:'';margin:0}
.wp-post-image{display:block;margin-bottom:30px}
.entry-attachment img{display:block;margin:60px auto 30px}
.attachment .entry-caption{text-align:center}
.alignleft{margin:0 30px 30px 0;float:left}
.alignright{margin:0 0 30px 30px;float:right}
.aligncenter{display:block;margin:30px auto;clear:both}
#content p.wp-block-cover-text{color:#fff}
.nav-links{margin-top:30px}
.nav-links a, #nav-above a{text-decoration:none}
#nav-above a{display:block;font-family:tahoma,sans-serif;font-size:50px;color:#767676;line-height:0;margin:30px 0 15px}
.nav-previous{text-align:left;float:left}
.nav-next{text-align:right;float:right}

.note{display:block;font-size:14px;padding:20px;margin:30px 0}
.icon{display:inline-block;width:32px;height:32px;line-height:normal;vertical-align:middle;mask-size:cover;background-color:currentColor}
.symbol{font-family:"Times","Times New Roman","serif","sans-serif",system-ui,-apple-system,BlinkMacSystemFont,"Avenir Next","Avenir","Segoe UI","Lucida Grande","Helvetica Neue","Helvetica","Fira Sans","Roboto","Noto","Droid Sans","Cantarell","Oxygen","Ubuntu","Franklin Gothic Medium","Century Gothic","Liberation Sans",sans-serif,"EmojiSymbols"}

.round{border-radius:100px}
.circle{border-radius:50%}

.blue, .blue *, .blue-dark, .blue-dark *, .green, .green *, .green-dark, .green-dark *, .orange, .orange *, .purple, .purple *, .red, .red *, .black, .black *{color:#fff}
.white, .white *, .yellow, .yellow *{color:#000}
.white{background-color:#fff !important}
.blue{background-color:#007acc !important}
.blue-dark{background-color:#1c78b5 !important}
.green{background-color:#91da29 !important}
.green-dark{background-color:#5d8c1a !important}
.orange{background-color:#f98733 !important}
.purple{background-color:#bb6cf8 !important}
.red{background-color:#ef645d !important}
.yellow{background-color:#f8f658 !important}
.black{background-color:#4a4a45 !important}
.lighter{background-color:rgba(255,255,255,0.05)}
.darker{background-color:rgba(0,0,0,0.05)}
.overlay:before{position:fixed;top:0;left:0;width:100%;height:100%;content:'';background:rgba(0,0,0,0.5);z-index:0}

.layer{width:100%;padding:5%}
.layer-inner{max-width:800px;margin:0 auto}

.box, .box-2, .box-3, .box-4, .box-5, .box-6, .box-1-3, .box-2-3{display:inline-block;width:100%;padding:5%;vertical-align:top;float:left}
.box-2{width:50%}
.box-3, .box-1-3{width:33.3333333%}
.box-4{width:25%}
.box-5{width:20%}
.box-6{width:16.6666667%}
.box-2-3{width:66.6666666%}

.left{text-align:left}
.center{text-align:center}
.right{text-align:right}
.float-left{float:left}
.float-right{float:right}
.clear{clear:both}
.clear-left{clear:left}
.clear-right{clear:right}
.clear-float:after, #header:after, #container:after, .boxes:after{display:table;content:'';clear:both}
.offset{padding-top:100px;margin-top:-100px}
.spacer{display:inline-block;width:25px}
.mobile, .desktop{display:none}

@media(max-width:1024px){.box-5, .box-6{width:25%}.boxes .box-5:nth-child(5){width:100%}.boxes .box-6:nth-child(5), .boxes .box-6:nth-child(6){width:50%}}
@media(min-width:769px){#logo-container{display:block;height:35px;margin-bottom:10px}.desktop{display:block}}
@media(max-width:768px){#header, #footer{text-align:center}#content, #sidebar{width:100%;padding:0}#branding, #menu, #menu div:first-of-type, #search{float:none}#search{margin-top:20px}#search .search-field{width:100%;color:#fff;border-color:#8a8a8a;cursor:text}#search .search-field:focus{width:100%}#menu.toggled{width:100%;height:100%;bottom:0;overflow-x:hidden;overflow-y:auto;z-index:1000}#menu .menu-toggle{display:inline-block}#menu ul{display:none}#menu.toggled ul, #menu.toggled ul.sub-menu, #menu.toggled ul.children{display:block;position:relative;top:0;left:0;padding:0 0 10px 0;margin:0}#menu.toggled ul.sub-menu, #menu.toggled ul.children{padding-bottom:0}#menu.toggled a, #menu.toggled ul.sub-menu a, #menu.toggled ul.children a{display:inline-block;width:100%;font-size:18px;color:#fff;text-align:center;line-height:20px;padding:15px 0 5px;border:0;margin:0;background:none}#menu.toggled ul.sub-menu a, #menu.toggled ul.children a{color:#ccc}.box-4, .box-5, .box-6{width:50%}.mobile{display:block}}
@media(max-width:767px){.single .nav-links .nav-previous, .single .nav-links .nav-next{float:none}.box-3{width:50%}.boxes .box-3:nth-child(3){width:100%}}
@media(max-width:576px){#header, #container, #footer, .layer{padding:10%}.wp-caption, input, textarea, .button{width:100% !important}input[type="checkbox"], input[type="radio"]{width:auto !important}.box-2, .box-3, .box-4, .box-5, .box-6, .boxes .box-6:nth-child(5), .boxes .box-6:nth-child(6), .box-2-3, .box-1-3{width:100%}.spacer{display:block;width:100%;height:30px}}
@media(prefers-color-scheme:light){body, #container{background:#fff}#header{background:#111}}
@media(prefers-color-scheme:dark){body, #container{background:#111}}
@media print{*{color:#000 !important;background:#fff !important}body{padding:50px !important;margin:0 !important}#content{display:block !important;padding:0 !important;margin:0 !important}#header, #sidebar, #footer, #comments, .entry-footer, .navigation, .share, .video-wrap, iframe, img{display:none !important}}

.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}
.looper{display:none}
.search-submit{display:none !important}
/* ===== New Design Styles - GAIL ===== */

/* Override base styles for new design */
body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: #4A90E2;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #4A90E2;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.btn-outline {
    background: transparent;
    color: #4A90E2;
    border: 2px solid #4A90E2;
}

.btn-outline:hover {
    background: #4A90E2;
    color: white;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

/* Footer Styles */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.25rem;
    color: #4A90E2;
    margin-bottom: 1rem;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(74, 144, 226, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4A90E2;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #4A90E2;
    color: white;
}

.footer-subtitle {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4A90E2;
}

.footer-newsletter-text {
    color: #bdc3c7;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    text-align: center;
    color: #bdc3c7;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: block;
    }
}

/* ===== Article Page Styles ===== */

.breadcrumb {
    background: #f8faff;
    padding: 1rem 0;
    border-bottom: 1px solid #e8f4fd;
    margin-top: 70px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.875rem;
    color: #666;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    color: #999;
}

.breadcrumb-list a {
    color: #4A90E2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: #357ABD;
    text-decoration: underline;
}

.breadcrumb-list .active {
    color: #333;
    font-weight: 500;
}

.article-main {
    padding: 2rem 0 0;
    background: white;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

.article-content {
    max-width: none;
}

.article-header {
    margin-bottom: 2rem;
}

.article-taxonomy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-category-tag {
    display: inline-block;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.article-tag {
    display: inline-block !important;
    background: #f0f8ff !important;
    color: #4A90E2 !important;
    padding: 0.35rem 0.85rem !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border: 1px solid #d1e7fd !important;
}

.article-tag:hover {
    background: #4A90E2 !important;
    color: white !important;
    transform: translateY(-1px);
    border-color: #4A90E2 !important;
}

.article-publish-date {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
}

.article-publish-date time {
    color: #666;
    font-weight: 500;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #333;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-lead {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 2rem;
}

.article-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.author-title {
    font-size: 0.825rem;
    color: #666;
}

.article-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #666;
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.article-stats i {
    color: #4A90E2;
}

.like-count-display i {
    color: #e74c3c;
}

.social-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.share-label {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.share-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn.facebook {
    background: #1877F2;
    color: white;
}

.share-btn.linkedin {
    background: #0A66C2;
    color: white;
}

.share-btn.copy {
    background: #50C878;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.article-featured-image {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-featured-image figcaption {
    background: #f8faff;
    padding: 1rem;
    font-size: 0.875rem;
    color: #666;
    text-align: center;
    font-style: italic;
}

.supervision-section {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border: 1px solid #d1e7fd;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.supervision-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #2c5282;
}

.supervision-header i {
    color: #3182ce;
    font-size: 1.1rem;
}

.table-of-contents {
    background: linear-gradient(135deg, #f8faff 0%, #e8f4fd 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #4A90E2;
}

.toc-title {
    font-size: 1.125rem;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc-title i {
    color: #4A90E2;
}

.toc-list {
    list-style: none;
    padding-left: 0;
}

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-list a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.toc-list a:hover {
    color: #357ABD;
    text-decoration: underline;
}

.article-body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #333;
}

.article-body h2 {
    font-size: 1.875rem;
    color: #333;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4A90E2;
}

.article-body h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 2.5rem 0 1rem;
}

.info-box {
    background: #f0f8ff;
    border-left: 4px solid #4A90E2;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-box-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #4A90E2;
    margin-bottom: 0.75rem;
}

.code-example {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.code-header {
    background: #2d3748;
    color: white;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.code-example pre {
    background: #1a202c;
    color: #e2e8f0;
    padding: 1.5rem;
    margin: 0;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.6;
}

.article-footer {
    border-top: 2px solid #eee;
    padding-top: 2rem;
    margin-top: 3rem;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tags-label {
    font-weight: 600;
    color: #333;
}

.tag {
    background: #f0f8ff;
    color: #4A90E2;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #4A90E2;
    color: white;
}

.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.action-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #666;
}

.action-btn:hover {
    border-color: #4A90E2;
    color: #4A90E2;
}

.action-btn.liked {
    border-color: #e74c3c;
    color: #e74c3c;
}

/* Responsive Article Styles */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .article-lead {
        font-size: 1.125rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .article-info {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* ===== Sidebar Styles ===== */

.article-sidebar {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.sidebar-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-size: 1.125rem;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-title i {
    color: #4A90E2;
}

/* Author Card */
.author-card {
    text-align: center;
}

.author-avatar-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-card .author-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.author-bio {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Related Articles */
.related-article-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-article {
    display: flex;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.related-article:hover {
    background: #f8faff;
}

.related-article img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.related-content h4 {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.related-content h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-content h4 a:hover {
    color: #4A90E2;
}

.related-date {
    font-size: 0.825rem;
    color: #666;
}

/* Newsletter Card */
.newsletter-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-newsletter-form input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
}

.sidebar-newsletter-form input:focus {
    border-color: #4A90E2;
}

/* Social Share Footer */
.social-share-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Supervision Section Styles */
.supervisor-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.supervisor-avatar {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.supervisor-details {
    flex: 1;
}

.supervisor-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 0.25rem;
}

.supervisor-title {
    font-size: 0.95rem;
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.supervisor-credentials {
    font-size: 0.875rem;
    color: #4a5568;
    font-weight: 500;
}

.supervision-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #2d3748;
    margin: 0;
}

/* Warning Box */
.warning-box {
    background: #fff8f0;
    border-left: 4px solid #ff8c00;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.warning-box-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #ff8c00;
    margin-bottom: 0.75rem;
}

.warning-box-content {
    color: #555;
    line-height: 1.6;
}

/* Success Box */
.success-box {
    background: #f0fff4;
    border-left: 4px solid #50C878;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.success-box-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #50C878;
    margin-bottom: 0.75rem;
}

.success-box-content {
    color: #555;
    line-height: 1.6;
}

/* Application Grid */
.application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.application-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.application-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #4A90E2;
}

.application-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4A90E2, #50C878);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.application-card h4 {
    font-size: 1.125rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.application-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Checklist */
.checklist {
    background: #f8faff;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #50C878;
}

.checklist h4 {
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checklist h4 i {
    color: #50C878;
}

.checklist-items {
    list-style: none;
    padding: 0;
}

.checklist-items li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: #555;
}

.checklist-items li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #50C878;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Key Takeaways */
.key-takeaways {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.key-takeaways h4 {
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.key-takeaways ul {
    list-style: none;
    padding: 0;
}

.key-takeaways li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
}

.key-takeaways li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
}

/* More Articles Section */
.more-articles {
    padding: 80px 0;
    background: #f8faff;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-card .article-image {
    height: 200px;
    overflow: hidden;
}

.article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card .article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.article-card .article-content {
    padding: 1.5rem;
}

.article-card .article-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.article-card .article-excerpt {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.article-card .article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #999;
    border: none;
    padding: 0;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .article-sidebar {
        position: static;
        max-height: none;
    }
    
    .supervision-section {
        padding: 1rem;
    }
    
    .supervisor-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .supervisor-avatar {
        width: 60px;
        height: 60px;
    }
}

/* ===== Override Existing Generic Theme Styles ===== */

/* Reset wrapper and container styles */
#wrapper {
    background: #ffffff \!important;
    padding: 0 \!important;
}

#container {
    background: #ffffff \!important;
    padding: 0 \!important;
    max-width: 100% \!important;
}

#content {
    width: 100% \!important;
    padding: 0 \!important;
    background: transparent \!important;
}

/* Hide old header elements */
#header {
    display: none \!important;
}

/* Hide old footer if exists */
#footer {
    display: none \!important;
}

/* Override body styles */
body {
    background: #ffffff \!important;
    padding: 0 \!important;
}

/* Force new header to display */
.header {
    display: block \!important;
}

/* Force new footer to display */
.footer {
    display: block \!important;
}

/* Ensure article layout is visible */
.article-main {
    display: block \!important;
}

.article-layout {
    display: grid \!important;
}

/* Reset link colors for new design */
.article-content a,
.article-body a {
    color: #4A90E2 \!important;
}

.article-content a:hover,
.article-body a:hover {
    color: #357ABD \!important;
}

/* Override entry-title styles */
.article-content .entry-title,
.article-title {
    font-size: 2.5rem \!important;
    font-weight: 900 \!important;
    color: #333 \!important;
}

/* Fix breadcrumb visibility */
.breadcrumb {
    display: block \!important;
}

/* Ensure nav menu displays correctly */
.nav-container {
    display: flex \!important;
}

.nav-menu {
    display: flex \!important;
}

/* Reset article meta styles */
.entry-meta {
    padding: 0 \!important;
    margin: 0 \!important;
}

.article-meta {
    display: flex \!important;
}

/* Override sidebar styles */
#sidebar {
    display: block \!important;
}

.article-sidebar {
    display: block \!important;
}

/* Reset image styles */
img {
    max-width: 100%;
    height: auto;
}

/* Fix button styles */
button, .btn {
    cursor: pointer \!important;
}

/* Ensure social share buttons are visible */
.share-btn {
    display: flex \!important;
}

/* Override any conflicting transitions */
* {
    transition: all 0.3s ease \!important;
}

/* ===== Fix Logo and Navigation Issues ===== */

/* Limit custom logo size */
.custom-logo,
.logo-link img {
    max-height: 40px \!important;
    width: auto \!important;
    display: block \!important;
}

.nav-logo {
    display: flex \!important;
    align-items: center \!important;
}

.logo-link {
    display: inline-flex \!important;
    align-items: center \!important;
}

/* Fix navigation menu display */
.nav-menu,
.nav-menu .nav-links,
.nav-menu ul {
    display: flex \!important;
    gap: 2rem \!important;
    list-style: none \!important;
    margin: 0 \!important;
    padding: 0 \!important;
}

.nav-menu li {
    display: inline-block \!important;
    margin: 0 \!important;
}

.nav-menu a {
    color: #333 \!important;
    text-decoration: none \!important;
    font-weight: 500 \!important;
    padding: 0.5rem 0 \!important;
    transition: color 0.3s ease \!important;
}

.nav-menu a:hover {
    color: #4A90E2 \!important;
}

/* Fix header positioning */
.header {
    position: fixed \!important;
    top: 0 \!important;
    left: 0 \!important;
    right: 0 \!important;
    z-index: 1000 \!important;
    background: rgba(255, 255, 255, 0.95) \!important;
    backdrop-filter: blur(10px) \!important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) \!important;
}

/* Add padding to body to account for fixed header */
body {
    padding-top: 0 \!important;
}

/* Ensure main content is below header */
.article-main,
#content {
    margin-top: 0 \!important;
}

/* Fix breadcrumb position */
.breadcrumb {
    margin-top: 70px \!important;
    display: block \!important;
    background: #f8faff \!important;
    padding: 1rem 0 \!important;
    border-bottom: 1px solid #e8f4fd \!important;
}

/* Override old branding styles */
#branding,
#site-title,
#site-description {
    display: none \!important;
}

/* Hide old menu */
#menu {
    display: none \!important;
}

/* Ensure new design elements are visible */
.article-header,
.article-meta,
.article-body,
.article-footer {
    display: block \!important;
}

/* Fix container width */
.container {
    max-width: 1200px \!important;
    margin: 0 auto \!important;
    padding: 0 20px \!important;
}

/* Fix article layout grid */
.article-layout {
    display: grid \!important;
    grid-template-columns: 1fr 300px \!important;
    gap: 3rem \!important;
    align-items: start \!important;
}

@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr \!important;
    }
}

/* Reset typography */
.article-content h1,
.article-content h2,
.article-content h3 {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif \!important;
}

/* Fix mobile navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed \!important;
        top: 70px \!important;
        left: -100% \!important;
        width: 100% \!important;
        height: calc(100vh - 70px) \!important;
        background: rgba(255, 255, 255, 0.95) \!important;
        flex-direction: column \!important;
        padding-top: 2rem \!important;
        transition: left 0.3s ease \!important;
    }
    
    .nav-menu.active {
        left: 0 \!important;
    }
    
    .nav-toggle {
        display: block \!important;
    }
}

/* ===== Force Logo Size - High Priority ===== */

.nav-logo img,
.logo-link img,
.custom-logo-link img,
a[rel="home"] img,
.header img,
.navbar img {
    max-width: 200px \!important;
    max-height: 40px \!important;
    width: auto \!important;
    height: auto \!important;
    object-fit: contain \!important;
}

/* Specific for custom logo */
.custom-logo {
    max-width: 200px \!important;
    max-height: 40px \!important;
    width: auto \!important;
    height: auto \!important;
}

/* Logo container fix */
.nav-logo,
.logo-link {
    max-height: 50px \!important;
    overflow: hidden \!important;
    display: flex \!important;
    align-items: center \!important;
}

/* Logo text styling if no image */
.logo-text {
    font-size: 1.5rem \!important;
    font-weight: 900 \!important;
    color: #4A90E2 \!important;
    margin: 0 \!important;
    line-height: 1 \!important;
}

/* Navigation container height control */
.navbar {
    padding: 1rem 0 \!important;
    max-height: 70px \!important;
}

.nav-container {
    max-height: 70px \!important;
    align-items: center \!important;
}

/* Override any img styles in header */
.header a img {
    max-width: 200px \!important;
    max-height: 40px \!important;
}

/* ===== Fix Layout Issues ===== */

/* Fix navigation alignment */
.nav-menu,
.nav-menu ul,
.nav-links {
    margin: 0 \!important;
    padding: 0 \!important;
    justify-content: flex-start \!important;
}

/* Ensure container is centered */
.nav-container {
    width: 100% \!important;
    max-width: 1200px \!important;
    margin: 0 auto \!important;
    padding: 0 20px \!important;
    display: flex \!important;
    justify-content: space-between \!important;
    align-items: center \!important;
}

/* Fix article main container */
.article-main {
    width: 100% \!important;
    max-width: 100% \!important;
    margin: 0 \!important;
    padding: 2rem 0 \!important;
}

.article-main .container {
    width: 100% \!important;
    max-width: 1200px \!important;
    margin: 0 auto \!important;
    padding: 0 20px \!important;
}

/* Fix article layout grid */
.article-layout {
    display: grid \!important;
    grid-template-columns: 1fr 300px \!important;
    gap: 3rem \!important;
    width: 100% \!important;
    max-width: 100% \!important;
}

/* Fix article content width */
.article-content {
    width: 100% \!important;
    max-width: 100% \!important;
    min-width: 0 \!important;
}

/* Article body headings */
.article-body h2,
.entry-content h2 {
    font-size: 1.875rem \!important;
    color: #333 \!important;
    margin: 3rem 0 1.5rem \!important;
    padding-bottom: 0.5rem \!important;
    border-bottom: 2px solid #4A90E2 \!important;
    font-weight: 700 \!important;
    line-height: 1.3 \!important;
}

.article-body h3,
.entry-content h3 {
    font-size: 1.5rem \!important;
    color: #333 \!important;
    margin: 2.5rem 0 1rem \!important;
    font-weight: 700 \!important;
    line-height: 1.3 \!important;
    position: relative \!important;
    padding-left: 1rem \!important;
}

.article-body h3::before,
.entry-content h3::before {
    content: '' \!important;
    position: absolute \!important;
    left: 0 \!important;
    top: 50% \!important;
    transform: translateY(-50%) \!important;
    width: 4px \!important;
    height: 1.2em \!important;
    background: linear-gradient(135deg, #4A90E2, #50C878) \!important;
    border-radius: 2px \!important;
}

.article-body h4,
.entry-content h4 {
    font-size: 1.25rem \!important;
    color: #333 \!important;
    margin: 2rem 0 0.75rem \!important;
    font-weight: 700 \!important;
    line-height: 1.4 \!important;
}

/* Fix sidebar positioning */
.article-sidebar {
    width: 300px \!important;
    max-width: 300px \!important;
    position: sticky \!important;
    top: 90px \!important;
}

/* Sidebar card titles */
.sidebar-card h3,
.sidebar-title {
    font-size: 1.125rem \!important;
    color: #333 \!important;
    margin-bottom: 1rem \!important;
    font-weight: 600 \!important;
    display: flex \!important;
    align-items: center \!important;
    gap: 0.5rem \!important;
}

/* Override wrapper and container styles completely */
#wrapper {
    width: 100% \!important;
    max-width: 100% \!important;
    margin: 0 \!important;
    padding: 0 \!important;
}

#container {
    width: 100% \!important;
    max-width: 100% \!important;
    margin: 0 \!important;
    padding: 0 \!important;
}

#content {
    width: 100% \!important;
    max-width: 100% \!important;
    margin: 0 \!important;
    padding: 0 \!important;
    float: none \!important;
}

/* Remove any float or width restrictions */
article {
    float: none \!important;
    width: 100% \!important;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr \!important;
    }
    
    .article-sidebar {
        width: 100% \!important;
        max-width: 100% \!important;
        position: static \!important;
    }
}

/* Additional heading styles for visual hierarchy */
.article-body h2 + h3,
.entry-content h2 + h3 {
    margin-top: 1.5rem \!important;
}

.article-body p,
.entry-content p {
    margin-bottom: 1.5rem \!important;
    line-height: 1.8 \!important;
}

/* Fix category tag at top */
.article-category-tag {
    display: inline-block \!important;
    background: linear-gradient(135deg, #4A90E2, #357ABD) \!important;
    color: white \!important;
    padding: 0.5rem 1rem \!important;
    border-radius: 20px \!important;
    font-size: 0.875rem \!important;
    font-weight: 500 \!important;
    margin-bottom: 1rem \!important;
}

/* ===== HEADER & NAVIGATION OVERRIDE ===== */
/* Override old generic header styles */
#header {
    display: none !important;
}

#menu {
    display: none !important;
}

/* Override generic wrapper and container */
#wrapper {
    display: block !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
}

#container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
}

#content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

/* Container fix - center content properly */
.article-main .container,
.breadcrumb .container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    width: 100% !important;
}

/* Article layout - ensure proper grid */
.article-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: 4rem !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Article content - left column */
.article-content {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
}

/* Article body readability */
.article-body,
.entry-content {
    font-size: 1.0625rem !important;
    line-height: 1.8 !important;
    color: #333 !important;
}

.article-body p,
.entry-content p {
    margin-bottom: 1.5rem !important;
    line-height: 1.8 !important;
}

/* Article main area */
.article-main {
    padding: 2rem 0 0 !important;
    background: white !important;
}

/* New Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
}

.navbar {
    padding: 1rem 0 !important;
}

.nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
}

.nav-logo {
    display: flex !important;
    align-items: center !important;
}

.logo-link {
    text-decoration: none !important;
}

.logo-text {
    font-size: 1.5rem !important;
    font-weight: 900 !important;
    color: #4A90E2 !important;
    margin: 0 !important;
}

/* Navigation Menu - Reset ul/li and make horizontal */
.nav-menu {
    display: flex !important;
    gap: 2rem !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-menu ul {
    display: flex !important;
    gap: 2rem !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-menu li {
    display: inline-block !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-menu li::before {
    content: none !important;
    margin: 0 !important;
}

.nav-menu a,
.nav-link {
    color: #333 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
    display: inline-block !important;
    padding: 0 !important;
}

.nav-menu a:hover,
.nav-link:hover {
    color: #4A90E2 !important;
}

.nav-toggle {
    display: none !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    color: #333 !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: #f8faff !important;
    padding: 1rem 0 !important;
    border-bottom: 1px solid #e8f4fd !important;
    margin-top: 70px !important;
}

.breadcrumb .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.breadcrumb-list {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    list-style: none !important;
    font-size: 0.875rem !important;
    color: #666 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.breadcrumb-list li {
    display: flex !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.breadcrumb-list li::before {
    content: none !important;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>' !important;
    margin-left: 0.5rem !important;
    color: #999 !important;
}

.breadcrumb-list a {
    color: #4A90E2 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.breadcrumb-list a:hover {
    color: #357ABD !important;
    text-decoration: underline !important;
}

.breadcrumb-list .active {
    color: #333 !important;
    font-weight: 500 !important;
}

/* ===== RESPONSIVE HEADER ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed !important;
        top: 70px !important;
        left: -100% !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px) !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding-top: 2rem !important;
        transition: left 0.3s ease !important;
        z-index: 999 !important;
    }

    .nav-menu ul {
        flex-direction: column !important;
        width: 100% !important;
    }

    .nav-menu.active {
        left: 0 !important;
    }

    .nav-toggle {
        display: block !important;
    }

    .breadcrumb-list {
        font-size: 0.8rem !important;
        flex-wrap: wrap !important;
    }
}

/* ===== SIDEBAR STYLES ===== */
/* Article Sidebar */
.article-sidebar {
    position: sticky !important;
    top: 90px !important;
    max-height: calc(100vh - 100px) !important;
    overflow-y: auto !important;
    width: 320px !important;
    max-width: 320px !important;
}

.sidebar-card {
    background: white !important;
    border: 1px solid #eee !important;
    border-radius: 15px !important;
    padding: 1.5rem !important;
    margin-bottom: 2rem !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.sidebar-title {
    font-size: 1.125rem !important;
    color: #333 !important;
    margin-bottom: 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-weight: 600 !important;
}

.sidebar-title i {
    color: #4A90E2 !important;
}

/* Sidebar TOC */
.sidebar-toc ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sidebar-toc li {
    margin-bottom: 0.5rem !important;
    list-style: none !important;
}

.sidebar-toc li::before {
    content: none !important;
    margin: 0 !important;
}

.sidebar-toc a {
    color: #666 !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    transition: color 0.3s ease !important;
    display: block !important;
    padding: 0.25rem 0 !important;
    line-height: 1.5 !important;
}

.sidebar-toc a:hover,
.sidebar-toc a.active {
    color: #4A90E2 !important;
    font-weight: 500 !important;
}

/* Author Card */
.author-card {
    text-align: center !important;
}

.author-avatar-large {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 1rem !important;
    border-radius: 50% !important;
    overflow: hidden !important;
}

.author-avatar-large img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.author-card .author-name {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 0.75rem !important;
}

.author-bio {
    color: #666 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

/* Related Articles */
.related-article-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.related-article {
    display: flex !important;
    gap: 0.75rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    padding: 0.5rem !important;
    border-radius: 8px !important;
    text-decoration: none !important;
}

.related-article:hover {
    background: #f8faff !important;
}

.related-article img {
    width: 80px !important;
    height: 50px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
}

.related-content h4 {
    font-size: 0.95rem !important;
    color: #333 !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.3 !important;
    margin-top: 0 !important;
}

.related-content h4 a {
    color: #333 !important;
    text-decoration: none !important;
}

.related-content h4 a:hover {
    color: #4A90E2 !important;
}

.related-date {
    font-size: 0.825rem !important;
    color: #666 !important;
}

/* ===== Sidebar Search Box ===== */
.search-card .search-form {
    display: flex !important;
    gap: 0.5rem !important;
}

.search-card .search-field {
    flex: 1 !important;
    padding: 0.75rem !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    outline: none !important;
    transition: border-color 0.3s ease !important;
}

.search-card .search-field:focus {
    border-color: #4A90E2 !important;
}

.search-card .search-submit {
    padding: 0.75rem 1.25rem !important;
    background: linear-gradient(135deg, #4A90E2, #357ABD) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.search-card .search-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3) !important;
}

.search-card .search-submit i {
    font-size: 1rem !important;
}

/* Newsletter Card */
.newsletter-card p {
    color: #666 !important;
    font-size: 0.95rem !important;
    margin-bottom: 1rem !important;
}

.sidebar-newsletter-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

.sidebar-newsletter-form input {
    padding: 0.75rem !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    outline: none !important;
}

.sidebar-newsletter-form input:focus {
    border-color: #4A90E2 !important;
}

/* Responsive Sidebar */
@media (max-width: 1024px) {
    .article-main .container,
    .breadcrumb .container {
        max-width: 100% !important;
        padding: 0 30px !important;
    }
    
    .article-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .article-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        position: static !important;
        max-height: none !important;
    }
    
    .toc-card {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .article-main .container,
    .breadcrumb .container {
        padding: 0 20px !important;
    }
    
    .article-layout {
        gap: 1.5rem !important;
    }
}

/* ===== Breadcrumb Alignment ===== */
.breadcrumb {
    background: #f8faff !important;
    padding: 1rem 0 !important;
    border-bottom: 1px solid #e8f4fd !important;
    margin-top: 70px !important;
}

.breadcrumb .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.breadcrumb-list {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    list-style: none !important;
    font-size: 0.875rem !important;
    color: #666 !important;
}

.breadcrumb-list li {
    display: flex !important;
    align-items: center !important;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>' !important;
    margin-left: 0.5rem !important;
    color: #999 !important;
}

.breadcrumb-list a {
    color: #4A90E2 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.breadcrumb-list a:hover {
    color: #357ABD !important;
    text-decoration: underline !important;
}

.breadcrumb-list .active {
    color: #333 !important;
    font-weight: 500 !important;
}

/* ===== Sidebar Related Articles Styling ===== */
.sidebar-card {
    background: white !important;
    padding: 1.5rem !important;
    border-radius: 15px !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08) !important;
    margin-bottom: 1.5rem !important;
}

.sidebar-title {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.sidebar-title i {
    color: #4A90E2 !important;
}

.related-article-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.related-article {
    display: flex !important;
    gap: 0.75rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    padding: 0.5rem !important;
    border-radius: 8px !important;
    text-decoration: none !important;
}

.related-article:hover {
    background: #f8faff !important;
}

.related-article img,
.related-article .related-thumbnail {
    width: 80px !important;
    height: 50px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
}

.related-content h4 {
    font-size: 0.95rem !important;
    color: #333 !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
}

.related-content h4 a {
    color: #333 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.related-content h4 a:hover {
    color: #4A90E2 !important;
}

.related-date {
    font-size: 0.825rem !important;
    color: #666 !important;
}

/* ===== More Articles Section (この記事を読んだ方におすすめ) ===== */
.more-articles {
    padding: 80px 0 !important;
    background: #f8faff !important;
}

.more-articles .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.section-title {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    text-align: center !important;
    margin-bottom: 3rem !important;
}

.articles-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 2rem !important;
}

.article-card {
    background: white !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    display: block !important;
    text-decoration: none !important;
}

.article-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.article-card a {
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
}

.article-card .article-image {
    position: relative !important;
    height: 200px !important;
    overflow: hidden !important;
}

.article-card .article-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.article-card:hover .article-image img {
    transform: scale(1.05) !important;
}

.article-card .article-category {
    position: absolute !important;
    top: 1rem !important;
    left: 1rem !important;
    background: linear-gradient(135deg, #4A90E2, #357ABD) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

.article-card .article-content {
    padding: 1.5rem !important;
}

.article-card .article-title {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.4 !important;
}

.article-card .article-excerpt {
    color: #666 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
}

.article-card .article-meta {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.875rem !important;
    color: #999 !important;
}

.article-card .article-date {
    color: #999 !important;
}

/* ===== Additional Responsive Styles ===== */
@media (max-width: 768px) {
    .more-articles {
        padding: 60px 0 !important;
    }
    
    .section-title {
        font-size: 1.75rem !important;
        margin-bottom: 2rem !important;
    }
    
    .articles-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .breadcrumb-list {
        font-size: 0.8rem !important;
        flex-wrap: wrap !important;
    }
}

@media (max-width: 480px) {
    .more-articles {
        padding: 40px 0 !important;
    }
    
    .section-title {
        font-size: 1.5rem !important;
    }
    
    .article-card .article-title {
        font-size: 1.125rem !important;
    }
    
    .article-card .article-content {
        padding: 1.25rem !important;
    }
}

/* ===== Archive & Category Pages ===== */
.archive-hero {
    background: linear-gradient(135deg, #f8faff 0%, #e8f4fd 100%);
    padding: 100px 0 60px;
    margin-top: 0px;
}

.archive-title {
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    color: #333 !important;
    text-align: center !important;
    margin-bottom: 1rem !important;
}

.archive-description {
    font-size: 1.125rem !important;
    color: #666 !important;
    text-align: center !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

.archive-articles {
    padding: 80px 0 !important;
    background: white !important;
}

.archive-articles .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* Pagination */
.pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-top: 3rem !important;
}

.pagination .nav-links {
    display: flex !important;
    gap: 0.5rem !important;
    align-items: center !important;
}

.pagination a,
.pagination span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 15px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.pagination a {
    background: white !important;
    color: #4A90E2 !important;
    border: 1px solid #e8f4fd !important;
}

.pagination a:hover {
    background: #4A90E2 !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

.pagination .current {
    background: linear-gradient(135deg, #4A90E2, #357ABD) !important;
    color: white !important;
    border: none !important;
}

.pagination .prev,
.pagination .next {
    font-weight: 600 !important;
}

.no-posts {
    text-align: center !important;
    padding: 4rem 2rem !important;
    color: #666 !important;
    font-size: 1.125rem !important;
}

/* ===== Page (Fixed Page) Styles ===== */
/* Pages now use the same 2-column layout as single posts */
.page .article-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 3rem !important;
}

.page .article-content {
    min-width: 0 !important;
}

.page .article-sidebar {
    width: 300px !important;
}

.page .article-body h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin: 3rem 0 1.5rem !important;
}

.page .article-body h3 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 2.5rem 0 1.25rem !important;
}

.page .article-body p {
    margin-bottom: 1.5rem !important;
}

.page .article-body ul,
.page .article-body ol {
    margin: 1.5rem 0 !important;
    padding-left: 2rem !important;
}

.page .article-body li {
    margin-bottom: 0.75rem !important;
}

/* ===== Responsive for Archive & Pages ===== */
@media (max-width: 1024px) {
    .page .article-layout {
        grid-template-columns: 1fr !important;
    }
    
    .page .article-sidebar {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .archive-hero {
        padding: 80px 0 40px !important;
    }
    
    .archive-title {
        font-size: 2rem !important;
    }
    
    .archive-description {
        font-size: 1rem !important;
    }
    
    .archive-articles {
        padding: 60px 0 !important;
    }
}

@media (max-width: 480px) {
    .archive-hero {
        padding: 60px 0 30px !important;
    }
    
    .archive-title {
        font-size: 1.75rem !important;
    }
    
    .pagination a,
    .pagination span {
        min-width: 35px !important;
        height: 35px !important;
        font-size: 0.875rem !important;
    }
}

/* ===== AI Literacy Certificate Card ===== */
.certificate-card {
    background: linear-gradient(135deg, #1e88e5 0%, #43a047 100%) !important;
    color: #fff !important;
    border: none !important;
}

.certificate-card .sidebar-title {
    color: #fff !important;
    border-bottom-color: rgba(255, 255, 255, 0.3) !important;
    font-size: 1.125rem !important;
}

.certificate-card p {
    color: rgba(255, 255, 255, 0.95) !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
    font-size: 0.875rem !important;
}

.certificate-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 1rem 0 !important;
}

.certificate-features li {
    padding: 0.5rem 0 !important;
    color: #fff !important;
    font-size: 0.875rem !important;
    display: flex !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.certificate-features li:last-child {
    border-bottom: none !important;
}

.certificate-features li i {
    margin-right: 0.625rem !important;
    color: #fff59d !important;
    font-size: 1rem !important;
    min-width: 18px !important;
}

.certificate-card .btn {
    background: #fff !important;
    color: #1e88e5 !important;
    border: none !important;
    width: 100% !important;
    margin-top: 1rem !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    padding: 0.625rem 1rem !important;
    transition: all 0.3s ease !important;
}

.certificate-card .btn:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.certificate-card .btn i {
    margin-right: 0.5rem !important;
}

/* ===== WordPress Admin Bar Fixes ===== */
/* Fix admin bar styling and positioning */
#wpadminbar {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

#wpadminbar * {
    box-sizing: border-box !important;
}

#wpadminbar .ab-item,
#wpadminbar a.ab-item,
#wpadminbar>#wp-toolbar span.ab-label,
#wpadminbar>#wp-toolbar span.noticon {
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
}

#wpadminbar .ab-top-menu>li {
    float: left !important;
}

#wpadminbar .ab-submenu {
    position: absolute !important;
    display: none !important;
    background: #32373c !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 200px !important;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2) !important;
}

#wpadminbar .ab-top-menu>li:hover>.ab-submenu {
    display: block !important;
}

#wpadminbar .ab-submenu .ab-item {
    padding: 10px 15px !important;
    height: auto !important;
    line-height: 1.4 !important;
    display: block !important;
    color: #eee !important;
}

#wpadminbar .ab-submenu .ab-item:hover {
    background: #0073aa !important;
    color: #fff !important;
}

/* Adjust header position when admin bar is visible */
.admin-bar .header {
    top: 32px !important;
}

.admin-bar .reading-progress {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    .admin-bar .header {
        top: 46px !important;
    }
    
    .admin-bar .reading-progress {
        top: 46px !important;
    }
}

/* Ensure admin bar is always on top */
#wpadminbar {
    z-index: 99999 !important;
}

.header {
    z-index: 1000 !important;
}

/* ===== Supervision Section (Supervisor Component) ===== */
.supervision-section {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border: 1px solid #d1e7fd;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.supervision-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #2c5282;
}

.supervision-header i {
    color: #3182ce;
    font-size: 1.1rem;
}

.supervision-label {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.supervision-content {
    display: block;
}

.supervisor-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.supervisor-avatar {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.supervisor-details {
    flex: 1;
}

.supervisor-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 0.25rem;
}

.supervisor-title {
    font-size: 0.95rem;
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.supervisor-credentials {
    font-size: 0.875rem;
    color: #4a5568;
    font-weight: 500;
}

.supervision-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #2d3748;
    margin: 0;
    padding-left: 0;
}

/* Responsive for Supervision Section */
@media (max-width: 768px) {
    .supervision-section {
        padding: 1rem;
    }
    
    .supervisor-info {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
        text-align: center;
    }
    
    .supervisor-avatar {
        width: 60px;
        height: 60px;
    }
}
